CVE Catalog

CVE-2025-40198

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.15%

5th percentile - higher than 5% of all known CVEs

Summary

In the Linux kernel's ext4 filesystem, the parse_apply_sb_mount_options() function may read beyond the buffer (buffer over-read). The s_mount_opts field in the superblock may not be NULL-terminated.

Risk Assessment

Potential kernel memory information leak or system crash when mounting a corrupted ext4 filesystem.

Recommendation

Apply the Linux kernel patch that treats s_mount_opts as a potential non-NULL-terminated string, preventing over-read.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS