Skip to contentSkip to conversation

CVE-2026-80676: Drivers: hv: vmbus: use generic driver_override infrastructure

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 28

lore
Share & tools
lore
#0 lore raw

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

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

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

Drivers: hv: vmbus: use generic driver_override infrastructure

When a driver is probed through __driver_attach(), the bus' match() callback is called without the device lock held, thus accessing the driver_override field without a lock, which can cause a UAF.

Fix this by using the driver-core driver_override infrastructure taking care of proper locking internally.

Note that calling match() from __driver_attach() without the device lock held is intentional. [1]

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

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

	Issue introduced in 4.20 with commit d765edbb301c0e196015a59b17420558088ea33f and fixed in 6.12.97 with commit d1cb12ae81d2f7a58b0b1cfb51862afca98e6058
	Issue introduced in 4.20 with commit d765edbb301c0e196015a59b17420558088ea33f and fixed in 6.18.40 with commit 0e2f0833556c8c5269deb457b89d538644a3b747
	Issue introduced in 4.20 with commit d765edbb301c0e196015a59b17420558088ea33f and fixed in 7.1.5 with commit 2fb010ea7ca98cd09a6d365260b769f627e73a76
	Issue introduced in 4.20 with commit d765edbb301c0e196015a59b17420558088ea33f and fixed in 7.2 with commit 331d8900121a1d74ecd45cd2db742ddcb5a0a565

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

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/hv/vmbus_drv.c
include/linux/hyperv.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/d1cb12ae81d2f7a58b0b1cfb51862afca98e6058
	https://git.kernel.org/stable/c/0e2f0833556c8c5269deb457b89d538644a3b747
	https://git.kernel.org/stable/c/2fb010ea7ca98cd09a6d365260b769f627e73a76
	https://git.kernel.org/stable/c/331d8900121a1d74ecd45cd2db742ddcb5a0a565