{"id":"CVE-2026-143200","summary":"erofs: reset buf-\u003eoff in erofs_init_metabuf()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: reset buf-\u003eoff in erofs_init_metabuf()\n\nerofs_init_metabuf() sets buf-\u003eoff only for the block device and keeps\nthe old value when it switches to the metabox or the managed cache.\nerofs_bread() adds buf-\u003eoff to every offset, so the result depends on\nhow the buffer was last initialized.\n\ngetxattr and listxattr init the same buffer twice, for the inline and\nthe shared xattrs, with in_metabox taken from different places.  On a\nblock device mount with fsoffset=, if the inode is outside the metabox\nand COMPAT_SHARED_EA_IN_METABOX is set, the shared xattrs are read at\ntheir metabox offset plus fsoffset.  The same image mounted file-backed\nreturns the right values.\n\nReset buf-\u003eoff on every init.","modified":"2026-12-03T11:01:37.676677465Z","published":"2026-12-03T09:20:25.647Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143200.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b4ddd28ec5bdec14cefc57f8bf792cb4764d724"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143200.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143200"}],"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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}