Skip to main content

Linux Kernel XFS CVE-2026-99395

| EUVDEUVD-2026-130053 HIGH
2026-11-19 Linux GHSA-x676-f66f-47c4
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Access
    Deliver crafted XFS image to target
  2. Delivery
    Victim mounts the malicious filesystem
  3. Exploit
    Log recovery copies oversized fork region
  4. Execution
    Heap out-of-bounds write in kernel
  5. Impact
    Memory corruption / privilege escalation or crash

Vulnerability Assessment

Exploitation Conditions

Exploitation requires that the system mount a crafted/malicious XFS filesystem image whose on-disk log is dirty, triggering XFS log recovery via xlog_recover_inode_commit_pass2(). The specific precondition is an inode log item carrying a data/attr fork region (the DDATA/DEXT or ADATA/AEXT memcpy paths) whose logged length exceeds the destination fork size; the sibling XFS_ILOG_DBROOT path is already bounded and not affected. Limiting factors: it is NOT remotely reachable (AV:L) and requires user interaction (UI:R) - a victim must mount the attacker-supplied image, so delivery depends on removable media, user-initiated mounts, automount, or container/multi-tenant mount scenarios. The ASSERT guard is absent on production kernels (CONFIG_XFS_DEBUG off), so debug builds are not exposed in the same way. Fixed kernels reject the malformed log item with -EFSCORRUPTED before any copy.

Impact

The signals converge on this being a moderate-priority, not emergency, issue. The CVSS 3.1 vector (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H, base 7.8 HIGH) describes a local attack requiring user interaction, not a remotely-reachable flaw: an attacker cannot trigger it over the network. The mechanism is explicit and credible in the source - xlog_recover_inode_commit_pass2() copies a logged fork region into the inode buffer using the on-log length without bounding it to the destination fork size, and the only guard is an ASSERT that is compiled out on production kernels (CONFIG_XFS_DEBUG off), with xfs_dinode_verify() running only after the copy - so a crafted XFS image with a dirty log yields a heap out-of-bounds write at mount time. The real-world exploitation signals are low-to-moderate and consistent with each other: EPSS is 0.22% (13th percentile), the CVE is NOT on CISA KEV, and no public exploit code or PoC reference is present in the input, so exploitation is 'no public exploit identified at time of analysis.' The vuln.today decision label is 'this_week,' which aligns with patch-promptly rather than drop-everything. The practical risk is gated by the delivery requirement: someone must mount an attacker-supplied/crafted filesystem image (removable media, a user-mounted image, or an automounted volume). That makes it meaningful in multi-tenant, container, or kiosk/automount scenarios but not a mass-exploitable network bug. No conflicting signals are present; the chief uncertainty is that the four git.kernel.org commit references are the only authoritative sources and no NVD-hosted CVSS/CWE enrichment (CWE listed N/A) accompanies them.

Exploit ScenarioDerived

An attacker crafts a malicious XFS filesystem image whose dirty log contains an inode log item with an oversized data/attr fork region. When a victim mounts this image (e.g., removable media, a downloaded disk image, or an automounted/container volume), log recovery runs and memcpy copies the attacker-controlled length past the inode fork bounds, producing a heap out-of-bounds write that can corrupt kernel memory and potentially lead to code execution or a crash. No public exploit code or PoC reference is present in the supplied data, and the attack requires local delivery of the image plus the mount action (UI:R).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 22, 2026

Heap out-of-bounds write in the Linux kernel's XFS log recovery path (CVE-2026-99395) affects kernels from 5.8 onward, where xlog_recover_inode_commit_pass2() copies a logged data or attr fork region into the on-disk inode using the on-log length without checking it against the destination fork capacity. The only guard is an ASSERT that compiles away on production kernels (CONFIG_XFS_DEBUG off), and xfs_dinode_verify() runs only after the memcpy, so mounting a crafted XFS image with a dirty log can corrupt kernel heap memory. Exploitation is not remote: it requires a victim to mount an attacker-supplied filesystem image (AV:L/UI:R per the assessed vector), and no public exploit code or CISA KEV entry is associated with the issue; EPSS is low at roughly 0.22 percent. Vendor patches are available and fixed kernels reject the malformed log item with -EFSCORRUPTED before any copy occurs.

RemediationAI

Vendor-released patches are available: update to Linux 6.12.117, 6.18.61, 7.3.2 or 7.4-rc1 (or later), which incorporate upstream commits 9232301894a06e664d8de2da97175cf98419bd16, af559d87fdd921b90c86125f78d8b97d754432dd, f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe and e2768e65a5f2f942c831e3df3b06ad7332d423e6 as published at git.kernel.org/stable and listed via https://nvd.nist.gov/vuln/detail/CVE-2026-99395; distribution kernels need the equivalent backport from their vendor. Fixed kernels validate the logged fork region against the fork size during recovery and reject an oversized item with -EFSCORRUPTED before any memcpy, so a patched system refuses to mount the malformed image instead of writing out of bounds. Because exploitation depends entirely on mounting an untrusted XFS image with a dirty log, restrict mounting of attacker-supplied filesystems until patched: avoid auto-mounting removable media or loopback/container images from untrusted sources, and require privileged, user-initiated mounts of XFS images only from trusted origins. Building with CONFIG_XFS_DEBUG makes the ASSERT active and would catch the malformed length, but debug kernels carry substantial overhead and are not a production substitute for the patch. The issue is rated this_week priority with low EPSS (about 0.22 percent) and no KEV listing, so remediation should be scheduled in the normal patch window rather than treated as an emergency.

Affected VersionsENISA

Linux patch: 6.18.61
Linux patch: 7.4-rc1
Linux 5.8
Linux patch: 6.12.117
Linux 658fa68b6f34f73c7e4023489accd34c1db91cb1 <9232301894a06e664d8de2da97175cf98419bd16
Linux 658fa68b6f34f73c7e4023489accd34c1db91cb1 <af559d87fdd921b90c86125f78d8b97d754432dd
Linux 658fa68b6f34f73c7e4023489accd34c1db91cb1 <e2768e65a5f2f942c831e3df3b06ad7332d423e6
Linux patch: 7.3.2
Linux 658fa68b6f34f73c7e4023489accd34c1db91cb1 <f2cc5001ffcc1d8e5e16607ce4b6920ea30c2cfe
Linux patch: 0

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

XFS is a journaling filesystem whose on-disk log is replayed at mount time by the log recovery code. During recovery, xlog_recover_inode_commit_pass2() rebuilds inodes from logged items, including data-fork and attr-fork regions. For the DDATA/DEXT and ADATA/AEXT variants, the function took the length from the log item buffer (item->ri_buf[2].iov_len) and used it directly in a memcpy into XFS_DFORK_DPTR(dip) without comparing it to the destination fork size; only an ASSERT protected the copy, and ASSERTs are no-ops when CONFIG_XFS_DEBUG is off, which is the norm for production kernels. Because xfs_dinode_verify() executes after the fork data is copied, a malicious on-disk dirty log can drive a heap out-of-bounds write at mount time. The XFS_ILOG_DBROOT sibling path already passed XFS_DFORK_DSIZE as a bound, showing the intended pattern. The fix bounds each logged fork region against the destination fork size before any memcpy and rejects the log item with -EFSCORRUPTED when the region does not fit, moving validation ahead of the copy. The root cause class is a missing length/size validation leading to a buffer overflow (CWE not supplied in the feed).

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 (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Triggered only by mounting a crafted local image (AV:L, UI:R); no prior privileges needed beyond the mount action (PR:N); heap OOB write in kernel yields full C/I/A impact.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 6.7 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
Nov 22, 2026 - 11:22 NVD
7.8 (HIGH)
Patch available
Nov 19, 2026 - 16:18 EUVD
CVE Published
Nov 19, 2026 - 14:23 cve.org
HIGH 7.8
CVE Published
Nov 19, 2026 - 14:23 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

xfs: bound inode fork length against the fork size during log recovery

xlog_recover_inode_commit_pass2() copies an inode log item's data/attr fork region into the inode buffer using the on-log region length without bounding it against the fork capacity, e.g.:

len = item->ri_buf[2].iov_len; memcpy(XFS_DFORK_DPTR(dip), src, len);

The only guard is an ASSERT, which is a no-op on production kernels (CONFIG_XFS_DEBUG off), and xfs_dinode_verify() runs only after the copy. A crafted image with a dirty log can therefore drive a heap out-of-bounds write at mount time. The XFS_ILOG_DBROOT sibling already passes XFS_DFORK_DSIZE as a bound; the DDATA/DEXT and ADATA/AEXT memcpy paths did not.

Bound each logged fork region against the destination fork size before copying it, and reject the log item with -EFSCORRUPTED when it does not fit. Because the recovered inode is only verified after the fork data has been copied in, the checks are done up front, before any memcpy into the on-disk inode.

Executive ViewAI

Why It Matters

A heap out-of-bounds write in the Linux kernel's XFS filesystem affects kernels from version 5.8 onward, enabling local privilege escalation when a user mounts a maliciously crafted disk image. While exploitation requires user action and no public exploit code is currently identified, successful attacks can grant attackers kernel-level control on affected systems, undermining endpoint and server security.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 87% exploitable
Prevalence
Ubiquitous
Linux kernel; XFS is a default filesystem across major enterprise distributions
Data Quality
5 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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

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