
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-40207 was discovered in the Linux kernel, specifically affecting the v4l2-subdev component. The vulnerability was disclosed on November 12, 2025, and involves an allocation failure check issue in the v4l2subdevcallstatetry() macro (NVD).
The vulnerability exists in the v4l2subdevcallstatetry() macro which allocates a subdev state using v4l2subdevstate_alloc() but fails to properly check the returned value. When v4l2subdevstatealloc fails, it returns an ERRPTR that can cause v4l2subdevcallstatetry() to crash (NVD).
If exploited, this vulnerability can lead to a system crash due to improper error handling in the kernel's media subsystem. The issue affects multiple Ubuntu releases including 25.10 questing, 25.04 plucky, and 24.04 LTS noble which are marked as vulnerable (Ubuntu).
The vulnerability has been resolved by adding proper error handling to v4l2subdevcallstatetry(). Ubuntu has marked several older releases as 'Not affected' including 22.04 LTS jammy, 20.04 LTS focal, and 18.04 LTS bionic, suggesting patches have been applied to these versions (Ubuntu).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."