CVE-2026-139506
ocfs2: reject inconsistent xattr bucket during defrag
Check your servers for CVE-2026-139506
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139506 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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().
Exploitation
EPSS 0.21%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 12.0% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before 63081155c69087310192c722b67c2cb16d0fe078 affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before e4f3d9d11e5492a610192199644de4874b816dbd affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before bfe9f0d1221d5b60e1eee15cf37195b4d6f01d4c affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before abb6d65435990a9ba68f19ca9f66fc84d6f96c18 affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before ee8f1d6ae1e52f55302ab94ba4fa447fdfb3b966 affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before f171a81a29c510d617585be3eed04f05c71a141d affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before 2e6afa1a19213848be34c61ed8d88342c831c406 affected from 012255961c9ecfe22b7a1df47ac26ab37818cb1e, before bd40b997f04542869afeabe94f2cf1a016fc9bfa
Other versions: unaffected
|
| Linux |
affected 2.6.28 unaffected before 2.6.28 unaffected from 5.10.275 up to and including 5.10.* unaffected from 5.15.226 up to and including 5.15.* unaffected from 6.1.193 up to and including 6.1.* unaffected from 6.6.163 up to and including 6.6.* unaffected from 6.12.119 up to and including 6.12.* unaffected from 6.18.65 up to and including 6.18.* unaffected from 7.3.6 up to and including 7.3.* unaffected 7.4-rc1 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139506 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139506
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-139506
trivy image --scanners vuln IMAGE | grep CVE-2026-139506
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/63081155c69087310192c722b67c2cb16d0fe078 git.kernel.org
- https://git.kernel.org/stable/c/e4f3d9d11e5492a610192199644de4874b816dbd git.kernel.org
- https://git.kernel.org/stable/c/bfe9f0d1221d5b60e1eee15cf37195b4d6f01d4c git.kernel.org
- https://git.kernel.org/stable/c/abb6d65435990a9ba68f19ca9f66fc84d6f96c18 git.kernel.org
- https://git.kernel.org/stable/c/ee8f1d6ae1e52f55302ab94ba4fa447fdfb3b966 git.kernel.org
- https://git.kernel.org/stable/c/f171a81a29c510d617585be3eed04f05c71a141d git.kernel.org
- https://git.kernel.org/stable/c/2e6afa1a19213848be34c61ed8d88342c831c406 git.kernel.org
- https://git.kernel.org/stable/c/bd40b997f04542869afeabe94f2cf1a016fc9bfa git.kernel.org
Source: the record CVE-2026-139506 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse