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

Published Nov 30, 2026
·
Updated

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

ocfs2: reject inconsistent xattr bucket during defrag

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

ocfs2validatexattrbucket() only checks each entry in isolation, so a corrupt bucket holding overlapping entries, or one with an inflated xhfreestart, 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 Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

What conditions are required to trigger the failure?

An OCFS2 extended-attribute bucket must already be corrupt, with overlapping name/value entries or an inflated xh_free_start value. A setxattr operation that causes xattr defragmentation can then reach the affected checks.

2

What is the impact of exploiting this issue?

The described behavior is a Linux kernel BUG() during OCFS2 xattr defragmentation, which can cause a system crash or denial of service. The provided information does not describe data disclosure or privilege escalation.

3

How can administrators reduce exposure before applying the fix?

Avoid performing setxattr operations on OCFS2 filesystems known or suspected to contain corrupt extended-attribute buckets. The fix changes the defragmentation path to return an error for inconsistent copied buckets rather than invoking BUG().

4

How can this condition be distinguished from ordinary xattr problems?

The triggering condition involves an inconsistent OCFS2 xattr bucket that passes existing per-entry validation but contains overlapping entries or an xh_free_start value below the compacted region. A kernel BUG reached during xattr defragmentation after setxattr is consistent with the described issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203