CVE-2025-40193Published Nov 12, 2025 · Nov 12Updated Oct 28
xtensa: simdisk: add input size check in proc_write_simdisk
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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()")
From the CVE record · Linux
The xtensa simdisk proc_write_simdisk handler lacks an input size check. A local user able to write to the handler could pass a bad value to memdup_user_nul(), potentially crashing the kernel.
Engineers running Linux kernels with the xtensa simdisk component should check their deployments; affected versions were not specified.