Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2025-40193

xtensa: simdisk: add input size check in proc_write_simdisk

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b6c7e873daf765e41233b9752083b66442703b7a to < f40405ccfb87b71175f2d5d004c0b8a0aebcc2cfaffected
  • b6c7e873daf765e41233b9752083b66442703b7a to < 151bd88859474cdaccc1e4c8b21fbf72dbba2ab4affected
  • b6c7e873daf765e41233b9752083b66442703b7a to < d381de7fd4cdc928ede96987dc64b133e6480dd6affected
  • b6c7e873daf765e41233b9752083b66442703b7a to < a0c2c36d864ef3676b05cfd8c58b72ee3214cb1aaffected
  • b6c7e873daf765e41233b9752083b66442703b7a to < 5d5f08fd0cd970184376bee07d59f635c8403f63affected

Linux Linux

Default version status: affected

  • 3.9affected
  • 0 to < 3.9unaffected
  • 6.1.157 to ≤ 6.1.*unaffected
  • 6.6.113 to ≤ 6.6.*unaffected
  • 6.12.54 to ≤ 6.12.*unaffected
  • 6.17.4 to ≤ 6.17.*unaffected
  • 6.18 to ≤ *unaffected

References