{"id":"CVE-2025-40193","aliases":["CVE-2025-40193"],"related":[],"kind":"vulnerability","state":"published","title":"xtensa: simdisk: add input size check in proc_write_simdisk","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxtensa: simdisk: add input size check in proc_write_simdisk\n\nA malicious user could pass an arbitrarily bad value\nto memdup_user_nul(), potentially causing kernel crash.\n\nThis follows the same pattern as commit ee76746387f6\n(\"netdevsim: prevent bad user input in nsim_dev_health_break_write()\")","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxtensa: simdisk: add input size check in proc_write_simdisk\n\nA malicious user could pass an arbitrarily bad value\nto memdup_user_nul(), potentially causing kernel crash.\n\nThis follows the same pattern as commit ee76746387f6\n(\"netdevsim: prevent bad user input in nsim_dev_health_break_write()\")","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nxtensa: simdisk: añadir verificación del tamaño de entrada en proc_write_simdisk\n\nUn usuario malicioso podría pasar un valor arbitrariamente incorrecto a memdup_user_nul(), causando potencialmente un fallo del kernel.\n\nEsto sigue el mismo patrón que el commit ee76746387f6 (“netdevsim: evitar entrada de usuario incorrecta en nsim_dev_health_break_write()”)","source":"nvd"}],"published":"2025-11-12T21:56:31.751Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"b6c7e873daf765e41233b9752083b66442703b7a","fixed":"f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf","status":"affected"},{"type":"git","introduced":"b6c7e873daf765e41233b9752083b66442703b7a","fixed":"151bd88859474cdaccc1e4c8b21fbf72dbba2ab4","status":"affected"},{"type":"git","introduced":"b6c7e873daf765e41233b9752083b66442703b7a","fixed":"d381de7fd4cdc928ede96987dc64b133e6480dd6","status":"affected"},{"type":"git","introduced":"b6c7e873daf765e41233b9752083b66442703b7a","fixed":"a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a","status":"affected"},{"type":"git","introduced":"b6c7e873daf765e41233b9752083b66442703b7a","fixed":"5d5f08fd0cd970184376bee07d59f635c8403f63","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"6.1.157","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.113","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/f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/151bd88859474cdaccc1e4c8b21fbf72dbba2ab4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d381de7fd4cdc928ede96987dc64b133e6480dd6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d5f08fd0cd970184376bee07d59f635c8403f63","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40193","url":"https://www.cve.org/CVERecord?id=CVE-2025-40193","licence":"CVE Terms of Use","modified":"2026-05-11T21:44:33.601Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40193","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40193","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.595Z","epss":{"score":0.00277,"percentile":0.12773,"date":"2026-11-30T12:00:22.000Z"}}