<?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:24:55 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-100018 — netdevsim: reject cls_bpf programs bound to another device</title>
      <link>https://db.gcve.eu/vuln/cve-2026-100018</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;netdevsim: reject cls_bpf programs bound to another device&lt;/p&gt;
&lt;p&gt;The issue:
nsim_bpf_setup_tc_block_cb() installs any device-bound SCHED_CLS program
without checking that its offload device matches the target netdev.  The
core cls_bpf attach path rejects a mismatching program, but a netdev that
joins a shared block later is replayed the stored filter by
cls_bpf_reoffload() before it is inserted into block-&amp;gt;ports, so the
attach-time check cannot see it.  The driver callback is the
authoritative per-device acceptance boundary and must enforce the match
itself, as nfp already does in nfp_net_bpf_offload().&lt;/p&gt;
&lt;p&gt;Without the check, replaying a device-bound program onto a different
bpf_offload_dev installs it into that device&amp;#39;s netdevsim state, which
trips the WARN in nsim_bpf_uninit() (ns-&amp;gt;bpf_offloaded set on a foreign
device) and can dereference a NULL prog-&amp;gt;aux-&amp;gt;offload in
nsim_prog_set_loaded().&lt;/p&gt;
&lt;p&gt;The Fix:
Reject a device-bound program whose offload device does not match the
target netdev, with -EINVAL and an extack so the rejected replay is not
silent.  The check is intentionally narrower than nfp&amp;#39;s: it fires only
for a dev-bound program, so nsim&amp;#39;s bpf_tc_non_bound_accept mode (which
admits an unbound program onto the device) is unaffected.  Teardown is
never blocked: the guard is on the program being installed and an unbind
passes cls_bpf.prog = NULL.&lt;/p&gt;
&lt;p&gt;Conditions to recreate the bug:
  - CONFIG_NETDEVSIM=y, CONFIG_N…&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;netdevsim: reject cls_bpf programs bound to another device&lt;/p&gt;
&lt;p&gt;The issue:
nsim_bpf_setup_tc_block_cb() installs any device-bound SCHED_CLS program
without checking that its offload device matches the target netdev.  The
core cls_bpf attach path rejects a mismatching program, but a netdev that
joins a shared block later is replayed the stored filter by
cls_bpf_reoffload() before it is inserted into block-&amp;gt;ports, so the
attach-time check cannot see it.  The driver callback is the
authoritative per-device acceptance boundary and must enforce the match
itself, as nfp already does in nfp_net_bpf_offload().&lt;/p&gt;
&lt;p&gt;Without the check, replaying a device-bound program onto a different
bpf_offload_dev installs it into that device&amp;#39;s netdevsim state, which
trips the WARN in nsim_bpf_uninit() (ns-&amp;gt;bpf_offloaded set on a foreign
device) and can dereference a NULL prog-&amp;gt;aux-&amp;gt;offload in
nsim_prog_set_loaded().&lt;/p&gt;
&lt;p&gt;The Fix:
Reject a device-bound program whose offload device does not match the
target netdev, with -EINVAL and an extack so the rejected replay is not
silent.  The check is intentionally narrower than nfp&amp;#39;s: it fires only
for a dev-bound program, so nsim&amp;#39;s bpf_tc_non_bound_accept mode (which
admits an unbound program onto the device) is unaffected.  Teardown is
never blocked: the guard is on the program being installed and an unbind
passes cls_bpf.prog = NULL.&lt;/p&gt;
&lt;p&gt;Conditions to recreate the bug:
  - CONFIG_NETDEVSIM=y, CONFIG_N…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-100018</guid>
    </item>
  </channel>
</rss>
