CVE-2026-99694 — ocfs2: do not index before the entry array when dividing an empty bucket
In the Linux kernel, the following vulnerability has been resolved: ocfs2: do not index before the entry array when dividing an empty bucket ocfs2_divide_xattr_bucket() appends an empty bucket carrying a sentinel hash when the source bucket has no divide position, taking that hash from xh_entries[start - 1]. ocfs2_xattr_find_divide_pos() returns count when every entry shares one hash, and its loop does not run at all for count < 2, so an empty bucket comes back with start == count == 0 and the read is xh_entries[-1]. That is outside the __counted_by_le(xh_count) bounds of xh_entries[] and lands on the header, so the value picked up is xh_count | xh_free_start
Published
Related technologies
Reported versions and fixes
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product
- Source-reported product