In the Linux kernel, the following vulnerability has been resolved: media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster…
CVE-2026-138989
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, v4l2ctrlcluster() triggers a WARNING: ncontrols == 0 || controls[0] == NULL WARNING: drivers/media/v4l2-core/v4l2-ctrls-core.c:2525 at v4l2ctrlcluster Additionally, v4l2ctrlautocluster() 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 v4l2ctrlcluster() and v4l2ctrlautocluster() 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 v4l2ctrlautocluster code a bit]
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 November 2026
- Last updated
- 30 November 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/7aa2f6a9cc2d467166174194de8697be8b830a36
- https://git.kernel.org/stable/c/802e61f3ba7ab0dd212866286ddbe062de157e65
- https://git.kernel.org/stable/c/827b56d45e562a80d063eff9a7be4ffb4f3257a6
- https://git.kernel.org/stable/c/8db2017feb141e46a456defe7b05ec935bae3aaf
- https://git.kernel.org/stable/c/90379d750ee6146b8ccaf28d00e98f7708b074fd
- https://git.kernel.org/stable/c/9ff738f93084351ed6e818d4d58679a9e9083a8d
- https://git.kernel.org/stable/c/e6f3ebe63ce84cb5a7bccc00f5e70b2f29133fc2
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-138989