CVE-2026-139506

Source
https://cve.org/CVERecord?id=CVE-2026-139506
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139506.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139506
Downstream
Published
2026-11-30T13:35:22Z
Modified
2026-11-30T15:02:28Z
Summary
ocfs2: reject inconsistent xattr bucket during defrag
Details

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().

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139506.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
012255961c9ecfe22b7a1df47ac26ab37818cb1e
Fixed
63081155c69087310192c722b67c2cb16d0fe078
Fixed
e4f3d9d11e5492a610192199644de4874b816dbd
Fixed
bfe9f0d1221d5b60e1eee15cf37195b4d6f01d4c
Fixed
abb6d65435990a9ba68f19ca9f66fc84d6f96c18
Fixed
ee8f1d6ae1e52f55302ab94ba4fa447fdfb3b966
Fixed
f171a81a29c510d617585be3eed04f05c71a141d
Fixed
2e6afa1a19213848be34c61ed8d88342c831c406
Fixed
bd40b997f04542869afeabe94f2cf1a016fc9bfa

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139506.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.28
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139506.json"