Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-138989

published

media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions

Published
30 Nov 2026, 13:26:50 UTC
Updated
30 Nov 2026, 13:26:50 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux71c689dc2e732d4cb190aaf0edea73116b1611bd to < 8db2017feb141e46a456defe7b05ec935bae3aaf · 71c689dc2e732d4cb190aaf0edea73116b1611bd to < 827b56d45e562a80d063eff9a7be4ffb4f3257a6 · 71c689dc2e732d4cb190aaf0edea73116b1611bd to < 7aa2f6a9cc2d467166174194de8697be8b830a36 · 71c689dc2e732d4cb190aaf0edea73116b1611bd to < 802e61f3ba7ab0dd212866286ddbe062de157e65 · 71c689dc2e732d4cb190aaf0edea73116b1611bd to < 90379d750ee6146b8ccaf28d00e98f7708b074fd · 71c689dc2e732d4cb190aaf0edea73116b1611bd to < e6f3ebe63ce84cb5a7bccc00f5e70b2f29133fc2 · 71c689dc2e732d4cb190aaf0edea73116b1611bd to < 9ff738f93084351ed6e818d4d58679a9e9083a8d · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.14 (affected) · 0 to < 5.14 (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux

Description

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions The V4L2 control framework is designed to allow drivers to instantiate controls and clusters without checking for errors after each call, checking hdl->error only once at the end. However, if allocating the master control (controls[0]) fails, e.g. due to memory allocation failure, v4l2_ctrl_cluster() triggers a WARNING: ncontrols == 0 || controls[0] == NULL WARNING: drivers/media/v4l2-core/v4l2-ctrls-core.c:2525 at v4l2_ctrl_cluster Additionally, v4l2_ctrl_auto_cluster() attempts to dereference master->minimum without checking if controls[0] is NULL, leading to a NULL pointer dereference when master control creation fails. Update both v4l2_ctrl_cluster() and v4l2_ctrl_auto_cluster() to silently return if controls[0] is NULL, preserving the design that control creation errors are caught at the end when the driver checks hdl->error. Also update function documentation in include/media/v4l2-ctrls.h. [hverkuil: simplified the v4l2_ctrl_auto_cluster code a bit]

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 71c689dc2e732d4cb190aaf0edea73116b1611bd to < 8db2017feb141e46a456defe7b05ec935bae3aaf (affected · git)71c689dc2e732d4cb190aaf0edea73116b1611bd to < 827b56d45e562a80d063eff9a7be4ffb4f3257a6 (affected · git)71c689dc2e732d4cb190aaf0edea73116b1611bd to < 7aa2f6a9cc2d467166174194de8697be8b830a36 (affected · git)71c689dc2e732d4cb190aaf0edea73116b1611bd to < 802e61f3ba7ab0dd212866286ddbe062de157e65 (affected · git)71c689dc2e732d4cb190aaf0edea73116b1611bd to < 90379d750ee6146b8ccaf28d00e98f7708b074fd (affected · git)71c689dc2e732d4cb190aaf0edea73116b1611bd to < e6f3ebe63ce84cb5a7bccc00f5e70b2f29133fc2 (affected · git)71c689dc2e732d4cb190aaf0edea73116b1611bd to < 9ff738f93084351ed6e818d4d58679a9e9083a8d (affected · git)Default: unaffected Linux · cna
Linux Linux 5.14 (affected)0 to < 5.14 (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

1

Linux · cna

media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions

Provenance

Schema
5.2
Searchable
yes
Content hash
165ad87e3ffab0e3f7755d9ec359cbaff3da8bcfa825f69f4fb8583e43ff7bd3
Ingested
30 Nov 2026, 13:36:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected