Skip to contentSkip to conversation

CVE-2026-99267: io_uring/napi: make stale entries time out after 60s

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Nov 3

lore
Share & tools
lore
#0 lore raw

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

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

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

io_uring/napi: make stale entries time out after 60s

With dynamic tracking a NAPI id that hasn't been seen for a minute is meant to be dropped from the list the ring busy polls. The timeout is added to jiffies, but it is defined as 60 * SEC_CONVERSION, and SEC_CONVERSION isn't the number of jiffies in a second. It is the internal factor of __timespec64_to_jiffies(), HZ scaled up by SEC_JIFFIE_SC bits. For HZ=1000 that is 1000 << 22, which puts the timeout at about eight years. On 32-bit the multiplication overflows.

So entries are never removed, and every id that a socket of the ring ever had keeps being polled on each wait.

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

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

	Issue introduced in 6.9 with commit 8d0c12a80cdeb80d5e0510e96d38fe551ed8e9b5 and fixed in 6.12.115 with commit 3fe820cf35f83534eab72ea73f1a83cfd3cd8079
	Issue introduced in 6.9 with commit 8d0c12a80cdeb80d5e0510e96d38fe551ed8e9b5 and fixed in 6.18.60 with commit 18c373f446068972788158c8c7de6e849b04ed98
	Issue introduced in 6.9 with commit 8d0c12a80cdeb80d5e0510e96d38fe551ed8e9b5 and fixed in 7.2.14 with commit 981621d6eadcd232d4ea748aaeb046337f10d3c1

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

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:
io_uring/napi.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/3fe820cf35f83534eab72ea73f1a83cfd3cd8079
	https://git.kernel.org/stable/c/18c373f446068972788158c8c7de6e849b04ed98
	https://git.kernel.org/stable/c/981621d6eadcd232d4ea748aaeb046337f10d3c1
	https://git.kernel.org/stable/c/9c151648780d89e5446e5f89f3fa2e416c3bb911