CVE-2025-40193

xtensa: simdisk: add input size check in proc_write_simdisk

State
Published
Severity
Not scored
Published
Nov 12, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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()")

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • b6c7e873daf765e41233b9752083b66442703b7a to before f40405ccfb87b71175f2d5d004c0b8a0aebcc2cfAffected
  • b6c7e873daf765e41233b9752083b66442703b7a to before 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4Affected
  • b6c7e873daf765e41233b9752083b66442703b7a to before d381de7fd4cdc928ede96987dc64b133e6480dd6Affected
  • b6c7e873daf765e41233b9752083b66442703b7a to before a0c2c36d864ef3676b05cfd8c58b72ee3214cb1aAffected
  • b6c7e873daf765e41233b9752083b66442703b7a to before 5d5f08fd0cd970184376bee07d59f635c8403f63Affected
LinuxLinux
  • 3.9Affected
  • before 3.9Not affected
  • 6.1.157 through 6.1.*Not affected
  • 6.6.113 through 6.6.*Not affected
  • 6.12.54 through 6.12.*Not affected
  • 6.17.4 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.