cbcvebase.
CVE-2025-40207
published 2025-11-12

CVE-2025-40207: In the Linux kernel, the following vulnerability has been resolved: media: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try()…

PriorityP420high7.8
EPSS
0.19%
8.4th percentile
In the Linux kernel, the following vulnerability has been resolved: media: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try() v4l2_subdev_call_state_try() macro allocates a subdev state with __v4l2_subdev_state_alloc(), but does not check the returned value. If __v4l2_subdev_state_alloc fails, it returns an ERR_PTR, and that would cause v4l2_subdev_call_state_try() to crash. Add proper error handling to v4l2_subdev_call_state_try().

Affected

21 ranges
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
debianlinux-6.1< linux 6.1.158-1 (bookworm)linux 6.1.158-1 (bookworm)
linuxlinux
linuxlinux>= 982c0487185bd466059ff618f398a8d074ddb654 < 5b0057459cdc243ffb35617603142dcace09c7115b0057459cdc243ffb35617603142dcace09c711
linuxlinux>= 982c0487185bd466059ff618f398a8d074ddb654 < ed30811fbed40751deb952bde534aa2632dc0bf7ed30811fbed40751deb952bde534aa2632dc0bf7
linuxlinux>= 982c0487185bd466059ff618f398a8d074ddb654 < 94e6336dc1f06a06f5b4cd04d4a012bba34f285794e6336dc1f06a06f5b4cd04d4a012bba34f2857
linuxlinux>= 982c0487185bd466059ff618f398a8d074ddb654 < a553530b3314a0bdc98cf114cdbe204551a70a00a553530b3314a0bdc98cf114cdbe204551a70a00
linuxlinux>= 982c0487185bd466059ff618f398a8d074ddb654 < f37df9a0eb5e43fcfe02cbaef076123dc0d79c7ef37df9a0eb5e43fcfe02cbaef076123dc0d79c7e
linuxlinux_kernel>= 0 < 6.1.158-16.1.158-1
linuxlinux_kernel>= 0 < 6.12.57-16.12.57-1
linuxlinux_kernel>= 0 < 6.17.6-16.17.6-1
linuxlinux_kernel>= 0 < 6.8.0-106.1066.8.0-106.106
linuxlinux_kernel>= 0 < 6.17.0-14.146.17.0-14.14
linuxlinux_kernel>= 6.0.0 < 6.1.1576.1.157
linuxlinux_kernel>= 6.13.0 < 6.17.46.17.4
linuxlinux_kernel>= 6.2.0 < 6.6.1136.6.113
linuxlinux_kernel>= 6.7.0 < 6.12.546.12.54
msrcazl3_kernel_6.6.112.1-2_on_azure_linux_3.0
ubuntulinux-aws
ubuntulinux-oracle
ubuntulinux-xilinx

CVSS provenance

vendor_ubuntu7.8HIGH
osv3.2LOW
vendor_msrc5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.