CVE-2026-80548: s390/vfio_ccw: Selectively expand io_mutex
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
s390/vfio_ccw: Selectively expand io_mutex
The io_mutex was defined to serialize the io_regions, but then has also sort of been associated with the I/O themselves because of the close relationship they share.
With the handful of races that are possible, the choices are either to:
A) expand the scope of io_mutex to close these remaining windows, or
B) reduce the scope of io_mutex to just io_region, and introduce a new lock mechanism for the remaining I/O resources
This patch implements A, since B brings with it a lot more interactions that would need to be tracked and kept in a correct hierarchy. It also takes advantage of the workqueue element for cp_free() that now gets called out of fsm_notoper(), which could be invoked out of an interrupt context and thus cannot acquire a mutex itself.
The Linux kernel CVE team has assigned CVE-2026-80548 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.2 with commit 4f76617378ee97c557b526cb58d3c61eb0a9c963 and fixed in 6.6.153 with commit f72a51810d49411bd8cad0c2df8592320a2fe5cc Issue introduced in 5.2 with commit 4f76617378ee97c557b526cb58d3c61eb0a9c963 and fixed in 6.12.105 with commit 2ba9efdf9ebedc4e54df4b56aa3b43a65f7967cd Issue introduced in 5.2 with commit 4f76617378ee97c557b526cb58d3c61eb0a9c963 and fixed in 6.18.46 with commit b6aecea4b2b246f9fbd98a5712daa1193a60818e Issue introduced in 5.2 with commit 4f76617378ee97c557b526cb58d3c61eb0a9c963 and fixed in 7.1.10 with commit 2a5ac0c0f1f7da33929211a2e41911bf72ee35d8 Issue introduced in 5.2 with commit 4f76617378ee97c557b526cb58d3c61eb0a9c963 and fixed in 7.2 with commit 34f4feff3e90bd09308fad0974e97113b23b812a
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-80548
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_chp.c drivers/s390/cio/vfio_ccw_cp.c drivers/s390/cio/vfio_ccw_drv.c drivers/s390/cio/vfio_ccw_fsm.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/f72a51810d49411bd8cad0c2df8592320a2fe5cc https://git.kernel.org/stable/c/2ba9efdf9ebedc4e54df4b56aa3b43a65f7967cd https://git.kernel.org/stable/c/b6aecea4b2b246f9fbd98a5712daa1193a60818e https://git.kernel.org/stable/c/2a5ac0c0f1f7da33929211a2e41911bf72ee35d8 https://git.kernel.org/stable/c/34f4feff3e90bd09308fad0974e97113b23b812a