{
  "cveId": "CVE-2022-49871",
  "url": "https://patchblox.com/security/cve/CVE-2022-49871",
  "summary": "CVE-2022-49871 is fixed in linux on 1 platform, first by DEBIAN-CVE-2022-49871, released May 1, 2025. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  net: tun: Fix memory leaks of napi_get_frags  km...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  net: tun: Fix memory leaks of napi_get_frags  kmemleak reports after running test_progs:  unreferenced object 0xffff8881b1672dc0 (size 232):   comm \u0022test_progs\u0022, 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:     [\u003C00000000c8f01748\u003E] napi_skb_cache_get\u002B0xd4/0x150     [\u003C0000000041c7fc09\u003E] __napi_build_skb\u002B0x15/0x50     [\u003C00000000431c7079\u003E] __napi_alloc_skb\u002B0x26e/0x540     [\u003C000000003ecfa30e\u003E] napi_get_frags\u002B0x59/0x140     [\u003C0000000099b2199e\u003E] tun_get_user\u002B0x183d/0x3bb0 [tun]     [\u003C000000008a5adef0\u003E] tun_chr_write_iter\u002B0xc0/0x1b1 [tun]     [\u003C0000000049993ff4\u003E] do_iter_readv_writev\u002B0x19f/0x320     [\u003C000000008f338ea2\u003E] do_iter_write\u002B0x135/0x630     [\u003C000000008a3377a4\u003E] vfs_writev\u002B0x12e/0x440     [\u003C00000000a6b5639a\u003E] do_writev\u002B0x104/0x280     [\u003C00000000ccf065d8\u003E] do_syscall_64\u002B0x3b/0x90     [\u003C00000000d776e329\u003E] entry_SYSCALL_64_after_hwframe\u002B0x63/0xcd  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(\u0026skb-\u003Elist, \u0026napi-\u003Erx_list);           \u003C-- While napi-\u003Erx_count \u003C READ_ONCE(gro_normal_batch),           \u003C-- gro_normal_list() is not called, napi-\u003Erx_list is not empty   \u003C-- not ask to complete the gro work, will cause memory leaks in   \u003C-- following tun_napi_del() ... tun_napi_del()   netif_napi_del()     __netif_napi_del()     \u003C-- \u0026napi-\u003Erx_list is not empty, which caused memory leaks  To fix, add napi_complete() after napi_gro_frags().",
  "published": "2025-05-01T15:16:12Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.00217,
  "epssPercentile": 0.12276,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "6.0.10-1",
      "fix": "DEBIAN-CVE-2022-49871",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49871",
      "released": "2025-05-01T15:16:12Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.0.10-1",
      "fix": "DEBIAN-CVE-2022-49871",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49871",
      "released": "2025-05-01T15:16:12Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.0.10-1",
      "fix": "DEBIAN-CVE-2022-49871",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-49871",
      "released": "2025-05-01T15:16:12Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}