5.6

CVE-2025-40207: media: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try()

Deferred
AliasesUBUNTU-CVE-2025-40207DEBIAN-CVE-2025-40207
Published 12-11-2025Last modified 11-05-2026

Vulnerability summary

CVE-2025-40207 is a medium (CVSS 5.6) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.4% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.6, local access); no exploitation reported by the 5 checked sources

CIRCL last checked 06-12-2026

Source freshness unavailable

How is this decided?
CVSS score
5.6/10
010
Medium · v4.0 (OSV · Ubuntu), selected by version preference
EPSS score
0.20%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 31 · Related 30

Timeline

  1. 12-11-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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().

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

0.20%

Chance of exploitation in the next 30 days

Percentile

10%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.20% on 05-11-2026

05-11-202605-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu128 products
  • linux< 6.8.0-106.106 | < 6.17.0-14.14
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 6.8.0-1050.53 | < 6.17.0-1007.7
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Debian1 product
  • linux< 6.1.158-1 | < 6.12.57-1 | < 6.17.6-1
Linux1 product
  • linux≥ 982c0487185bd466059ff618f398a8d074ddb654, < 5b0057459cdc243ffb35617603142dcace09c711 | ≥ 982c0487185bd466059ff618f398a8d074ddb654, < ed30811fbed40751deb952bde534aa2632dc0bf7 | ≥ 982c0487185bd466059ff618f398a8d074ddb654, < 94e6336dc1f06a06f5b4cd04d4a012bba34f2857 | ≥ 982c0487185bd466059ff618f398a8d074ddb654, < a553530b3314a0bdc98cf114cdbe204551a70a00 | ≥ 982c0487185bd466059ff618f398a8d074ddb654, < f37df9a0eb5e43fcfe02cbaef076123dc0d79c7e | 6.0

3 vendors · 130 products

References

25 links
Show all 25 references