# CVE-2026-97608: netfilter: nf\_log: unregister loggers before per-net teardown

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

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; 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.16% (percentile 2, 2026-11-26)
- **Published:** 2026-09-25T10:22:19.030Z
- **Modified:** 2026-10-19T10:17:30.720Z

## Who should check

- Anyone running Linux \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 51417230716b73f6aa1dc402b3a56d3382a694dc; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< b0514ca1ee6f2b708d6c602ea946acdfc6a90e24; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 90166834b7dc6131aa42b6b14b8b4ed47be97079; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< eaec35fae8f2052c1878a5c7cc7699d8357d79f2; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 64803ba0a05791cf9ca874466480e4c4cadaf7ab; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< dce24f3a146948595bb1b86347f31e20b4975daa; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 2c018cc4842c33f0c732962e2ab58635e8ae5823
- Anyone running Linux 3.10

## Description

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.

## Affected and fixed versions

- Linux: \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 51417230716b73f6aa1dc402b3a56d3382a694dc; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< b0514ca1ee6f2b708d6c602ea946acdfc6a90e24; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 90166834b7dc6131aa42b6b14b8b4ed47be97079; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< eaec35fae8f2052c1878a5c7cc7699d8357d79f2; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 64803ba0a05791cf9ca874466480e4c4cadaf7ab; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< dce24f3a146948595bb1b86347f31e20b4975daa; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 2c018cc4842c33f0c732962e2ab58635e8ae5823 (cvelist)
- Linux: 3.10 (cvelist)

## Mitigation

- Upgrade Linux to 2c018cc4842c33f0c732962e2ab58635e8ae5823 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-97608. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97608.md
Affected: Linux >= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, < 51417230716b73f6aa1dc402b3a56d3382a694dc; >= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, < b0514ca1ee6f2b708d6c602ea946acdfc6a90e24; >= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, < 90166834b7dc6131aa42b6b14b8b4ed47be97079; >= 5b023fc8d8e0997e0b7ea65…
Fixed in: Linux 51417230716b73f6aa1dc402b3a56d3382a694dc, Linux 90166834b7dc6131aa42b6b14b8b4ed47be97079, Linux 64803ba0a05791cf9ca874466480e4c4cadaf7ab, Linux 2c018cc4842c33f0c732962e2ab58635e8ae5823

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-97608 being exploited?

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

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

High: CVSS 7.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

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

Linux \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 51417230716b73f6aa1dc402b3a56d3382a694dc; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< b0514ca1ee6f2b708d6c602ea946acdfc6a90e24; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 90166834b7dc6131aa42b6b14b8b4ed47be97079; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< eaec35fae8f2052c1878a5c7cc7699d8357d79f2; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 64803ba0a05791cf9ca874466480e4c4cadaf7ab; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< dce24f3a146948595bb1b86347f31e20b4975daa; \>= 5b023fc8d8e0997e0b7ea6506d243afd5478c96e, \< 2c018cc4842c33f0c732962e2ab58635e8ae5823; Linux 3.10.

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

Yes. Fixed in Linux 51417230716b73f6aa1dc402b3a56d3382a694dc, Linux 90166834b7dc6131aa42b6b14b8b4ed47be97079, Linux 64803ba0a05791cf9ca874466480e4c4cadaf7ab, Linux 2c018cc4842c33f0c732962e2ab58635e8ae5823. Upgrade Linux to 2c018cc4842c33f0c732962e2ab58635e8ae5823 or later.

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

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/51417230716b73f6aa1dc402b3a56d3382a694dc>
- other: <https://git.kernel.org/stable/c/b0514ca1ee6f2b708d6c602ea946acdfc6a90e24>
- other: <https://git.kernel.org/stable/c/90166834b7dc6131aa42b6b14b8b4ed47be97079>
- other: <https://git.kernel.org/stable/c/eaec35fae8f2052c1878a5c7cc7699d8357d79f2>
- other: <https://git.kernel.org/stable/c/64803ba0a05791cf9ca874466480e4c4cadaf7ab>
- other: <https://git.kernel.org/stable/c/dce24f3a146948595bb1b86347f31e20b4975daa>
- other: <https://git.kernel.org/stable/c/2c018cc4842c33f0c732962e2ab58635e8ae5823>

## 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-97608>

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