CVE-2026-143200

Source
https://cve.org/CVERecord?id=CVE-2026-143200
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143200.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143200
Downstream
Published
2026-12-03T09:20:25Z
Modified
2026-12-03T11:01:37Z
Summary
erofs: reset buf->off in erofs_init_metabuf()
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143200.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
414091322c6363c9283aeb177101e4d7a3819ccd
Fixed
fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b
Fixed
8b4ddd28ec5bdec14cefc57f8bf792cb4764d724

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143200.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143200.json"