{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40198","id":"CVE-2025-40198","title":"ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: avoid potential buffer over-read in parse_apply_sb_mount_options()\n\nUnlike other strings in the ext4 superblock, we rely on tune2fs to\nmake sure s_mount_opts is NUL terminated.  Harden\nparse_apply_sb_mount_options() by treating s_mount_opts as a potential\n__nonstring.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: avoid potential buffer over-read in parse_apply_sb_mount_options()\n\nUnlike other strings in the ext4 superblock, we rely on tune2fs to\nmake sure s_mount_opts is NUL terminated.  Harden\nparse_apply_sb_mount_options() by treating s_mount_opts as a potential\n__nonstring.","published":"2025-11-12T21:56:33.220Z","updated":"2026-10-28T02:30:38.543955479Z","reserved":"2025-04-16T07:20:57.178Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","lessThan":"7bf46ff83a0ef11836e38ebd72cdc5107209342d","status":"affected","versionType":"git"},{"version":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","lessThan":"b2bac84fde28fb6a88817b8b761abda17a1d300b","status":"affected","versionType":"git"},{"version":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","lessThan":"e651294218d2684302ee5ed95ccf381646f3e5b4","status":"affected","versionType":"git"},{"version":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","lessThan":"01829af7656b56d83682b3491265d583d502e502","status":"affected","versionType":"git"},{"version":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","lessThan":"2a0cf438320cdb783e0378570744c0ef0d83e934","status":"affected","versionType":"git"},{"version":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","lessThan":"a6e94557cd05adc82fae0400f6e17745563e5412","status":"affected","versionType":"git"},{"version":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","lessThan":"8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.36","status":"affected"},{"version":"0","lessThan":"2.6.36","status":"unaffected","versionType":"semver"},{"version":"5.4.301","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.246","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"6.1.158","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.114","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.54","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.4","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7bf46ff83a0ef11836e38ebd72cdc5107209342d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/b2bac84fde28fb6a88817b8b761abda17a1d300b","tags":["web"]},{"url":"https://git.kernel.org/stable/c/e651294218d2684302ee5ed95ccf381646f3e5b4","tags":["web"]},{"url":"https://git.kernel.org/stable/c/01829af7656b56d83682b3491265d583d502e502","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2a0cf438320cdb783e0378570744c0ef0d83e934","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a6e94557cd05adc82fae0400f6e17745563e5412","tags":["web"]},{"url":"https://git.kernel.org/stable/c/8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40198.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40198","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00165,"epssPercentile":0.05881,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40198","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40198","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40198","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40198","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}