Skip to contentSkip to conversation

CVE-2026-93288: netfilter: nfnetlink_log: wait for rcu grace period before freeing pernet state

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

netfilter: nfnetlink_log: wait for rcu grace period before freeing pernet state

sashiko reports: "nfnl_log_net_exit() calls nf_log_unset(), which clears the logger pointer without an RCU grace period. Immediately after, ops_free_list() frees the per-net state while concurrent packets might still be executing nf_log_packet() under rcu_read_lock()."

Clear the pointer via .pre_exit to make sure rcu readers have completed before pernet storage is free'd. The change in nf_log_syslog.c is only done for consistency: it doesn't use pernet data.

The Linux kernel CVE team has assigned CVE-2026-93288 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.111 with commit f4461654374576e9d5d0245fd534c46ad8509051
	Fixed in 6.18.53 with commit dc20050b6b12ca58066715d088e1a537535d938d
	Fixed in 7.2 with commit 33d1469b0124cc0baaea7a2032123b77a81e0940

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-93288

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
net/netfilter/nf_log_syslog.c
net/netfilter/nfnetlink_log.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/f4461654374576e9d5d0245fd534c46ad8509051
	https://git.kernel.org/stable/c/dc20050b6b12ca58066715d088e1a537535d938d
	https://git.kernel.org/stable/c/33d1469b0124cc0baaea7a2032123b77a81e0940