<?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://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-19T04:15:46.731229+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" 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://cve.radiocsirt.org/vuln/cve-2022-49808</id>
    <title>CVE-2022-49808 — net: dsa: don't leak tagger-owned storage on switch driver unbind</title>
    <updated>2026-10-19T04:15:46.732395+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>net: dsa: don't leak tagger-owned storage on switch driver unbind</p>
<p>In the initial commit dc452a471dba ("net: dsa: introduce tagger-owned
storage for private and shared data"), we had a call to
tag_ops-&gt;disconnect(dst) issued from dsa_tree_free(), which is called at
tree teardown time.</p>
<p>There were problems with connecting to a switch tree as a whole, so this
got reworked to connecting to individual switches within the tree. In
this process, tag_ops-&gt;disconnect(ds) was made to be called only from
switch.c (cross-chip notifiers emitted as a result of dynamic tag proto
changes), but the normal driver teardown code path wasn't replaced with
anything.</p>
<p>Solve this problem by adding a function that does the opposite of
dsa_switch_setup_tag_protocol(), which is called from the equivalent
spot in dsa_switch_teardown(). The positioning here also ensures that we
won't have any use-after-free in tagging protocol (*rcv) ops, since the
teardown sequence is as follows:</p>
<p>dsa_tree_teardown
-&gt; dsa_tree_teardown_master
   -&gt; dsa_master_teardown
      -&gt; unsets master-&gt;dsa_ptr, making no further packets match the
         ETH_P_XDSA packet type handler
-&gt; dsa_tree_teardown_ports
   -&gt; dsa_port_teardown
      -&gt; dsa_slave_destroy
         -&gt; unregisters DSA net devices, there is even a synchronize_net()
            in unregister_netdevice_many()
-&gt; dsa_tree_teardown_switches
   -&gt; dsa_switch_teardown
      -&gt; dsa_switch_teardown…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2022-49808"/>
  </entry>
</feed>
