Skip to contentSkip to conversation

CVE-2026-45901: netfilter: nf_tables: revert commit_mutex usage in reset path

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

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: nf_tables: revert commit_mutex usage in reset path

It causes circular lock dependency between commit_mutex, nfnl_subsys_ipset and nlk_cb_mutex when nft reset, ipset list, and iptables-nft with '-m set' rule run at the same time.

Previous patches made it safe to run individual reset handlers concurrently so commit_mutex is no longer required to prevent this.

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

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

	Issue introduced in 6.7 with commit 3cb03edb4de33fd04c4ea55f47397b96a8657c53 and fixed in 6.19.4 with commit ee3978b6a0dcd4215cb7cedcba705a12174786a7
	Issue introduced in 6.7 with commit 3cb03edb4de33fd04c4ea55f47397b96a8657c53 and fixed in 7.0 with commit 7f261bb906bf527c4a6e2a646e2d5f3679f2a8bc
	Issue introduced in 6.1.107 with commit fb1adb05ea87b6149e65a31e511756c4f470d0cd
	Issue introduced in 6.6.48 with commit f123293db16dcd0cd81b246ae60e6362f0025d0a

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-45901

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_tables_api.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/ee3978b6a0dcd4215cb7cedcba705a12174786a7
	https://git.kernel.org/stable/c/7f261bb906bf527c4a6e2a646e2d5f3679f2a8bc