PT-2026-162658

CVE-2026-100089

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
ocfs2: update xattr count before moving bucket entries
Since commit 2f26f58df041 ("ocfs2: annotate flexible array members with counted by le()"), the xh entries array is annotated with counted by le(xh count), so FORTIFY uses xh count to determine its bounds. When inserting an entry into a bucket, ocfs2 xa bucket add entry() shifts existing entries before incrementing xh count. The destination therefore extends one entry past the bounds described by the old count.
With CONFIG CC HAS COUNTED BY and CONFIG FORTIFY SOURCE enabled, ocfs2-test: single run-WIP.sh -t reflink triggers the following failure while adding an extended attribute:
[ 150.156484] memmove: detected buffer overflow: 352 byte write of buffer size 336 [ 150.156487] WARNING: lib/string helpers.c:1036 at fortify report+0x3d/0x50, CPU#15: reflink test/2336 [ 150.160496] RIP: 0010: fortify report+0x40/0x50 [ 150.164031] Call Trace: [ 150.164141] [ 150.164232] fortify panic+0x9/0xb [ 150.164383] ocfs2 xa bucket add entry.cold+0x17/0x28 [ocfs2] [ 150.164661] ocfs2 xa set+0x8fb/0xf40 [ocfs2]
Increment xh count before memmove() so the destination bounds include the new entry. Keep the local count unchanged to calculate the insertion position and move length from the original number of entries. The caller has already checked that there is enough space for the new entry.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾