CVE-2025-40198

HIGHCVSS 7.8/10EPSS 0.19%

Last modified

CVE-2025-40198 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.19% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
7.8/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS Probability
0.19%

8.6th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

Source: CNA advisory (CVE.org). NVD analysis pending.

VendorProductVersions
LinuxLinux>= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 7bf46ff83a0ef11836e38ebd72cdc5107209342d; >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < b2bac84fde28fb6a88817b8b761abda17a1d300b; >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < e651294218d2684302ee5ed95ccf381646f3e5b4; >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 01829af7656b56d83682b3491265d583d502e502; >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 2a0cf438320cdb783e0378570744c0ef0d83e934; >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < a6e94557cd05adc82fae0400f6e17745563e5412; >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8
LinuxLinux2.6.36

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2025-40198?
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.
How severe is CVE-2025-40198?
CVE-2025-40198 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.19% probability of exploitation in the next 30 days.
How do I fix CVE-2025-40198?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2025

Are you affected by CVE-2025-40198?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST