CVE-2026-72434: netfilter: ipset: make sure gc is properly stopped
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
netfilter: ipset: make sure gc is properly stopped
Sashiko noticed that when destroying a set,cancel_delayed_work_sync() was called while gc
calls queue_delayed_work() unconditionally which
can lead not to properly shutting down the gc.
The Linux kernel CVE team has assigned CVE-2026-72434 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.6 with commit f66ee0410b1c3481ee75e5db9b34547b4d582465 and fixed in 6.12.97 with commit c940d1b96248c3081b664ede5418078bdc7c8c07 Issue introduced in 5.6 with commit f66ee0410b1c3481ee75e5db9b34547b4d582465 and fixed in 6.18.40 with commit 12088da6add5b003657c8506c5b0fcef835083b8 Issue introduced in 5.6 with commit f66ee0410b1c3481ee75e5db9b34547b4d582465 and fixed in 7.1.5 with commit c78bd5195a5998094a5866df702fbeafda60dafb Issue introduced in 5.6 with commit f66ee0410b1c3481ee75e5db9b34547b4d582465 and fixed in 7.2-rc1 with commit 4a597a87e2e2f608edb6be2c510dc826b4fdfb53 Issue introduced in 5.4.24 with commit 5dd9488ae41070b69d2f4acb580f77db5705f9ca Issue introduced in 5.5.8 with commit a469bab3386aebff33c59506f3a95e35b91118fd
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-72434
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/ipset/ip_set_hash_gen.h
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/c940d1b96248c3081b664ede5418078bdc7c8c07 https://git.kernel.org/stable/c/12088da6add5b003657c8506c5b0fcef835083b8 https://git.kernel.org/stable/c/c78bd5195a5998094a5866df702fbeafda60dafb https://git.kernel.org/stable/c/4a597a87e2e2f608edb6be2c510dc826b4fdfb53