Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139507

published

ocfs2: allow xattr bucket entries to span multiple blocks

Published
30 Nov 2026, 13:35:23 UTC
Updated
30 Nov 2026, 13:35:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxdc5778dbd0b6c411107a0e37e913a94b3c2f2728 to < 13745a6cc1f82f88365fb06a5590eba35e79cfab · ee4ef26927e967ea699b3f0d7ecf97ce044fbc79 to < a0ab8943a115e5806d64fc81af0b939dbf2575e6 · 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6 to < 4b0adafbb676900ffa674306c4325ee7f4837f2f · 2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6 to < 78cce2082d22d3c56bd3a6146ef0dcf7cd661a33 · 9f4129b6905b7d638bbc9eb8013c3989cbe30b7e · 6.6.160 to < 6.6.163 · 6.12.114 to < 6.12.119 · 7.2.6 to < 7.3 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.3 (affected) · 0 to < 7.3 (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: ocfs2: allow xattr bucket entries to span multiple blocks Patch series "ocfs2: xattr bucket validation fixes", v2. This series fixes two problems around xattr bucket validation. Patch 1 fixes a false-corruption failure on blocksize-512 volumes: the bucket validator limited the entry array to the first bucket block while the write path stores entries across the whole 4096-byte bucket region, so a legitimately written, fsck-clean bucket could be rejected and force the filesystem read-only. It also adds an alignment check on the bucket block number, since the entry array is accessed as one contiguous region and a corrupted xattr tree could otherwise point a bucket at blocks straddling a page boundary. Patch 2 converts two mlog_bug_on_msg() checks in the bucket defrag path to ocfs2_error() returns, so that a corrupt bucket holding overlapping entries or an inflated xh_free_start marks the filesystem read-only and fails the setxattr instead of panicking the kernel. Both patches have been tested in QEMU: the blocksize-512 reproducer (40 xattrs with 100-byte values, previously failing with "entry count 32 exceeds maximum 31") now passes with a clean fsck.ocfs2 result, and the ocfs2 testsuite xattr tests pass 48/48 across blocksize combinations. This patch (of 2): ocfs2_validate_xattr_bucket() limits the entry array to the first bucket block, but the write path stores entries across the whole OCFS2_XATTR_BUCKET_SIZE region. With 512-byte blocks a bucket spans eight blocks, and a bucket filled with small xattrs places its last entries past offset 512. Reading such a bucket back errors out: OCFS2: ERROR (device loop0): ocfs2_validate_xattr_bucket: Invalid xattr bucket 86072: entry count 32 exceeds maximum 31 On-disk corruption discovered. Please run fsck.ocfs2 once the filesystem is unmounted. OCFS2: File system is now read-only. This is reproducible by setting ~33 xattrs with 100-byte values on a file on a blocksize-512 volume; fsck.ocfs2 reports the resulting image clean. Check the entry count against the full bucket region instead. The per-block bounds checks for names and values stay as they are, since ocfs2_bucket_align_free_start() keeps each name+value pair within a single block. The entry array is one contiguous region, so a bucket from a corrupted xattr tree whose first block is not aligned to OCFS2_XATTR_BUCKET_SIZE could straddle a page and make the validation loop read out of bounds. Buckets allocated within clusters are always aligned, so reject any other block number while validating.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux dc5778dbd0b6c411107a0e37e913a94b3c2f2728 to < 13745a6cc1f82f88365fb06a5590eba35e79cfab (affected · git)ee4ef26927e967ea699b3f0d7ecf97ce044fbc79 to < a0ab8943a115e5806d64fc81af0b939dbf2575e6 (affected · git)2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6 to < 4b0adafbb676900ffa674306c4325ee7f4837f2f (affected · git)2cf82b46d5e43be0dfbaac7fa1073cec2fc1f5e6 to < 78cce2082d22d3c56bd3a6146ef0dcf7cd661a33 (affected · git)9f4129b6905b7d638bbc9eb8013c3989cbe30b7e (affected · git)6.6.160 to < 6.6.163 (affected · semver)6.12.114 to < 6.12.119 (affected · semver)7.2.6 to < 7.3 (affected · semver)Default: unaffected Linux · cna
Linux Linux 7.3 (affected)0 to < 7.3 (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

ocfs2: allow xattr bucket entries to span multiple blocks

Provenance

Schema
5.2
Searchable
yes
Content hash
d48bacfa6dc05180cd38c670e2b825dc9195eb5f4c90e96140c114db491304ad
Ingested
30 Nov 2026, 13:42:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected