CVE-2024-46688
publishederofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxd6db47e571dcaecaeaafa8840d00ae849ae3907b to < 49c0e081998008cde0c872c0ff9affa1ece4b878 · d6db47e571dcaecaeaafa8840d00ae849ae3907b to < 0005e01e1e875c5e27130c5e2ed0189749d1e08a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.10.8 through 6.10.* (unaffected · semver) · 6.11 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 | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails If z_erofs_gbuf_growsize() partially fails on a global buffer due to memory allocation failure or fault injection (as reported by syzbot [1]), new pages need to be freed by comparing to the existing pages to avoid memory leaks. However, the old gbuf->pages[] array may not be large enough, which can lead to null-ptr-deref or out-of-bound access. Fix this by checking against gbuf->nrpages in advance. [1] https://lore.kernel.org/r/[email protected]
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 | d6db47e571dcaecaeaafa8840d00ae849ae3907b to < 49c0e081998008cde0c872c0ff9affa1ece4b878 (affected · git)d6db47e571dcaecaeaafa8840d00ae849ae3907b to < 0005e01e1e875c5e27130c5e2ed0189749d1e08a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.10.8 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
erofs: fix out-of-bound access when z_erofs_gbuf_growsize() partially fails
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2b8b8649a46cea9f81f6c002cf91651ab7b83985b5227e314cc24699b12231e9
- Ingested
- 23 Sep 2026, 08:28:03 UTC
- Source record
- Official CVE record