<?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>Tue, 29 Sep 2026 01:50:01 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49872 — net: gso: fix panic on frag_list with mixed head alloc types</title>
      <link>https://db.gcve.eu/vuln/cve-2022-49872</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;net: gso: fix panic on frag_list with mixed head alloc types&lt;/p&gt;
&lt;p&gt;Since commit 3dcbdb134f32 (&amp;#34;net: gso: Fix skb_segment splat when
splitting gso_size mangled skb having linear-headed frag_list&amp;#34;), it is
allowed to change gso_size of a GRO packet. However, that commit assumes
that &amp;#34;checking the first list_skb member suffices; i.e if either of the
list_skb members have non head_frag head, then the first one has too&amp;#34;.&lt;/p&gt;
&lt;p&gt;It turns out this assumption does not hold. We&amp;#39;ve seen BUG_ON being hit
in skb_segment when skbs on the frag_list had differing head_frag with
the vmxnet3 driver. This happens because __netdev_alloc_skb and
__napi_alloc_skb can return a skb that is page backed or kmalloced
depending on the requested size. As the result, the last small skb in
the GRO packet can be kmalloced.&lt;/p&gt;
&lt;p&gt;There are three different locations where this can be fixed:&lt;/p&gt;
&lt;p&gt;(1) We could check head_frag in GRO and not allow GROing skbs with
    different head_frag. However, that would lead to performance
    regression on normal forward paths with unmodified gso_size, where
    !head_frag in the last packet is not a problem.&lt;/p&gt;
&lt;p&gt;(2) Set a flag in bpf_skb_net_grow and bpf_skb_net_shrink indicating
    that NETIF_F_SG is undesirable. That would need to eat a bit in
    sk_buff. Furthermore, that flag can be unset when all skbs on the
    frag_list are page backed. To retain good performance,
    bpf_skb_net_grow/shrink would have to walk the fr…&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;net: gso: fix panic on frag_list with mixed head alloc types&lt;/p&gt;
&lt;p&gt;Since commit 3dcbdb134f32 (&amp;#34;net: gso: Fix skb_segment splat when
splitting gso_size mangled skb having linear-headed frag_list&amp;#34;), it is
allowed to change gso_size of a GRO packet. However, that commit assumes
that &amp;#34;checking the first list_skb member suffices; i.e if either of the
list_skb members have non head_frag head, then the first one has too&amp;#34;.&lt;/p&gt;
&lt;p&gt;It turns out this assumption does not hold. We&amp;#39;ve seen BUG_ON being hit
in skb_segment when skbs on the frag_list had differing head_frag with
the vmxnet3 driver. This happens because __netdev_alloc_skb and
__napi_alloc_skb can return a skb that is page backed or kmalloced
depending on the requested size. As the result, the last small skb in
the GRO packet can be kmalloced.&lt;/p&gt;
&lt;p&gt;There are three different locations where this can be fixed:&lt;/p&gt;
&lt;p&gt;(1) We could check head_frag in GRO and not allow GROing skbs with
    different head_frag. However, that would lead to performance
    regression on normal forward paths with unmodified gso_size, where
    !head_frag in the last packet is not a problem.&lt;/p&gt;
&lt;p&gt;(2) Set a flag in bpf_skb_net_grow and bpf_skb_net_shrink indicating
    that NETIF_F_SG is undesirable. That would need to eat a bit in
    sk_buff. Furthermore, that flag can be unset when all skbs on the
    frag_list are page backed. To retain good performance,
    bpf_skb_net_grow/shrink would have to walk the fr…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2022-49872</guid>
    </item>
  </channel>
</rss>
