<?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://vulnerability.circl.lu</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>Tue, 29 Sep 2026 22:58:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-74371 — bpf: fix BPF_PROG_QUERY OOB write and cgroup backward compat</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2026-74371</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;bpf: fix BPF_PROG_QUERY OOB write and cgroup backward compat&lt;/p&gt;
&lt;p&gt;BPF_PROG_QUERY writes back the &amp;#39;query.revision&amp;#39; field unconditionally to
userspace. If userspace passes a smaller &amp;#39;bpf_attr&amp;#39; structure (e.g. 40
bytes, which was the layout before the addition of &amp;#39;query.revision&amp;#39;),
the kernel performs an out-of-bounds write.&lt;/p&gt;
&lt;p&gt;Fix this by propagating the user-provided attribute size &amp;#39;uattr_size&amp;#39;
down to the cgroup query handlers, and conditionally skipping writing
the revision field to userspace when the provided buffer size is
insufficient.&lt;/p&gt;
&lt;p&gt;query.revision in bpf_mprog_query is structurally identical to the
cgroup case: a late tail field, written unconditionally.&lt;/p&gt;
&lt;p&gt;But the backward-compat hazard is not the same.&lt;/p&gt;
&lt;p&gt;The min-historical-size test is per command, and bpf_mprog_query only
serves attach types that were born with revision in the struct:&lt;/p&gt;
&lt;p&gt;- tcx_prog_query -&amp;gt; BPF_TCX_INGRESS/EGRESS
- netkit_prog_query -&amp;gt; BPF_NETKIT_PRIMARY/PEER&lt;/p&gt;
&lt;p&gt;tcx, netkit, the revision field, and bpf_mprog_query itself all landed in
the same v6.6 merge window (053c8e1f235d added the mprog query API +
revision; tcx in e420bed02507, netkit in 35dfaad7188c). There has never
been a tcx/netkit BPF_PROG_QUERY userspace that doesn&amp;#39;t know about
revision. So for these commands the minimum legitimate struct already
covers offset 56-64 — no old binary can be broken here.&lt;/p&gt;
&lt;p&gt;Contrast with cgroup: BPF_PROG_QUERY on cgroup attach types shipped in
2017; rev…&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;bpf: fix BPF_PROG_QUERY OOB write and cgroup backward compat&lt;/p&gt;
&lt;p&gt;BPF_PROG_QUERY writes back the &amp;#39;query.revision&amp;#39; field unconditionally to
userspace. If userspace passes a smaller &amp;#39;bpf_attr&amp;#39; structure (e.g. 40
bytes, which was the layout before the addition of &amp;#39;query.revision&amp;#39;),
the kernel performs an out-of-bounds write.&lt;/p&gt;
&lt;p&gt;Fix this by propagating the user-provided attribute size &amp;#39;uattr_size&amp;#39;
down to the cgroup query handlers, and conditionally skipping writing
the revision field to userspace when the provided buffer size is
insufficient.&lt;/p&gt;
&lt;p&gt;query.revision in bpf_mprog_query is structurally identical to the
cgroup case: a late tail field, written unconditionally.&lt;/p&gt;
&lt;p&gt;But the backward-compat hazard is not the same.&lt;/p&gt;
&lt;p&gt;The min-historical-size test is per command, and bpf_mprog_query only
serves attach types that were born with revision in the struct:&lt;/p&gt;
&lt;p&gt;- tcx_prog_query -&amp;gt; BPF_TCX_INGRESS/EGRESS
- netkit_prog_query -&amp;gt; BPF_NETKIT_PRIMARY/PEER&lt;/p&gt;
&lt;p&gt;tcx, netkit, the revision field, and bpf_mprog_query itself all landed in
the same v6.6 merge window (053c8e1f235d added the mprog query API +
revision; tcx in e420bed02507, netkit in 35dfaad7188c). There has never
been a tcx/netkit BPF_PROG_QUERY userspace that doesn&amp;#39;t know about
revision. So for these commands the minimum legitimate struct already
covers offset 56-64 — no old binary can be broken here.&lt;/p&gt;
&lt;p&gt;Contrast with cgroup: BPF_PROG_QUERY on cgroup attach types shipped in
2017; rev…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2026-74371</guid>
    </item>
  </channel>
</rss>
