CVE-2026-139506
Not scored
ocfs2: reject inconsistent xattr bucket during defrag
- Severity
- Not scored
- Exploit likelihood
- 0.21% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before 63081155c69087310192c722b67c2cb16d0fe078, from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before e4f3d9d11e5492a610192199644de4874b816dbd, from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before bfe9f0d1221d5b60e1eee15cf37195b4d6f01d4c, from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before abb6d65435990a9ba68f19ca9f66fc84d6f96c18, from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before ee8f1d6ae1e52f55302ab94ba4fa447fdfb3b966, from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before f171a81a29c510d617585be3eed04f05c71a141d, from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before 2e6afa1a19213848be34c61ed8d88342c831c406, from 012255961c9ecfe22b7a1df47ac26ab37818cb1e before bd40b997f04542869afeabe94f2cf1a016fc9bfa and 1 more Not affected: before 2.6.28, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.119 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139506 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139506 changed 2026-11-30 | Public domain |