{"id":"CVE-2025-40198","aliases":["CVE-2025-40198"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: avoid potential buffer over-read in parse_apply_sb_mount_options()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\next4: evitar una potencial lectura excesiva del búfer en parse_apply_sb_mount_options()\n\nA diferencia de otras cadenas en el superbloque ext4, dependemos de tune2fs para asegurar que s_mount_opts esté terminado en NUL. Reforzar parse_apply_sb_mount_options() tratando s_mount_opts como una potencial __nonstring.","source":"nvd"}],"published":"2025-11-12T21:56:33.220Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","fixed":"7bf46ff83a0ef11836e38ebd72cdc5107209342d","status":"affected"},{"type":"git","introduced":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","fixed":"b2bac84fde28fb6a88817b8b761abda17a1d300b","status":"affected"},{"type":"git","introduced":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","fixed":"e651294218d2684302ee5ed95ccf381646f3e5b4","status":"affected"},{"type":"git","introduced":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","fixed":"01829af7656b56d83682b3491265d583d502e502","status":"affected"},{"type":"git","introduced":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","fixed":"2a0cf438320cdb783e0378570744c0ef0d83e934","status":"affected"},{"type":"git","introduced":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","fixed":"a6e94557cd05adc82fae0400f6e17745563e5412","status":"affected"},{"type":"git","introduced":"8b67f04ab9de5d8f3a71aef72bf02c995a506db5","fixed":"8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.36","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.36","status":"unaffected"},{"type":"semver","introduced":"5.4.301","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"6.1.158","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.114","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.54","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.4","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7bf46ff83a0ef11836e38ebd72cdc5107209342d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b2bac84fde28fb6a88817b8b761abda17a1d300b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e651294218d2684302ee5ed95ccf381646f3e5b4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01829af7656b56d83682b3491265d583d502e502","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a0cf438320cdb783e0378570744c0ef0d83e934","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a6e94557cd05adc82fae0400f6e17745563e5412","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8ecb790ea8c3fc69e77bace57f14cf0d7c177bd8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:57:54.146Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40198","url":"https://www.cve.org/CVERecord?id=CVE-2025-40198","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:40.274Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40198","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40198","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.598Z","epss":{"score":0.00254,"percentile":0.10291,"date":"2026-11-30T12:00:22.000Z"}}