Bug 2589803 (CVE-2026-143200)

Summary: CVE-2026-143200 kernel: kernel: Incorrect data retrieval in EROFS via improper buffer offset initialization
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the Linux kernel's EROFS (Enhanced Read-Only File System) component. The system fails to reset buffer offset values properly when reinitializing metadata buffers during extended attribute queries. A local user could exploit this flaw by inspecting file attributes on an EROFS mount, resulting in incorrect data retrieval from unintended buffer locations.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.