sadrobot

← Vissza a havi listához · Linux →

CVE-2026-138871 Linux · Linux

9.1 Kritikus

MI-összefoglaló

A Linux kernel nilfs2 fájlrendszerében a nilfs_readdir() nem ellenőrzi az llseek-kel beállított könyvtárpozíciót, így hamis bejegyzésekből akár a folio végén túli, nem kapcsolódó kernelmemória juthat a felhasználói térbe. CVSS 9.1 (kritikus), a javítás alkalmazása javasolt mielőbb.

Hivatalos leírás

In the Linux kernel, the following vulnerability has been resolved: nilfs2: validate directory position after llseek in readdir nilfs_readdir() uses ctx->pos, which userspace can set to an arbitrary value via llseek, as an offset into the directory folio and parses whatever bytes sit there as a directory entry. A position pointing into the middle of an entry -- or at unused bytes of a corrupted image that the page validator never inspected -- makes dir_emit() copy up to 255 (name_len) bytes from a bogus entry, possibly reading past the end of the folio and returning unrelated memory contents to userspace. Snap unaligned positions onto a valid entry boundary by walking the rec_len chain from the chunk start before parsing, as ext2 does in ext2_validate_entry(). [ryusuke: fixed offset wrap-around in nilfs_validate_entry() and conformed AI tag to guidelines]

Megjelent
2026-11-30 14:17 UTC
Módosítva
2026-12-01 06:17 UTC
CVSS
9.1 Kritikus CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
ENISA EUVD
EUVD-2026-138574
Kategória
Operációs rendszer

CVSS-vektor

Támadási útvonal
hálózatról
Bonyolultság
alacsony
Szükséges jogosultság
nem kell
Felhasználói közreműködés
nem kell
Hatókör
változatlan
Bizalmasság
magas
Sértetlenség
nincs
Rendelkezésre állás
magas

Hivatkozások