CVE-2025-40207 Details
Description
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().
A vulnerability in the Linux kernel's V4L2 subsystem allows for a null pointer dereference. The issue arises in the 'v4l2_subdev_call_state_try()' macro, which allocates a subdev state but fails to check if the allocation was successful. If the allocation fails, it returns an error pointer, leading to a crash when the macro is used. This vulnerability affects the Linux kernel stable tree.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 12, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/5b0057459cdc243ffb35617603142dcace09c711 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/94e6336dc1f06a06f5b4cd04d4a012bba34f2857 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a553530b3314a0bdc98cf114cdbe204551a70a00 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/ed30811fbed40751deb952bde534aa2632dc0bf7 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/f37df9a0eb5e43fcfe02cbaef076123dc0d79c7e | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Nov 12, 2025 | New CVE Received | kernel.org |
Volerion