Vulnerability details

CVE-2025-40198

Linux Linux

ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()

CVSS 3.1
7.8High

Official 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.

CVSS scores

ScoreVersionSourceVector
7.8High 3.1 CVEProject cvelistV5 (CNA) (Linux) CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

VendorProductVersionsSource
Linux Linux 2.6.36 CVEProject cvelistV5 (CNA)
Linux Linux 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 ≤ v < b2bac84fde28fb6a88817b8b761abda17a1d300b CVEProject cvelistV5 (CNA)
Linux Linux 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 ≤ v < e651294218d2684302ee5ed95ccf381646f3e5b4 CVEProject cvelistV5 (CNA)
Linux Linux 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 ≤ v < 01829af7656b56d83682b3491265d583d502e502 CVEProject cvelistV5 (CNA)
Linux Linux 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 ≤ v < 7bf46ff83a0ef11836e38ebd72cdc5107209342d CVEProject cvelistV5 (CNA)
Linux Linux 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 ≤ v < a6e94557cd05adc82fae0400f6e17745563e5412 CVEProject cvelistV5 (CNA)
Linux Linux 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 ≤ v < 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8 CVEProject cvelistV5 (CNA)
Linux Linux 8b67f04ab9de5d8f3a71aef72bf02c995a506db5 ≤ v < 2a0cf438320cdb783e0378570744c0ef0d83e934 CVEProject cvelistV5 (CNA)

References and advisories

7
Kolun on Telegram @kolunsec Exploited CVEs, key news and a daily digest Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.

Details

Published
2025-11-13
Last updated
2026-10-16
State
Published
Assigner (CNA)
Linux

Exploit prediction (EPSS)

0.16%
Probability of exploitation in 30 days
5.8%
Percentile (among all CVEs)

SSVC assessment (CISA)

Automatable
No
Exploitation
None
Technical impact
Total

Weaknesses (CWE)

  • —