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]
Affected products
- Linux / Linuxebc3d179150347f3b6d97d8f249378bb2218f95e – c4295487124f461405e1ef64dfa8c4ab0cb7ebcf
- Linux / Linuxebc3d179150347f3b6d97d8f249378bb2218f95e – 106d594711e97762788046c5bbb94f580abc4bf4
- Linux / Linuxebc3d179150347f3b6d97d8f249378bb2218f95e – 2081957d8c323ffb58a10bc64837717ac5a042a1
- Linux / Linuxebc3d179150347f3b6d97d8f249378bb2218f95e – b660ba045b2b22cf3b4be72773de00cb48f47be5
- Linux / Linuxebc3d179150347f3b6d97d8f249378bb2218f95e – ac4d8bb6e2e13e8684a76ea48d13ebaaaf5c24c4
- Linux / Linux5.3 – 5.3
- Linux / Linux0 – 5.3
- Linux / Linux6.6.141 – 6.6.*
- Linux / Linux6.12.91 – 6.12.*
- Linux / Linux6.18.33 – 6.18.*
- Linux / Linux7.0.10 – 7.0.*
- Linux / Linux7.1 – *
References
- MISChttps://git.kernel.org/stable/c/c4295487124f461405e1ef64dfa8c4ab0cb7ebcf
- MISChttps://git.kernel.org/stable/c/106d594711e97762788046c5bbb94f580abc4bf4
- MISChttps://git.kernel.org/stable/c/2081957d8c323ffb58a10bc64837717ac5a042a1
- MISChttps://git.kernel.org/stable/c/b660ba045b2b22cf3b4be72773de00cb48f47be5
- MISChttps://git.kernel.org/stable/c/ac4d8bb6e2e13e8684a76ea48d13ebaaaf5c24c4