CVE-2026-139450

Source
https://cve.org/CVERecord?id=CVE-2026-139450
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139450.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139450
Downstream
Published
2026-11-30T13:34:52Z
Modified
2026-11-30T15:02:28Z
Summary
erofs: fix xattrs handling when metadata compression is used
Details

In the Linux kernel, the following vulnerability has been resolved:

erofs: fix xattrs handling when metadata compression is used

erofs_bread() reuses a cached folio on page index match without checking folio->mapping.

xattr.c calls erofs_init_metabuf() twice on the same buffer without erofs_put_metabuf(); the two in_metabox sources differ, so buf->mapping can switch while buf->page still belongs to the old address_space. The next erofs_bread() then reads the wrong mapping, dropping shared xattrs with METABOX.

We require folio->mapping == buf->mapping in the reuse check; otherwise drop the cached folio and re-read via the slow path.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139450.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
b2edc050fc202119dca082b987b257cb7277e1c1
Fixed
92bc0e5851fb7d575765b5100b0bab6b57357c75
Fixed
6b722cefbf83558af07586ca94cdb4b370d5a82d

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

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