<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 04 Dec 2026 19:41:13 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-138989 — media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions</title>
      <link>https://db.gcve.eu/vuln/cve-2026-138989</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions&lt;/p&gt;
&lt;p&gt;The V4L2 control framework is designed to allow drivers to instantiate
controls and clusters without checking for errors after each call,
checking hdl-&amp;gt;error only once at the end.&lt;/p&gt;
&lt;p&gt;However, if allocating the master control (controls[0]) fails, e.g. due to
memory allocation failure, v4l2_ctrl_cluster() triggers a WARNING:&lt;/p&gt;
&lt;p&gt;ncontrols == 0 || controls[0] == NULL
      WARNING: drivers/media/v4l2-core/v4l2-ctrls-core.c:2525 at v4l2_ctrl_cluster&lt;/p&gt;
&lt;p&gt;Additionally, v4l2_ctrl_auto_cluster() attempts to dereference
master-&amp;gt;minimum without checking if controls[0] is NULL, leading to a
NULL pointer dereference when master control creation fails.&lt;/p&gt;
&lt;p&gt;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-&amp;gt;error.
Also update function documentation in include/media/v4l2-ctrls.h.&lt;/p&gt;
&lt;p&gt;[hverkuil: simplified the v4l2_ctrl_auto_cluster code a bit]&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Linux&lt;/p&gt;
&lt;p&gt;In the Linux kernel, the following vulnerability has been resolved:&lt;/p&gt;
&lt;p&gt;media: v4l2-ctrls: do nothing if controls[0] == NULL in cluster functions&lt;/p&gt;
&lt;p&gt;The V4L2 control framework is designed to allow drivers to instantiate
controls and clusters without checking for errors after each call,
checking hdl-&amp;gt;error only once at the end.&lt;/p&gt;
&lt;p&gt;However, if allocating the master control (controls[0]) fails, e.g. due to
memory allocation failure, v4l2_ctrl_cluster() triggers a WARNING:&lt;/p&gt;
&lt;p&gt;ncontrols == 0 || controls[0] == NULL
      WARNING: drivers/media/v4l2-core/v4l2-ctrls-core.c:2525 at v4l2_ctrl_cluster&lt;/p&gt;
&lt;p&gt;Additionally, v4l2_ctrl_auto_cluster() attempts to dereference
master-&amp;gt;minimum without checking if controls[0] is NULL, leading to a
NULL pointer dereference when master control creation fails.&lt;/p&gt;
&lt;p&gt;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-&amp;gt;error.
Also update function documentation in include/media/v4l2-ctrls.h.&lt;/p&gt;
&lt;p&gt;[hverkuil: simplified the v4l2_ctrl_auto_cluster code a bit]&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-138989</guid>
    </item>
  </channel>
</rss>
