{"id":"CVE-2026-143200","published":"2026-12-03T09:20:25Z","modified":"2026-12-03T09:20:25Z","title":"erofs: reset buf->off in erofs_init_metabuf()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: reset buf->off in erofs_init_metabuf()\n\nerofs_init_metabuf() sets buf->off only for the block device and keeps\nthe old value when it switches to the metabox or the managed cache.\nerofs_bread() adds buf->off 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->off on every init.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00156,"percentile":0.04917,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b","tags":[]},{"url":"https://git.kernel.org/stable/c/8b4ddd28ec5bdec14cefc57f8bf792cb4764d724","tags":[]}],"priority":{"score":1.0,"factors":[{"name":"EPSS percentile","points":0.98}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 414091322c6363c9283aeb177101e4d7a3819ccd, < fb69f73f5897a95bde6a0a67c7c99ed5a5e2303b",">= 414091322c6363c9283aeb177101e4d7a3819ccd, < 8b4ddd28ec5bdec14cefc57f8bf792cb4764d724"]},{"vendor":"Linux","product":"Linux","versions":["6.17"]}],"euvd":{"id":"EUVD-2026-142850","exploited":false,"provenance":"source"}}