{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-40207","id":"CVE-2025-40207","title":"media: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try()\n\nv4l2_subdev_call_state_try() macro allocates a subdev state with\n__v4l2_subdev_state_alloc(), but does not check the returned value. If\n__v4l2_subdev_state_alloc fails, it returns an ERR_PTR, and that would\ncause v4l2_subdev_call_state_try() to crash.\n\nA","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: v4l2-subdev: Fix alloc failure check in v4l2_subdev_call_state_try()\n\nv4l2_subdev_call_state_try() macro allocates a subdev state with\n__v4l2_subdev_state_alloc(), but does not check the returned value. If\n__v4l2_subdev_state_alloc fails, it returns an ERR_PTR, and that would\ncause v4l2_subdev_call_state_try() to crash.\n\nAdd proper error handling to v4l2_subdev_call_state_try().","published":"2025-11-12T21:56:35.988Z","updated":"2026-10-28T02:31:03.503036404Z","reserved":"2025-04-16T07:20:57.179Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"982c0487185bd466059ff618f398a8d074ddb654","lessThan":"5b0057459cdc243ffb35617603142dcace09c711","status":"affected","versionType":"git"},{"version":"982c0487185bd466059ff618f398a8d074ddb654","lessThan":"ed30811fbed40751deb952bde534aa2632dc0bf7","status":"affected","versionType":"git"},{"version":"982c0487185bd466059ff618f398a8d074ddb654","lessThan":"94e6336dc1f06a06f5b4cd04d4a012bba34f2857","status":"affected","versionType":"git"},{"version":"982c0487185bd466059ff618f398a8d074ddb654","lessThan":"a553530b3314a0bdc98cf114cdbe204551a70a00","status":"affected","versionType":"git"},{"version":"982c0487185bd466059ff618f398a8d074ddb654","lessThan":"f37df9a0eb5e43fcfe02cbaef076123dc0d79c7e","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.1.157","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.113","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.54","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.17.4","lessThanOrEqual":"6.17.*","status":"unaffected","versionType":"semver"},{"version":"6.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/5b0057459cdc243ffb35617603142dcace09c711","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ed30811fbed40751deb952bde534aa2632dc0bf7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/94e6336dc1f06a06f5b4cd04d4a012bba34f2857","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a553530b3314a0bdc98cf114cdbe204551a70a00","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f37df9a0eb5e43fcfe02cbaef076123dc0d79c7e","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40207.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40207","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00201,"epssPercentile":0.10077,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-40207","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40207","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-40207","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-40207","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}