{
  "id": "CVE-2026-74748",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-74748",
  "published_at": "2026-08-26T14:36:57.164Z",
  "title": "netfilter: ipset: fix refcount race between list:set GC and swap",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: ipset: fix refcount race between list:set GC and swap\n\n__ip_set_put_byindex() resolved the index to a set pointer under RCU,\nthen took ip_set_ref_lock in __ip_set_put() to decrement set-\u003eref.\nip_set_swap() holds that same lock while swapping both the ip_set_list\nslots and the two sets' ref counters, so it can interleave between the\ndereference and the lock acquisition, leaving the caller to decrement a\nset whose reference already moved to the other index and hit\nBUG_ON(set-\u003eref == 0). list_set_gc() reaches this from timer softirq,\nwhich the nfnl mutex does not serialize against swap: an expiring\nlist:set member calls list_set_del() -\u003e ip_set_put_byindex() while\nIPSET_CMD_SWAP runs on the referenced sets.\n\nResolve the index and decrement under ip_set_ref_lock, as ip_set_swap()\nalready does, keeping the refcount tied to the index rather than to a\nstale set pointer.\n\n  kernel BUG at net/netfilter/ipset/ip_set_core.c:685!\n  Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI\n  RIP: 0010:ip_set_put_byindex (net/netfilter/ipset/ip_set_core.c:870)\n  Call Trace:\n   \u003cIRQ\u003e\n   list_set_del (net/netfilter/ipset/ip_set_list_set.c:159)\n   set_cleanup_entries (net/netfilter/ipset/ip_set_list_set.c:181)\n   list_set_gc (net/netfilter/ipset/ip_set_list_set.c:578)\n   call_timer_fn (kernel/time/timer.c:1748)\n   __run_timers (kernel/time/timer.c:1799 kernel/time/timer.c:2374)\n   run_timer_softirq (kernel/time/timer.c:2405)\n   \u003c/IRQ\u003e\n  Kernel panic - not syncing: Fatal exception in interrupt",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c 97a01de0c6321b7210d30d0a4d60f10f561097c7",
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c c21afc7c216a4d257a4f3f300e0791890bc846b9",
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c b0aab9dd1a348b99d75ff52765719d0cc2050630",
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c b891e7a6bb06e0f6560e5932665ac660acd12225",
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c 20cb13a523f0a05cb2d0a7d72abae687683712e0",
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c cb20da33839f28f590c99f16bafaa6151451c0e8",
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c 24ffcb1e1688c55fd2a505f064295cd28eac546d",
          "\u003e= 9076aea76538556224e7d73ab718f8841330818a, \u003c 0c88868271653537ed443272dd8e7d13634d214b"
        ],
        "fixed_in": [
          "97a01de0c6321b7210d30d0a4d60f10f561097c7",
          "c21afc7c216a4d257a4f3f300e0791890bc846b9",
          "b0aab9dd1a348b99d75ff52765719d0cc2050630",
          "b891e7a6bb06e0f6560e5932665ac660acd12225",
          "20cb13a523f0a05cb2d0a7d72abae687683712e0",
          "cb20da33839f28f590c99f16bafaa6151451c0e8",
          "24ffcb1e1688c55fd2a505f064295cd28eac546d",
          "0c88868271653537ed443272dd8e7d13634d214b"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "3.8"
        ],
        "fixed_in": [
          "0",
          "5.10.266",
          "5.15.217",
          "6.1.184",
          "6.6.153",
          "6.12.105",
          "6.18.46",
          "7.1.10",
          "7.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to 97a01de0c6321b7210d30d0a4d60f10f561097c7 or c21afc7c216a4d257a4f3f300e0791890bc846b9 or b0aab9dd1a348b99d75ff52765719d0cc2050630 or b891e7a6bb06e0f6560e5932665ac660acd12225 or 20cb13a523f0a05cb2d0a7d72abae687683712e0 or cb20da33839f28f590c99f16bafaa6151451c0e8 or 24ffcb1e1688c55fd2a505f064295cd28eac546d or 0c88868271653537ed443272dd8e7d13634d214b or later.",
      "Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.184 or 6.6.153 or 6.12.105 or 6.18.46 or 7.1.10 or 7.2 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
