Bug 2589803 (CVE-2026-143200) - CVE-2026-143200 kernel: kernel: Incorrect data retrieval in EROFS via improper buffer offset initialization
Summary: CVE-2026-143200 kernel: kernel: Incorrect data retrieval in EROFS via imprope...
Keywords:
Status: NEW
Alias: CVE-2026-143200
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 09:45 UTC by OSIDB Bzimport
Modified: 2026-12-03 11:08 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 09:45:21 UTC
In the Linux kernel, the following vulnerability has been resolved:

erofs: reset buf->off in erofs_init_metabuf()

erofs_init_metabuf() sets buf->off only for the block device and keeps
the old value when it switches to the metabox or the managed cache.
erofs_bread() adds buf->off to every offset, so the result depends on
how the buffer was last initialized.

getxattr and listxattr init the same buffer twice, for the inline and
the shared xattrs, with in_metabox taken from different places.  On a
block device mount with fsoffset=, if the inode is outside the metabox
and COMPAT_SHARED_EA_IN_METABOX is set, the shared xattrs are read at
their metabox offset plus fsoffset.  The same image mounted file-backed
returns the right values.

Reset buf->off on every init.


Note You need to log in before you can comment on or make changes to this bug.