<?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-08T23:50:43.492552+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-2024-26921</id>
    <title>CVE-2024-26921 — inet: inet_defrag: prevent sk release while still in use</title>
    <updated>2026-10-08T23:50:43.512666+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>inet: inet_defrag: prevent sk release while still in use</p>
<p>ip_local_out() and other functions can pass skb-&gt;sk as function argument.</p>
<p>If the skb is a fragment and reassembly happens before such function call
returns, the sk must not be released.</p>
<p>This affects skb fragments reassembled via netfilter or similar
modules, e.g. openvswitch or ct_act.c, when run as part of tx pipeline.</p>
<p>Eric Dumazet made an initial analysis of this bug.  Quoting Eric:
  Calling ip_defrag() in output path is also implying skb_orphan(),
  which is buggy because output path relies on sk not disappearing.</p>
<p>A relevant old patch about the issue was :
  8282f27449bf ("inet: frag: Always orphan skbs inside ip_defrag()")</p>
<p>[..]</p>
<p>net/ipv4/ip_output.c depends on skb-&gt;sk being set, and probably to an
  inet socket, not an arbitrary one.</p>
<p>If we orphan the packet in ipvlan, then downstream things like FQ
  packet scheduler will not work properly.</p>
<p>We need to change ip_defrag() to only use skb_orphan() when really
  needed, ie whenever frag_list is going to be used.</p>
<p>Eric suggested to stash sk in fragment queue and made an initial patch.
However there is a problem with this:</p>
<p>If skb is refragmented again right after, ip_do_fragment() will copy
head-&gt;sk to the new fragments, and sets up destructor to sock_wfree.
IOW, we have no choice but to fix up sk_wmem accouting to reflect the
fully reassembled skb, else wmem will underflow.</p>
<p>This ch…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2024-26921"/>
  </entry>
</feed>
