<?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:30:33 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-139041 — media: vicodec: make encoder CAPTURE dimensions read-only</title>
      <link>https://db.gcve.eu/vuln/cve-2026-139041</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: vicodec: make encoder CAPTURE dimensions read-only&lt;/p&gt;
&lt;p&gt;Setting the encoder&amp;#39;s compressed CAPTURE format to a smaller resolution
than the raw OUTPUT format makes the encoder write past the end of the
CAPTURE buffer.&lt;/p&gt;
&lt;p&gt;For a stateful encoder the CAPTURE width and height are not
client-settable; Documentation/userspace-api/media/v4l/dev-encoder.rst
specifies them as &amp;#34;ignored (read-only)&amp;#34; on VIDIOC_S_FMT. vicodec only
implements half of that: vidioc_s_fmt_vid_out() derives the CAPTURE coded
size and sizeimage from the OUTPUT format, but S_FMT on the CAPTURE queue
overwrites them. The encoder then takes its geometry from the OUTPUT
queue alone, and v4l2_fwht_encode() gets no destination length.&lt;/p&gt;
&lt;p&gt;Overwrite the requested width and height with the OUTPUT queue&amp;#39;s coded
dimensions in vidioc_try_fmt_vid_cap(), making them read-only as the
interface requires.&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: vicodec: make encoder CAPTURE dimensions read-only&lt;/p&gt;
&lt;p&gt;Setting the encoder&amp;#39;s compressed CAPTURE format to a smaller resolution
than the raw OUTPUT format makes the encoder write past the end of the
CAPTURE buffer.&lt;/p&gt;
&lt;p&gt;For a stateful encoder the CAPTURE width and height are not
client-settable; Documentation/userspace-api/media/v4l/dev-encoder.rst
specifies them as &amp;#34;ignored (read-only)&amp;#34; on VIDIOC_S_FMT. vicodec only
implements half of that: vidioc_s_fmt_vid_out() derives the CAPTURE coded
size and sizeimage from the OUTPUT format, but S_FMT on the CAPTURE queue
overwrites them. The encoder then takes its geometry from the OUTPUT
queue alone, and v4l2_fwht_encode() gets no destination length.&lt;/p&gt;
&lt;p&gt;Overwrite the requested width and height with the OUTPUT queue&amp;#39;s coded
dimensions in vidioc_try_fmt_vid_cap(), making them read-only as the
interface requires.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-139041</guid>
    </item>
  </channel>
</rss>
