CVE-2025-40193
xtensa: simdisk: add input size check in proc_write_simdisk
Mitigation
- Upgrade Linux to 5d5f08fd0cd970184376bee07d59f635c8403f63 or later.
Who should check
- Anyone running Linux >= b6c7e873daf765e41233b9752083b66442703b7a, < f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf; >= b6c7e873daf765e41233b9752083b66442703b7a, < 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4; >= b6c7e873daf765e41233b9752083b66442703b7a, < d381de7fd4cdc928ede96987dc64b133e6480dd6; >= b6c7e873daf765e41233b9752083b66442703b7a, < a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a; >= b6c7e873daf765e41233b9752083b66442703b7a, < 5d5f08fd0cd970184376bee07d59f635c8403f63
- Anyone running Linux 3.9
Vulnerability facts
- Affected
- Linux >= b6c7e873daf765e41233b9752083b66442703b7a, < f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf; >= b6c7e873daf765e41233b9752083b66442703b7a, < 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4; >= b6c7e873daf765e41233b9752083b66442703b7a, < d381de7fd4cdc928ede96987dc64b133e6480dd6; >= b6c7e873daf765e41233b9752083b66442703b7a, < a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a; >= b6c7e873daf765e41233b9752083b66442703b7a, < 5d5f08fd0cd970184376bee07d59f635c8403f63; Linux 3.9
- Fixed in
- Linux 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4, Linux 5d5f08fd0cd970184376bee07d59f635c8403f63
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b6c7e873daf765e41233b9752083b66442703b7a, < f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf; >= b6c7e873daf765e41233b9752083b66442703b7a, < 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4; >= b6c7e873daf765e41233b9752083b66442703b7a, < d381de7fd4cdc928ede96987dc64b133e6480dd6; >= b6c7e873daf765e41233b9752083b66442703b7a, < a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a; >= b6c7e873daf765e41233b9752083b66442703b7a, < 5d5f08fd0cd970184376bee07d59f635c8403f63 | — | cvelist |
| Linux | 3.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-40193. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-40193.md Affected: Linux >= b6c7e873daf765e41233b9752083b66442703b7a, < f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf; >= b6c7e873daf765e41233b9752083b66442703b7a, < 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4; >= b6c7e873daf765e41233b9752083b66442703b7a, < d381de7fd4cdc928ede96987dc64b133e6480dd6; >= b6c7e873daf765e41233b97… Fixed in: Linux 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4, Linux 5d5f08fd0cd970184376bee07d59f635c8403f63 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Other
- https://git.kernel.org/stable/c/f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf
- https://git.kernel.org/stable/c/151bd88859474cdaccc1e4c8b21fbf72dbba2ab4
- https://git.kernel.org/stable/c/d381de7fd4cdc928ede96987dc64b133e6480dd6
- https://git.kernel.org/stable/c/a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a
- https://git.kernel.org/stable/c/5d5f08fd0cd970184376bee07d59f635c8403f63
FAQ
Is CVE-2025-40193 being exploited?
There is no confirmed exploitation: CVE-2025-40193 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-40193?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2025-40193?
Linux >= b6c7e873daf765e41233b9752083b66442703b7a, < f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf; >= b6c7e873daf765e41233b9752083b66442703b7a, < 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4; >= b6c7e873daf765e41233b9752083b66442703b7a, < d381de7fd4cdc928ede96987dc64b133e6480dd6; >= b6c7e873daf765e41233b9752083b66442703b7a, < a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a; >= b6c7e873daf765e41233b9752083b66442703b7a, < 5d5f08fd0cd970184376bee07d59f635c8403f63; Linux 3.9.
Is there a fix for CVE-2025-40193?
Yes. Fixed in Linux 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4, Linux 5d5f08fd0cd970184376bee07d59f635c8403f63. Upgrade Linux to 5d5f08fd0cd970184376bee07d59f635c8403f63 or later.
How do I check if I'm affected by CVE-2025-40193?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.