# CVE-2026-74748: netfilter: ipset: fix refcount race between list:set GC and swap

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-26T14:36:57.164Z
- **Modified:** 2026-10-16T20:17:56.600Z

## Who should check

- Anyone running Linux \>= 9076aea76538556224e7d73ab718f8841330818a, \< 97a01de0c6321b7210d30d0a4d60f10f561097c7; \>= 9076aea76538556224e7d73ab718f8841330818a, \< c21afc7c216a4d257a4f3f300e0791890bc846b9; \>= 9076aea76538556224e7d73ab718f8841330818a, \< b0aab9dd1a348b99d75ff52765719d0cc2050630; \>= 9076aea76538556224e7d73ab718f8841330818a, \< b891e7a6bb06e0f6560e5932665ac660acd12225; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 20cb13a523f0a05cb2d0a7d72abae687683712e0; \>= 9076aea76538556224e7d73ab718f8841330818a, \< cb20da33839f28f590c99f16bafaa6151451c0e8; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 24ffcb1e1688c55fd2a505f064295cd28eac546d; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 0c88868271653537ed443272dd8e7d13634d214b
- Anyone running Linux 3.8

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: ipset: fix refcount race between list:set GC and swap

\_\_ip\_set\_put\_byindex() resolved the index to a set pointer under RCU,
then took ip\_set\_ref\_lock in \_\_ip\_set\_put() to decrement set-\>ref.
ip\_set\_swap() holds that same lock while swapping both the ip\_set\_list
slots and the two sets' ref counters, so it can interleave between the
dereference and the lock acquisition, leaving the caller to decrement a
set whose reference already moved to the other index and hit
BUG\_ON(set-\>ref == 0). list\_set\_gc() reaches this from timer softirq,
which the nfnl mutex does not serialize against swap: an expiring
list:set member calls list\_set\_del() -\> ip\_set\_put\_byindex() while
IPSET\_CMD\_SWAP runs on the referenced sets.

Resolve the index and decrement under ip\_set\_ref\_lock, as ip\_set\_swap()
already does, keeping the refcount tied to the index rather than to a
stale set pointer.

  kernel BUG at net/netfilter/ipset/ip\_set\_core.c:685!
  Oops: invalid opcode: 0000 \[\#1\] SMP KASAN NOPTI
  RIP: 0010:ip\_set\_put\_byindex (net/netfilter/ipset/ip\_set\_core.c:870)
  Call Trace:
   \<IRQ\>
   list\_set\_del (net/netfilter/ipset/ip\_set\_list\_set.c:159)
   set\_cleanup\_entries (net/netfilter/ipset/ip\_set\_list\_set.c:181)
   list\_set\_gc (net/netfilter/ipset/ip\_set\_list\_set.c:578)
   call\_timer\_fn (kernel/time/timer.c:1748)
   \_\_run\_timers (kernel/time/timer.c:1799 kernel/time/timer.c:2374)
   run\_timer\_softirq (kernel/time/timer.c:2405)
   \</IRQ\>
  Kernel panic - not syncing: Fatal exception in interrupt

## Affected and fixed versions

- Linux: \>= 9076aea76538556224e7d73ab718f8841330818a, \< 97a01de0c6321b7210d30d0a4d60f10f561097c7; \>= 9076aea76538556224e7d73ab718f8841330818a, \< c21afc7c216a4d257a4f3f300e0791890bc846b9; \>= 9076aea76538556224e7d73ab718f8841330818a, \< b0aab9dd1a348b99d75ff52765719d0cc2050630; \>= 9076aea76538556224e7d73ab718f8841330818a, \< b891e7a6bb06e0f6560e5932665ac660acd12225; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 20cb13a523f0a05cb2d0a7d72abae687683712e0; \>= 9076aea76538556224e7d73ab718f8841330818a, \< cb20da33839f28f590c99f16bafaa6151451c0e8; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 24ffcb1e1688c55fd2a505f064295cd28eac546d; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 0c88868271653537ed443272dd8e7d13634d214b (cvelist)
- Linux: 3.8 (cvelist)

## Mitigation

- Upgrade Linux to 0c88868271653537ed443272dd8e7d13634d214b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74748. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74748.md
Affected: Linux >= 9076aea76538556224e7d73ab718f8841330818a, < 97a01de0c6321b7210d30d0a4d60f10f561097c7; >= 9076aea76538556224e7d73ab718f8841330818a, < c21afc7c216a4d257a4f3f300e0791890bc846b9; >= 9076aea76538556224e7d73ab718f8841330818a, < b0aab9dd1a348b99d75ff52765719d0cc2050630; >= 9076aea76538556224e7d73…
Fixed in: Linux 97a01de0c6321b7210d30d0a4d60f10f561097c7, Linux 20cb13a523f0a05cb2d0a7d72abae687683712e0, Linux 24ffcb1e1688c55fd2a505f064295cd28eac546d, Linux 0c88868271653537ed443272dd8e7d13634d214b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74748 being exploited?

There is no confirmed exploitation: CVE-2026-74748 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74748?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74748?

Linux \>= 9076aea76538556224e7d73ab718f8841330818a, \< 97a01de0c6321b7210d30d0a4d60f10f561097c7; \>= 9076aea76538556224e7d73ab718f8841330818a, \< c21afc7c216a4d257a4f3f300e0791890bc846b9; \>= 9076aea76538556224e7d73ab718f8841330818a, \< b0aab9dd1a348b99d75ff52765719d0cc2050630; \>= 9076aea76538556224e7d73ab718f8841330818a, \< b891e7a6bb06e0f6560e5932665ac660acd12225; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 20cb13a523f0a05cb2d0a7d72abae687683712e0; \>= 9076aea76538556224e7d73ab718f8841330818a, \< cb20da33839f28f590c99f16bafaa6151451c0e8; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 24ffcb1e1688c55fd2a505f064295cd28eac546d; \>= 9076aea76538556224e7d73ab718f8841330818a, \< 0c88868271653537ed443272dd8e7d13634d214b; Linux 3.8.

### Is there a fix for CVE-2026-74748?

Yes. Fixed in Linux 97a01de0c6321b7210d30d0a4d60f10f561097c7, Linux 20cb13a523f0a05cb2d0a7d72abae687683712e0, Linux 24ffcb1e1688c55fd2a505f064295cd28eac546d, Linux 0c88868271653537ed443272dd8e7d13634d214b. Upgrade Linux to 0c88868271653537ed443272dd8e7d13634d214b or later.

### How do I check if I'm affected by CVE-2026-74748?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/97a01de0c6321b7210d30d0a4d60f10f561097c7>
- other: <https://git.kernel.org/stable/c/c21afc7c216a4d257a4f3f300e0791890bc846b9>
- other: <https://git.kernel.org/stable/c/b0aab9dd1a348b99d75ff52765719d0cc2050630>
- other: <https://git.kernel.org/stable/c/b891e7a6bb06e0f6560e5932665ac660acd12225>
- other: <https://git.kernel.org/stable/c/20cb13a523f0a05cb2d0a7d72abae687683712e0>
- other: <https://git.kernel.org/stable/c/cb20da33839f28f590c99f16bafaa6151451c0e8>
- other: <https://git.kernel.org/stable/c/24ffcb1e1688c55fd2a505f064295cd28eac546d>
- other: <https://git.kernel.org/stable/c/0c88868271653537ed443272dd8e7d13634d214b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74748>

HTML: <https://flawdb.com/CVE-2026-74748> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74748>
