7.8

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

Deferred
AliasesUBUNTU-CVE-2025-40198DEBIAN-CVE-2025-40198
Published 12-11-2025Last modified 15-10-2026

Vulnerability summary

CVE-2025-40198 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.17% chance of exploitation in the next 30 days, higher than 6% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.17%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 34 · Related 32

Timeline

  1. 12-11-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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 metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.17%

Chance of exploitation in the next 30 days

Percentile

6%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.17% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu155 products
  • linuxAll versions (No fix recorded) | < 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.158-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
  • linux≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 7bf46ff83a0ef11836e38ebd72cdc5107209342d | ≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < b2bac84fde28fb6a88817b8b761abda17a1d300b | ≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < e651294218d2684302ee5ed95ccf381646f3e5b4 | ≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 01829af7656b56d83682b3491265d583d502e502 | ≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 2a0cf438320cdb783e0378570744c0ef0d83e934 | ≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < a6e94557cd05adc82fae0400f6e17745563e5412 | ≥ 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8 | 2.6.36

3 vendors · 157 products

References

27 links
Show all 27 references