Skip to contentSkip to conversation

CVE-2026-80549: s390/vfio_ccw: Move cp cleanup out of not operational

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 26

lore
Share & tools
lore
#0 lore raw

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

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

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

s390/vfio_ccw: Move cp cleanup out of not operational

The fsm_notoper() routine is called when the device has been lost, and is (by definition) no longer operational. Since this can happen asynchronously from the normal behavior of the driver, the cleanup may happen when holding other locks in the calling sequence (notably, the cio subchannel lock).

Push the cleanup of the private->cp resources to a workqueue, where it can be done out from under that lock sequence and a future patch can safely manage the locking requirements.

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

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

	Issue introduced in 6.0 with commit 204b394a23ad5e30944f23518e21e844614da2ff and fixed in 6.6.153 with commit f98a9890ca42f4223d2d4c50e0660af3e012fcb4
	Issue introduced in 6.0 with commit 204b394a23ad5e30944f23518e21e844614da2ff and fixed in 6.12.105 with commit 4e3301e2a651d742c05914f6074a25b8e41bce19
	Issue introduced in 6.0 with commit 204b394a23ad5e30944f23518e21e844614da2ff and fixed in 6.18.46 with commit af1759d8e6e6da9ba94f30a2f92546f406899aa7
	Issue introduced in 6.0 with commit 204b394a23ad5e30944f23518e21e844614da2ff and fixed in 7.1.10 with commit 56100baa0eb7055b1026dfa73e696e8066ff71fd
	Issue introduced in 6.0 with commit 204b394a23ad5e30944f23518e21e844614da2ff and fixed in 7.2 with commit 0c11f61a876ed6fcca53d442ed3f33ea8362a0f9

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

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/s390/cio/vfio_ccw_drv.c
	drivers/s390/cio/vfio_ccw_fsm.c
	drivers/s390/cio/vfio_ccw_ops.c
	drivers/s390/cio/vfio_ccw_private.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/f98a9890ca42f4223d2d4c50e0660af3e012fcb4
	https://git.kernel.org/stable/c/4e3301e2a651d742c05914f6074a25b8e41bce19
	https://git.kernel.org/stable/c/af1759d8e6e6da9ba94f30a2f92546f406899aa7
	https://git.kernel.org/stable/c/56100baa0eb7055b1026dfa73e696e8066ff71fd
	https://git.kernel.org/stable/c/0c11f61a876ed6fcca53d442ed3f33ea8362a0f9