Not scored
xtensa: simdisk: add input size check in proc_write_simdisk
- Severity
- Not scored
- Exploit likelihood
- 0.28% (higher than 13% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: xtensa: simdisk: add input size check in proc_write_simdisk A malicious user could pass an arbitrarily bad value to memdup_user_nul(), potentially causing kernel crash. This follows the same pattern as commit ee76746387f6 ("netdevsim: prevent bad user input in nsim_dev_health_break_write()")
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b6c7e873daf765e41233b9752083b66442703b7a before f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf, from b6c7e873daf765e41233b9752083b66442703b7a before 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4, from b6c7e873daf765e41233b9752083b66442703b7a before d381de7fd4cdc928ede96987dc64b133e6480dd6, from b6c7e873daf765e41233b9752083b66442703b7a before a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a, from b6c7e873daf765e41233b9752083b66442703b7a before 5d5f08fd0cd970184376bee07d59f635c8403f63, 3.9 Not affected: before 3.9, from 6.1.157 up to 6.1.*, from 6.6.113 up to 6.6.*, from 6.12.54 up to 6.12.*, from 6.17.4 up to 6.17.*, from 6.18 up to * | CVE List |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: xtensa: simdisk: add input size check in proc_write_simdisk A malicious user could pass an arbitrarily bad value to memdup_user_nul(), potentially causing kernel crash. This follows the same pattern as commit ee76746387f6 ("netdevsim: prevent bad user input in nsim_dev_health_break_write()")
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: xtensa: simdisk: añadir verificación del tamaño de entrada en proc_write_simdisk Un usuario malicioso podría pasar un valor arbitrariamente incorrecto a memdup_user_nul(), causando potencialmente un fallo del kernel. Esto sigue el mismo patrón que el commit ee76746387f6 (“netdevsim: evitar entrada de usuario incorrecta en nsim_dev_health_break_write()”)
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-40193 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-40193 changed 2026-10-19 | Public domain |