CVE Feed
9.1 Critical

In the Linux kernel, the following vulnerability has been resolved: nilfs2: validate directory position after llseek in readdir…

CVE-2026-138871

In the Linux kernel, the following vulnerability has been resolved: nilfs2: validate directory position after llseek in readdir nilfsreaddir() 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 diremit() copy up to 255 (namelen) 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 reclen chain from the chunk start before parsing, as ext2 does in ext2validateentry(). [ryusuke: fixed offset wrap-around in nilfsvalidateentry() and conformed AI tag to guidelines]

Assessment

CVSS
9.1 (v3.1)
Severity
Critical
EPSS
0% chance of exploitation in the next 30 days
Known exploited
Not listed in CISA KEV
Exploit availability
Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
Published
30 November 2026
Last updated
1 December 2026
Affected
Linux · Linux
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67

CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

At the source

References

Community proofs of concept

No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.

Submit a proof of concept
Before you submit *

Query this programmatically

Agents can read this through the MCP endpoint, or over HTTP:

curl https://cve.zerocrew.in/api/cve/CVE-2026-138871