<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-04T18:41:40.847051+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cve-2026-138989</id>
    <title>CVE-2026-138989 — media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions</title>
    <updated>2026-12-04T18:41:40.848725+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Linux</p>
<p>In the Linux kernel, the following vulnerability has been resolved:</p>
<p>media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions</p>
<p>The V4L2 control framework is designed to allow drivers to instantiate
controls and clusters without checking for errors after each call,
checking hdl-&gt;error only once at the end.</p>
<p>However, if allocating the master control (controls[0]) fails, e.g. due to
memory allocation failure, v4l2_ctrl_cluster() triggers a WARNING:</p>
<p>ncontrols == 0 || controls[0] == NULL
      WARNING: drivers/media/v4l2-core/v4l2-ctrls-core.c:2525 at v4l2_ctrl_cluster</p>
<p>Additionally, v4l2_ctrl_auto_cluster() attempts to dereference
master-&gt;minimum without checking if controls[0] is NULL, leading to a
NULL pointer dereference when master control creation fails.</p>
<p>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-&gt;error.
Also update function documentation in include/media/v4l2-ctrls.h.</p>
<p>[hverkuil: simplified the v4l2_ctrl_auto_cluster code a bit]</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cve-2026-138989"/>
  </entry>
</feed>
