PoC Monitor
← All CVEs
CVE-2025-40198published 12 Nov 2025 21:56 UTCData: JSON · API

Linux

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

Linux Linux
  • >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 7bf46ff83a0ef11836e38ebd72cdc5107209342d
  • >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < b2bac84fde28fb6a88817b8b761abda17a1d300b
  • >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < e651294218d2684302ee5ed95ccf381646f3e5b4
  • >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 01829af7656b56d83682b3491265d583d502e502
  • >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 2a0cf438320cdb783e0378570744c0ef0d83e934
  • >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < a6e94557cd05adc82fae0400f6e17745563e5412
  • >= 8b67f04ab9de5d8f3a71aef72bf02c995a506db5, < 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8

Fixed in 7bf46ff83a0ef11836e38ebd72cdc5107209342d, b2bac84fde28fb6a88817b8b761abda17a1d300b, e651294218d2684302ee5ed95ccf381646f3e5b4, 01829af7656b56d83682b3491265d583d502e502, 2a0cf438320cdb783e0378570744c0ef0d83e934, a6e94557cd05adc82fae0400f6e17745563e5412, 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8

Linux Linux
  • 2.6.36

Fixed in 0, 5.4.301, 5.10.246, 6.1.158, 6.6.114, 6.12.54, 6.17.4, 6.18

Mitigation

Upgrade Linux to 7bf46ff83a0ef11836e38ebd72cdc5107209342d or b2bac84fde28fb6a88817b8b761abda17a1d300b or e651294218d2684302ee5ed95ccf381646f3e5b4 or 01829af7656b56d83682b3491265d583d502e502 or 2a0cf438320cdb783e0378570744c0ef0d83e934 or a6e94557cd05adc82fae0400f6e17745563e5412 or 8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8 or later.

Upgrade Linux to 0 or 5.4.301 or 5.10.246 or 6.1.158 or 6.6.114 or 6.12.54 or 6.17.4 or 6.18 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published12 Nov 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.