CVE-2026-74748
netfilter: ipset: fix refcount race between list:set GC and swap
Check your servers for CVE-2026-74748
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74748 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.45% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 9076aea76538556224e7d73ab718f8841330818a, before 97a01de0c6321b7210d30d0a4d60f10f561097c7 affected from 9076aea76538556224e7d73ab718f8841330818a, before c21afc7c216a4d257a4f3f300e0791890bc846b9 affected from 9076aea76538556224e7d73ab718f8841330818a, before b0aab9dd1a348b99d75ff52765719d0cc2050630 affected from 9076aea76538556224e7d73ab718f8841330818a, before b891e7a6bb06e0f6560e5932665ac660acd12225 affected from 9076aea76538556224e7d73ab718f8841330818a, before 20cb13a523f0a05cb2d0a7d72abae687683712e0 affected from 9076aea76538556224e7d73ab718f8841330818a, before cb20da33839f28f590c99f16bafaa6151451c0e8 affected from 9076aea76538556224e7d73ab718f8841330818a, before 24ffcb1e1688c55fd2a505f064295cd28eac546d affected from 9076aea76538556224e7d73ab718f8841330818a, before 0c88868271653537ed443272dd8e7d13634d214b
Other versions: unaffected
|
| Linux |
affected 3.8 unaffected before 3.8 unaffected from 5.10.266 up to and including 5.10.* unaffected from 5.15.217 up to and including 5.15.* unaffected from 6.1.184 up to and including 6.1.* unaffected from 6.6.153 up to and including 6.6.* unaffected from 6.12.105 up to and including 6.12.* unaffected from 6.18.46 up to and including 6.18.* unaffected from 7.1.10 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74748 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74748
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-74748
trivy image --scanners vuln IMAGE | grep CVE-2026-74748
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/97a01de0c6321b7210d30d0a4d60f10f561097c7 git.kernel.org
- https://git.kernel.org/stable/c/c21afc7c216a4d257a4f3f300e0791890bc846b9 git.kernel.org
- https://git.kernel.org/stable/c/b0aab9dd1a348b99d75ff52765719d0cc2050630 git.kernel.org
- https://git.kernel.org/stable/c/b891e7a6bb06e0f6560e5932665ac660acd12225 git.kernel.org
- https://git.kernel.org/stable/c/20cb13a523f0a05cb2d0a7d72abae687683712e0 git.kernel.org
- https://git.kernel.org/stable/c/cb20da33839f28f590c99f16bafaa6151451c0e8 git.kernel.org
- https://git.kernel.org/stable/c/24ffcb1e1688c55fd2a505f064295cd28eac546d git.kernel.org
- https://git.kernel.org/stable/c/0c88868271653537ed443272dd8e7d13634d214b git.kernel.org
Source: the record CVE-2026-74748 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse