CVE-2026-139506 ocfs2: reject inconsistent xattr bucket during defrag

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139506?

CVE-2026-139506 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

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

ocfs2: reject inconsistent xattr bucket during defrag

ocfs2_defrag_xattr_bucket() has two mlog_bug_on_msg() checks that assume the name/value pairs in a bucket are disjoint and that xh_free_start is not below the compacted region.

ocfs2_validate_xattr_bucket() only checks each entry in isolation, so a corrupt bucket holding overlapping entries, or one with an inflated xh_free_start, passes validation and then hits BUG() in defrag when a setxattr triggers it.

Defrag works on a linear copy of the bucket and does not touch the real blocks before the copy back, so the checks can return an error instead of calling BUG().

Which versions are affected by CVE-2026-139506?

How do I fix CVE-2026-139506?

Upgrade to a fixed version.

Is CVE-2026-139506 being exploited?

There is no known exploitation of CVE-2026-139506 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139506, DEBIAN-CVE-2026-139506, GHSA-p44w-m5mr-xcpq, UBUNTU-CVE-2026-139506.

Is CVE-2026-139506 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free