Skip to main content

Linux Kernel CVE-2026-138871

| EUVDEUVD-2026-138574 CRITICAL
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-hx5v-78q3-66vp
9.1
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Mount or access nilfs2 directory
  2. Delivery
    llseek to unaligned position
  3. Exploit
    readdir parses bogus entry
  4. Execution
    dir_emit reads past folio
  5. Impact
    Leak kernel memory to userspace

Vulnerability Assessment

Exploitation Conditions

Requires a mounted nilfs2 filesystem that the attacker can read: the attacker opens a directory on nilfs2, uses llseek() to place ctx->pos at an arbitrary unaligned offset (or into unvalidated bytes of a corrupted/crafted nilfs2 image), then issues readdir/getdents. Exploitation is strongly LIMITED to deployments that actually use nilfs2 (uncommon), and to actors with local access or the ability to introduce a crafted image (e.g., removable-media auto-mount). It is not reachable over a network despite the AV:N metric, and the primary impact is disclosure of adjacent kernel memory (with possible out-of-bounds-read fault). The complete fix is updating to a fixed kernel version; no separate mitigation is stated beyond not mounting untrusted/corrupted nilfs2 images.

Impact

Signals conflict and must be reconciled before prioritizing. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, base 9.1) implies remote, unauthenticated, network-reachable exploitation, but the description describes a purely local mechanism: userspace sets ctx->pos via llseek() on an open nilfs2 directory, so the attacker must already have local access to a mounted nilfs2 filesystem (or the ability to mount a crafted image). The AV:N and PR:N metrics are therefore inconsistent with the stated trigger - verify with the vendor/NVD, as this reads as a local information-disclosure (out-of-bounds read) issue, not a network-exploitable one. EPSS is 1.38% (73rd percentile), consistent with a kernel bug that has no network exposure and no known exploit. There is no CISA KEV listing and no PoC/exploit reference in the input, so there is no evidence of active exploitation. The vuln.today Decision label is act_now and a vendor patch is available, so the actionable priority is to apply the fixed kernel on systems that actually mount nilfs2 - but the real-world urgency is tempered by the local-only vector and the niche filesystem, making this far lower practical risk than the 9.1/AV:N score suggests for the typical fleet.

Exploit ScenarioDerived

A local user (or a process able to mount an attacker-supplied nilfs2 image, e.g. via an auto-mounting removable device) opens a directory on a nilfs2 volume, seeks with llseek() to an arbitrary unaligned offset inside a directory folio, and calls getdents/readdir. nilfs_readdir() parses the bogus offset as a directory entry and dir_emit() copies up to 255 name_len bytes, reading past the folio and leaking adjacent kernel memory to userspace (or faulting). No public exploit or PoC is referenced for this CVE.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 1.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

Information disclosure in the Linux kernel's nilfs2 filesystem allows a local actor who can open a directory on a mounted nilfs2 volume to set an arbitrary directory position with llseek(), after which readdir() parses an unaligned or unvalidated offset as a directory entry and can copy up to 255 bytes of adjacent kernel memory to userspace, with a possible out-of-bounds read fault. The assessed vector is local (AV:L/PR:L/UI:N) and requires a mounted nilfs2 filesystem the attacker can read, so it is not network-reachable despite NVD's 9.1 AV:N vector; nilfs2 deployments are uncommon. No public exploit has been identified at time of analysis, EPSS is 1.38% (73rd percentile), and vuln.today labels remediation act_now.

RemediationAI

Vendor-released patch: Linux 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1, corresponding to the git.kernel.org stable commits listed in the references. Update to the fixed release for the branch in use; the complete fix is updating the kernel, and no separate mitigation is stated beyond not mounting untrusted or corrupted nilfs2 images. The vuln.today decision label is act_now, while the assessed exposure is limited to systems that actually use nilfs2 and to actors with local access or the ability to introduce a crafted image. References include https://git.kernel.org/stable/c/07f671d13067e68dbc840e46027668293c1c3a80 and https://nvd.nist.gov/vuln/detail/CVE-2026-138871.

Affected VersionsENISA

Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <7bcffd24502d637b348a2e460093a0cabad4554e
Linux patch: 7.4-rc1
Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <fbcbb54a4898984192b16764943af1be262bdb4d
Linux 2.6.30
Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <69cf95f47a68b6920c9192a5ea3fe8c1db0a1070
Linux patch: 7.3.4
Linux patch: 5.10.275
Linux patch: 6.12.117
Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <dc171da15e46871abac4c05b389730883c15f680
Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <07f671d13067e68dbc840e46027668293c1c3a80
Linux patch: 5.15.226
Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <a48632160cdb85adadb4b7c8429d90a9511e7e6b
Linux patch: 0
Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <bdfc5b64f8f606df9c1dc18c2e00200884c8e6f5
Linux patch: 6.18.63
Linux patch: 6.1.193
Linux patch: 6.6.163
Linux 2ba466d74ed74f073257f86e61519cb8f8f46184 <de7f49c12566cc5c7437a2f26c6c754b9d4d5648

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

nilfs2 is a log-structured filesystem in the Linux kernel. Its readdir implementation uses ctx->pos, which userspace controls through llseek(), as an offset into a directory folio and parses the bytes at that offset as a directory entry without first validating that the position lies on a valid entry boundary. An unaligned position, or one pointing into unused or unvalidated bytes of a corrupted or crafted image, can make dir_emit() copy a bogus name_len of up to 255 bytes, reading past the folio and returning unrelated kernel memory to userspace; the same condition can produce an out-of-bounds read fault. The fix adds nilfs_validate_entry(), which walks the rec_len chain from the chunk start to snap positions onto a valid entry boundary, mirroring ext2_validate_entry(). No CWE is assigned in the supplied data. Affected version ranges are given by EUVD as commit 2ba466d74ed74f073257f86e61519cb8f8f46184 through the listed fixed commits; fixed releases include 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, and 7.4-rc1. The supplied CVSS is internally inconsistent: NVD scores AV:N/PR:N/AC:L at 9.1, whereas the assessed vector is AV:L/PR:L/AC:L with C:H/I:N/A:L; the evidence supports local access to a mounted filesystem, not network reachability.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 6.1 MEDIUM

Trigger is a local llseek()+readdir on a mounted nilfs2 directory, so AV:L and PR:L; out-of-bounds read leaks kernel memory (C:H) and may fault (A:L), with no integrity impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
9.1 (CRITICAL)
Patch available
Nov 30, 2026 - 14:19 EUVD
CVE Published
Nov 30, 2026 - 14:17 cve.org
CRITICAL 9.1
CVE Published
Nov 30, 2026 - 14:17 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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]

Executive ViewAI

Why It Matters

A critical information disclosure vulnerability (CVE-2026-138871) in the Linux kernel's nilfs2 filesystem could allow a local attacker to read sensitive kernel memory if they can access a mounted nilfs2 volume. However, nilfs2 is rarely used in enterprise environments, and no public exploit has been identified, so the risk is low for most organizations. Leadership should ensure that any systems using nilfs2 are patched promptly and consider whether nilfs2 is needed at all.

Business Impact: Low
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
1.4%
Top 27% exploitable
Prevalence
Low
nilfs2 is a niche log-structured filesystem rarely mounted despite the ubiquitous kernel
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 1.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Low

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy