data built 2026-10-19T13:16:53Z

Look up another CVE · open CVE-2026-97608 in the interactive tracker

CVE-2026-97608

netfilter: nf_log: unregister loggers before per-net teardown

7.0 EPSS 0.1% AV:L

Published 2026-09-25 (24 days ago) by the Linux kernel CNA. Subsystem net/netfilter. Debian urgency: not yet assigned.

What to do, per Debian release

Debian's own status for CVE-2026-97608 in every release this site tracks, and what each one means in practice. Every status below is the one the Debian Security Team publishes for this CVE. source

ReleaseStatus VersionWhat this means
Debian 12bookwormfixedDLA-4841-1 · 2026-10-17 · text6.1.190-1Update the kernel and reboot. DLA-4841-1 shipped the fix on 2026-10-17, in 6.1.190-1. A running kernel keeps the old code until the machine restarts.
Debian 13trixiefixedDSA-6528-1 · 2026-09-29 · text6.12.111-1Update the kernel and reboot. DSA-6528-1 shipped the fix on 2026-09-29, in 6.12.111-1. A running kernel keeps the old code until the machine restarts.
Debian 14forkyfixed7.2.7-1Update the kernel and reboot. Fixed in 7.2.7-1. A running kernel keeps the old code until the machine restarts.
Debian unstablesidfixed7.2.7-1Update the kernel and reboot. Fixed in 7.2.7-1. A running kernel keeps the old code until the machine restarts.
Debian 12bookworm · linux-6.12fixedDLA-4817-1 · 2026-10-04 · text6.12.111-1~deb12u1Update the kernel and reboot. DLA-4817-1 shipped the fix on 2026-10-04, in 6.12.111-1~deb12u1. A running kernel keeps the old code until the machine restarts.

The vulnerability

What the bug is

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.

Where it lives

The fix touches these files. If the subsystem is one you do not use, the practical exposure is lower, though the package is still the vulnerable one.

net/netfilter/nf_log_syslog.c
net/netfilter/nfnetlink_log.c

What this is
NETFILTERMAINTAINERS section matched on net/netfilter/ · netfilter-devel@vger.kernel.org · Maintained
Kernel module
nf_log_syslog

Check it on the machine

grep -wE 'CONFIG_NETFILTER|CONFIG_NF_LOG_SYSLOG' /boot/config-$(uname -r)

Reads the booted kernel's own configuration, on the machine and nowhere else. =y is built in, =m is a module, and an is not set line means the code is not there.

lsmod | grep -w nf_log_syslog

Prints a line if that module is loaded right now, and nothing if it is not. One that is not loaded can still be loaded later by anything that needs it.

Show whether Debian builds this, per release

Debian builds this as a loadable module. Every release below compiles it as a module on every flavour, so whether the code is in the running kernel depends on whether that module is loaded.

  • bookworm, trixie, forky, sid, bookworm · linux-6.12m
m
a loadable module on every flavour - check lsmod, can be blacklisted
Build switches
CONFIG_NETFILTER, CONFIG_NF_LOG_SYSLOG
Reads as
all on means the file is compiled; any one off means it is not.

From the configuration Debian publishes for every kernel flavour it builds. It covers only the architectures Debian ships a linux-config package for, and nothing about a kernel you built yourself. Debian's own status above stays authoritative about the source package.MAINTAINERS kbuild Makefiles Debian linux-config packages

Signals

Published
2026-09-25 (24 days ago)source
CVSS
7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hsource recompute it
Attack vector
local (AV:L)source
EPSS
0.14%, higher than 3.4% of all CVEssource
CISA KEV
not listedthe KEV catalogue
Debian urgency
not yet assignedsource
Subsystem
net/netfilter

Upstream fixes

The versions the CNA records as introducing and fixing this, and the commit for each. source

IntroducedFixed inCommit
3.105.15.22251417230716b
3.106.1.189b0514ca1ee6f
3.106.6.15890166834b7dc
3.106.12.111eaec35fae8f2
3.106.18.5364803ba0a057
3.107.2.7dce24f3a1469
3.107.32c018cc4842c

Debian advisories

AdvisoryDateShipped toDebian
DLA-4841-12026-10-17bookworm 6.1.190-1tracker
DLA-4817-12026-10-04bookworm 6.12.111-1~deb12u1tracker
DSA-6528-12026-09-29trixie 6.12.111-1tracker

Why the CNA scored it this way

Quoted from the kernel CNA's own scoring file, word for word. A highlighted metric carries the most severe value CVSS v3.1 defines for it, which is what pushes the score up. source

AV:LAttack vector, local
Both sides of the race are local. One is module exit (nf_log_syslog_exit or nfnetlink_log_fini through delete_module). The other is a write to the net.netfilter.nf_log.<pf> sysctl, handled by nf_log_proc_dostring(), or an NFULNL_CFG_CMD_PF_BIND message over nfnetlink. No remote peer supplies anything that causes the stale nf_loggers[] pointer.
AC:HAttack complexity, high
The attacker controls the rebind side, but the other side is a module unload that needs init-namespace CAP_SYS_MODULE. The attacker cannot make it happen. They must win the short window between nf_log_unset() in the per-net pre-exit and nf_log_unregister() while an admin unloads the module.
PR:LPrivileges required, low
nf_log_proc_dostring() rebinds net->nf.nf_loggers[pf] from the per-netns sysctl, which is writable in a non-init netns. The nfnetlink PF_BIND path only checks netlink_net_capable(CAP_NET_ADMIN). So user namespaces (unshare -Urn) are enough for the attacker's side.
UI:NUser interaction, none
No victim action on attacker-supplied content is needed. The module unload is an admin action outside the attacker's control and is already counted under AC:H.
S:UScope, unchanged
The stale logger pointer is used inside the same kernel. Nothing crosses a VM, IOMMU or other security boundary.
C:HConfidentiality impact, high
After the module is freed, a sysctl read dereferences logger->name, and nf_log_packet() calls logger->logfn through the dangling nf_loggers[pf] pointer. This is a use-after-free of freed module memory that can be leveraged to disclose kernel memory.
I:HIntegrity impact, high
nf_log_packet() makes an indirect call through logger->logfn in the freed module's memory. If that memory is reused, this gives control-flow hijacking and memory corruption.
A:HAvailability impact, high
Logging a packet, or reading the sysctl, after the logger module is gone faults on the unmapped or reused module memory and oopses the kernel.