CVE-2026-139450
publishederofs: fix xattrs handling when metadata compression is used
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux414091322c6363c9283aeb177101e4d7a3819ccd to < b2edc050fc202119dca082b987b257cb7277e1c1 · 414091322c6363c9283aeb177101e4d7a3819ccd to < 92bc0e5851fb7d575765b5100b0bab6b57357c75 · 414091322c6363c9283aeb177101e4d7a3819ccd to < 6b722cefbf83558af07586ca94cdb4b370d5a82d · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected; Pending Fix | Not stated | Amazon Linux assessment |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 414091322c6363c9283aeb177101e4d7a3819ccd to < b2edc050fc202119dca082b987b257cb7277e1c1 (affected · git)414091322c6363c9283aeb177101e4d7a3819ccd to < 92bc0e5851fb7d575765b5100b0bab6b57357c75 (affected · git)414091322c6363c9283aeb177101e4d7a3819ccd to < 6b722cefbf83558af07586ca94cdb4b370d5a82d (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
erofs: fix xattrs handling when metadata compression is used
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- aca03a70d23f46a012a4d1395f950aa144cb80286506f2895c3536f2c7109296
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record