{"id":"CVE-2026-139450","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:19:15.957","lastModified":"2026-11-30T14:19:15.957","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nerofs: fix xattrs handling when metadata compression is used\n\nerofs_bread() reuses a cached folio on page index match without\nchecking folio->mapping.\n\nxattr.c calls erofs_init_metabuf() twice on the same buffer without\nerofs_put_metabuf(); the two in_metabox sources differ, so buf->mapping\ncan switch while buf->page still belongs to the old address_space.\nThe next erofs_bread() then reads the wrong mapping, dropping shared\nxattrs with METABOX.\n\nWe require folio->mapping == buf->mapping in the reuse check; otherwise\ndrop the cached folio and re-read via the slow path."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/erofs/data.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"414091322c6363c9283aeb177101e4d7a3819ccd","lessThan":"b2edc050fc202119dca082b987b257cb7277e1c1","versionType":"git","status":"affected"},{"version":"414091322c6363c9283aeb177101e4d7a3819ccd","lessThan":"92bc0e5851fb7d575765b5100b0bab6b57357c75","versionType":"git","status":"affected"},{"version":"414091322c6363c9283aeb177101e4d7a3819ccd","lessThan":"6b722cefbf83558af07586ca94cdb4b370d5a82d","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/erofs/data.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/6b722cefbf83558af07586ca94cdb4b370d5a82d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/92bc0e5851fb7d575765b5100b0bab6b57357c75","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b2edc050fc202119dca082b987b257cb7277e1c1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}