CVE-2026-53117: s390/cio: use generic driver_override infrastructure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
s390/cio: 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-53117 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.3 with commit ebc3d179150347f3b6d97d8f249378bb2218f95e and fixed in 6.6.141 with commit c4295487124f461405e1ef64dfa8c4ab0cb7ebcf Issue introduced in 5.3 with commit ebc3d179150347f3b6d97d8f249378bb2218f95e and fixed in 6.12.91 with commit 106d594711e97762788046c5bbb94f580abc4bf4 Issue introduced in 5.3 with commit ebc3d179150347f3b6d97d8f249378bb2218f95e and fixed in 6.18.33 with commit 2081957d8c323ffb58a10bc64837717ac5a042a1 Issue introduced in 5.3 with commit ebc3d179150347f3b6d97d8f249378bb2218f95e and fixed in 7.0.10 with commit b660ba045b2b22cf3b4be72773de00cb48f47be5 Issue introduced in 5.3 with commit ebc3d179150347f3b6d97d8f249378bb2218f95e and fixed in 7.1 with commit ac4d8bb6e2e13e8684a76ea48d13ebaaaf5c24c4
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-53117
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/cio.h drivers/s390/cio/css.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/c4295487124f461405e1ef64dfa8c4ab0cb7ebcf https://git.kernel.org/stable/c/106d594711e97762788046c5bbb94f580abc4bf4 https://git.kernel.org/stable/c/2081957d8c323ffb58a10bc64837717ac5a042a1 https://git.kernel.org/stable/c/b660ba045b2b22cf3b4be72773de00cb48f47be5 https://git.kernel.org/stable/c/ac4d8bb6e2e13e8684a76ea48d13ebaaaf5c24c4