CVE-2026-97608
netfilter: nf_log: unregister loggers before per-net teardown
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_log: unregister loggers before per-net teardown nf_log_syslog and nfnetlink_log unregister their per-network namespace operations before unregistering their global logger backends. This leaves a window where a sysctl or netlink writer can rebind the still- registered logger after the per-net pre-exit callback cleared the old selection. The race looks like this: CPU 0 CPU 1 ---- ---- unregister_pernet_subsys() nf_log_unset(net, logger) net->nf.nf_loggers[pf] = NULL lock nf_log_mutex find logger in loggers[][] net->nf.nf_loggers[pf] = logger unlock nf_log_mutex nf_log_unregister(logger) lock nf_log_mutex loggers[pf][type] = NULL unlock nf_log_mutex synchronize_rcu() module exit returns module core frees backend memory Later, a sysctl read or packet logging operation can dereference the stale per-net logger pointer. Fix this by unregistering the global logger backends before tearing down per-net state. Once the global registrations are gone, later writers can no longer rebind the logger. unregister_pernet_subsys() already waits for an RCU grace period after the pre-exit callback clears the per-net selection, while nf_log_unregister() continues to cover readers of the global logger table. Apply this ordering fix to both nf_log backends that combine per-net teardown with global logger registration.
EPSS 0.15% · 4.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-headers | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| perf | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| Linux | Linux | eaec35fae8f2052c1878a5c7cc7699d8357d79f2, dce24f3a146948595bb1b86347f31e20b4975daa, 64803ba0a05791cf9ca874466480e4c4cadaf7ab, 2c018cc4842c33f0c732962e2ab58635e8ae5823 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, 5b023fc8d8e0997e0b7ea6506d243afd5478c96e |
| Linux | Linux | 3.10, 0, 5.15.222 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| Linux | Linux | 6.1.189, 5.15.222, 5b023fc8d8e0997e0b7ea6506d243afd5478c96e |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.12.111-136.204 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
…and 20 more
Timeline
- Sep 25, 2026 Coalition ESS Score
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (6 in total, the first dated here)
- Oct 19, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-97608
vulnetix vdb fixes CVE-2026-97608
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97608/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart