Skip to contentSkip to conversation

CVE-2026-23274: netfilter: xt_IDLETIMER: reject rev0 reuse of ALARM timer labels

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 20

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: xt_IDLETIMER: reject rev0 reuse of ALARM timer labels

IDLETIMER revision 0 rules reuse existing timers by label and always call mod_timer() on timer->timer.

If the label was created first by revision 1 with XT_IDLETIMER_ALARM, the object uses alarm timer semantics and timer->timer is never initialized. Reusing that object from revision 0 causes mod_timer() on an uninitialized timer_list, triggering debugobjects warnings and possible panic when panic_on_warn=1.

Fix this by rejecting revision 0 rule insertion when an existing timer with the same label is of ALARM type.

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

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

	Issue introduced in 5.7 with commit 68983a354a655c35d3fb204489d383a2a051fda7 and fixed in 6.18.19 with commit f5ef97c13165542480a6ffdbe6f09f40bbb7cbf1
	Issue introduced in 5.7 with commit 68983a354a655c35d3fb204489d383a2a051fda7 and fixed in 6.19.9 with commit f228b9ae2a7e84d1153616d8e71c4236cb1f1309
	Issue introduced in 5.7 with commit 68983a354a655c35d3fb204489d383a2a051fda7 and fixed in 7.0-rc4 with commit 329f0b9b48ee6ab59d1ab72fef55fe8c6463a6cf

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

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/xt_IDLETIMER.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/f5ef97c13165542480a6ffdbe6f09f40bbb7cbf1
	https://git.kernel.org/stable/c/f228b9ae2a7e84d1153616d8e71c4236cb1f1309
	https://git.kernel.org/stable/c/329f0b9b48ee6ab59d1ab72fef55fe8c6463a6cf