CVE-2025-40193

published 12 Nov 2025 · updated 11 May 2026

xtensa: simdisk: add input size check in proc_write_simdisk

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4, Kernel 5d5f08fd0cd970184376bee07d59f635c8403f63, Kernel a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a and 2 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.9, >=b6c7e873daf765e41233b9752083b66442703b7a <151bd88859474cdaccc1e4c8b21fbf72dbba2ab4, >=b6c7e873daf765e41233b9752083b66442703b7a <5d5f08fd0cd970184376bee07d59f635c8403f63, >=b6c7e873daf765e41233b9752083b66442703b7a <a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a, >=b6c7e873daf765e41233b9752083b66442703b7a <d381de7fd4cdc928ede96987dc64b133e6480dd6, >=b6c7e873daf765e41233b9752083b66442703b7a <f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf151bd88859474cdaccc1e4c8b21fbf72dbba2ab4, 5d5f08fd0cd970184376bee07d59f635c8403f63, a0c2c36d864ef3676b05cfd8c58b72ee3214cb1a, d381de7fd4cdc928ede96987dc64b133e6480dd6, f40405ccfb87b71175f2d5d004c0b8a0aebcc2cf

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-40193 severity on Zeptric[![CVE-2025-40193](https://zeptric.io/badge/cve/CVE-2025-40193.svg)](https://zeptric.io/cve/CVE-2025-40193)