7.8high
ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.25% (higher than 10% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 before 7bf46ff83a0ef11836e38ebd72cdc5107209342d, from 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 before b2bac84fde28fb6a88817b8b761abda17a1d300b, from 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 before e651294218d2684302ee5ed95ccf381646f3e5b4, from 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 before 01829af7656b56d83682b3491265d583d502e502, from 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 before 2a0cf438320cdb783e0378570744c0ef0d83e934, from 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 before a6e94557cd05adc82fae0400f6e17745563e5412, from 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 before 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8, 2.6.36 Not affected: before 2.6.36, from 5.4.301 up to 5.4.*, from 5.10.246 up to 5.10.*, from 6.1.158 up to 6.1.*, from 6.6.114 up to 6.6.*, from 6.12.54 up to 6.12.* | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ext4: evitar una potencial lectura excesiva del búfer en parse_apply_sb_mount_options() A diferencia de otras cadenas en el superbloque ext4, dependemos de tune2fs para asegurar que s_mount_opts esté terminado en NUL. Reforzar parse_apply_sb_mount_options() tratando s_mount_opts como una potencial __nonstring.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40198 changed 2026-10-15 | CVE Terms of Use |
| NVD | CVE-2025-40198 changed 2026-10-19 | Public domain |