<?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:16:00 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-49871 — net: tun: Fix memory leaks of napi_get_frags</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-49871</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: tun: Fix memory leaks of napi_get_frags&lt;/p&gt;
&lt;p&gt;kmemleak reports after running test_progs:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff8881b1672dc0 (size 232):
  comm &amp;#34;test_progs&amp;#34;, pid 394388, jiffies 4354712116 (age 841.975s)
  hex dump (first 32 bytes):
    e0 84 d7 a8 81 88 ff ff 80 2c 67 b1 81 88 ff ff  .........,g.....
    00 40 c5 9b 81 88 ff ff 00 00 00 00 00 00 00 00  .@..............
  backtrace:
    [&amp;lt;00000000c8f01748&amp;gt;] napi_skb_cache_get+0xd4/0x150
    [&amp;lt;0000000041c7fc09&amp;gt;] __napi_build_skb+0x15/0x50
    [&amp;lt;00000000431c7079&amp;gt;] __napi_alloc_skb+0x26e/0x540
    [&amp;lt;000000003ecfa30e&amp;gt;] napi_get_frags+0x59/0x140
    [&amp;lt;0000000099b2199e&amp;gt;] tun_get_user+0x183d/0x3bb0 [tun]
    [&amp;lt;000000008a5adef0&amp;gt;] tun_chr_write_iter+0xc0/0x1b1 [tun]
    [&amp;lt;0000000049993ff4&amp;gt;] do_iter_readv_writev+0x19f/0x320
    [&amp;lt;000000008f338ea2&amp;gt;] do_iter_write+0x135/0x630
    [&amp;lt;000000008a3377a4&amp;gt;] vfs_writev+0x12e/0x440
    [&amp;lt;00000000a6b5639a&amp;gt;] do_writev+0x104/0x280
    [&amp;lt;00000000ccf065d8&amp;gt;] do_syscall_64+0x3b/0x90
    [&amp;lt;00000000d776e329&amp;gt;] entry_SYSCALL_64_after_hwframe+0x63/0xcd&lt;/p&gt;
&lt;p&gt;The issue occurs in the following scenarios:
tun_get_user()
  napi_gro_frags()
    napi_frags_finish()
      case GRO_NORMAL:
        gro_normal_one()
          list_add_tail(&amp;amp;skb-&amp;gt;list, &amp;amp;napi-&amp;gt;rx_list);
          &amp;lt;-- While napi-&amp;gt;rx_count &amp;lt; READ_ONCE(gro_normal_batch),
          &amp;lt;-- gro_normal_list() is not called, napi-&amp;gt;rx_list is not empty
  &amp;lt;-- not ask to complete the gro work, will…&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: tun: Fix memory leaks of napi_get_frags&lt;/p&gt;
&lt;p&gt;kmemleak reports after running test_progs:&lt;/p&gt;
&lt;p&gt;unreferenced object 0xffff8881b1672dc0 (size 232):
  comm &amp;#34;test_progs&amp;#34;, pid 394388, jiffies 4354712116 (age 841.975s)
  hex dump (first 32 bytes):
    e0 84 d7 a8 81 88 ff ff 80 2c 67 b1 81 88 ff ff  .........,g.....
    00 40 c5 9b 81 88 ff ff 00 00 00 00 00 00 00 00  .@..............
  backtrace:
    [&amp;lt;00000000c8f01748&amp;gt;] napi_skb_cache_get+0xd4/0x150
    [&amp;lt;0000000041c7fc09&amp;gt;] __napi_build_skb+0x15/0x50
    [&amp;lt;00000000431c7079&amp;gt;] __napi_alloc_skb+0x26e/0x540
    [&amp;lt;000000003ecfa30e&amp;gt;] napi_get_frags+0x59/0x140
    [&amp;lt;0000000099b2199e&amp;gt;] tun_get_user+0x183d/0x3bb0 [tun]
    [&amp;lt;000000008a5adef0&amp;gt;] tun_chr_write_iter+0xc0/0x1b1 [tun]
    [&amp;lt;0000000049993ff4&amp;gt;] do_iter_readv_writev+0x19f/0x320
    [&amp;lt;000000008f338ea2&amp;gt;] do_iter_write+0x135/0x630
    [&amp;lt;000000008a3377a4&amp;gt;] vfs_writev+0x12e/0x440
    [&amp;lt;00000000a6b5639a&amp;gt;] do_writev+0x104/0x280
    [&amp;lt;00000000ccf065d8&amp;gt;] do_syscall_64+0x3b/0x90
    [&amp;lt;00000000d776e329&amp;gt;] entry_SYSCALL_64_after_hwframe+0x63/0xcd&lt;/p&gt;
&lt;p&gt;The issue occurs in the following scenarios:
tun_get_user()
  napi_gro_frags()
    napi_frags_finish()
      case GRO_NORMAL:
        gro_normal_one()
          list_add_tail(&amp;amp;skb-&amp;gt;list, &amp;amp;napi-&amp;gt;rx_list);
          &amp;lt;-- While napi-&amp;gt;rx_count &amp;lt; READ_ONCE(gro_normal_batch),
          &amp;lt;-- gro_normal_list() is not called, napi-&amp;gt;rx_list is not empty
  &amp;lt;-- not ask to complete the gro work, will…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-49871</guid>
    </item>
  </channel>
</rss>
