Skip to contentSkip to conversation

CVE-2026-99048: gve: fix napi_disable deadlock when attempting to disable XSK pools

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

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

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

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

gve: fix napi_disable deadlock when attempting to disable XSK pools

When disabling XSK pools, GVE calls the unlocked versions of napi_disable and napi_enable. However, the netdev lock has already been acquired before ndo_bpf is called because GVE supports queue management ops. Calling the unlocked versions of napi_disable/enable results in a deadlock when attempting to disable XSK pools, as the thread attempts to re-acquire a lock it already holds.

Update the NAPI calls to use the locked versions.

This issue was found in production.

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

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

	Issue introduced in 6.16 with commit 606048cbd8346e616cfaee01b0143d072534136d and fixed in 6.18.57 with commit 42935a61001927aa01db10b53b420efd37eaa99b
	Issue introduced in 6.16 with commit 606048cbd8346e616cfaee01b0143d072534136d and fixed in 7.2.11 with commit 3d377911ce81fd4e61af814e750d8e08879a5208
	Issue introduced in 6.16 with commit 606048cbd8346e616cfaee01b0143d072534136d and fixed in 7.3 with commit 0cb6939a4dfefa822007b7a71986e06bc4f61f54

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

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/google/gve/gve_main.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/42935a61001927aa01db10b53b420efd37eaa99b
	https://git.kernel.org/stable/c/3d377911ce81fd4e61af814e750d8e08879a5208
	https://git.kernel.org/stable/c/0cb6939a4dfefa822007b7a71986e06bc4f61f54