CVE-2025-40207
BaseFortify
Publication date: 2025-11-12
Last updated on: 2025-11-14
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's media subsystem, specifically in the v4l2-subdev component. The macro v4l2_subdev_call_state_try() allocates a sub-device state using __v4l2_subdev_state_alloc(), but it does not check if the allocation was successful. If the allocation fails, __v4l2_subdev_state_alloc() returns an error pointer (ERR_PTR), which causes v4l2_subdev_call_state_try() to crash. The fix involves adding proper error handling to prevent this crash.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to crash when the v4l2_subdev_call_state_try() macro encounters a failed allocation and does not handle the error properly. Such a crash can lead to system instability or denial of service, affecting the availability of the system or services relying on the media subsystem.