CVE-2025-40198ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()
- 7.8HighCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid potential buffer over-read in parse_apply_sb_mount_options() Unlike other strings in the ext4 superblock, we rely on tune2fs to make sure s_mount_opts is NUL terminated. Harden parse_apply_sb_mount_options() by treating s_mount_opts as a potential __nonstring.
Timeline
ID reserved
By Linux
- 7 months later
· 7 months later
Published
- 11 months later
· 11 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 – < 7bf46ff83a0ef11836e38ebd72cdc5107209342d
- affected 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 – < b2bac84fde28fb6a88817b8b761abda17a1d300b
- affected 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 – < e651294218d2684302ee5ed95ccf381646f3e5b4
- affected 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 – < 01829af7656b56d83682b3491265d583d502e502
- affected 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 – < 2a0cf438320cdb783e0378570744c0ef0d83e934
- affected 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 – < a6e94557cd05adc82fae0400f6e17745563e5412
- affected 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 – < 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8
- affected 2.6.36
- unaffected < 2.6.36
- unaffected 5.4.301 – ≤ 5.4.*
- unaffected 5.10.246 – ≤ 5.10.*
- unaffected 6.1.158 – ≤ 6.1.*
- unaffected 6.6.114 – ≤ 6.6.*
- unaffected 6.12.54 – ≤ 6.12.*
- unaffected 6.17.4 – ≤ 6.17.*
- unaffected 6.18 – ≤ *
References
References7
- https://git.kernel.org/stable/c/7bf46ff83a0ef11836e38ebd72cdc5107209342d (opens in a new tab)
- https://git.kernel.org/stable/c/b2bac84fde28fb6a88817b8b761abda17a1d300b (opens in a new tab)
- https://git.kernel.org/stable/c/e651294218d2684302ee5ed95ccf381646f3e5b4 (opens in a new tab)
- https://git.kernel.org/stable/c/01829af7656b56d83682b3491265d583d502e502 (opens in a new tab)
- https://git.kernel.org/stable/c/2a0cf438320cdb783e0378570744c0ef0d83e934 (opens in a new tab)
- https://git.kernel.org/stable/c/a6e94557cd05adc82fae0400f6e17745563e5412 (opens in a new tab)
- https://git.kernel.org/stable/c/8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-150376 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-40198)Record last updated .