Skip to contentSkip to conversation

CVE-2026-23313: i40e: Fix preempt count leak in napi poll tracepoint

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 25

lore
Share & tools
lore
#0 lore raw

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

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

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

i40e: Fix preempt count leak in napi poll tracepoint

Using get_cpu() in the tracepoint assignment causes an obvious preempt count leak because nothing invokes put_cpu() to undo it:

softirq: huh, entered softirq 3 NET_RX with preempt_count 00000100, exited with 00000101?

This clearly has seen a lot of testing in the last 3+ years...

Use smp_processor_id() instead.

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

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

	Issue introduced in 6.2 with commit 6d4d584a7ea8fc8d2be77545cb503118c193738a and fixed in 6.12.77 with commit b7e91827e1cf89cd34ad11dc8f8c010b70ab786e
	Issue introduced in 6.2 with commit 6d4d584a7ea8fc8d2be77545cb503118c193738a and fixed in 6.18.17 with commit 9e0f091821571f0da387462803ee42f0bb157582
	Issue introduced in 6.2 with commit 6d4d584a7ea8fc8d2be77545cb503118c193738a and fixed in 6.19.7 with commit dca4ea596a3b0a1b82bc1d9f3e4d88bd9ad9561f
	Issue introduced in 6.2 with commit 6d4d584a7ea8fc8d2be77545cb503118c193738a and fixed in 7.0-rc3 with commit 4b3d54a85bd37ebf2d9836f0d0de775c0ff21af9

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

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:
drivers/net/ethernet/intel/i40e/i40e_trace.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/b7e91827e1cf89cd34ad11dc8f8c010b70ab786e
	https://git.kernel.org/stable/c/9e0f091821571f0da387462803ee42f0bb157582
	https://git.kernel.org/stable/c/dca4ea596a3b0a1b82bc1d9f3e4d88bd9ad9561f
	https://git.kernel.org/stable/c/4b3d54a85bd37ebf2d9836f0d0de775c0ff21af9