soc: xilinx: Fix race condition in event registration
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 07ea9081b8fefb99e2f427e0f0602a5e576cb120, Kernel d349aa118ff5e4cab88424ce1b16e08edd70f8bb, Kernel e124f7b170337563d78a7a6aa152c897d229bc39 and 1 more.
In the Linux kernel, the following vulnerability has been resolved: soc: xilinx: Fix race condition in event registration The zynqmp_power driver registers handlers for suspend and subsystem restart events using register_event(). However, the work structures (zynqmp_pm_init_suspend_work and zynqmp_pm_init_restart_work) used by these handlers were allocated and initialized after the registration call. This created a race window where, if the firmware triggered an event immediately after registration but before allocation, the callback (suspend_event_callback or subsystem_restart_event_callback) would dereference a NULL pointer in work_pending(), leading to a crash. Fix this by allocating and initializing the work structures before registering the events.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.11, >=fcf544ac64397776a18246eba5a8ca72a47c4405 <07ea9081b8fefb99e2f427e0f0602a5e576cb120, >=fcf544ac64397776a18246eba5a8ca72a47c4405 <d349aa118ff5e4cab88424ce1b16e08edd70f8bb, >=fcf544ac64397776a18246eba5a8ca72a47c4405 <e124f7b170337563d78a7a6aa152c897d229bc39, >=fcf544ac64397776a18246eba5a8ca72a47c4405 <fb445935338405110baca8f541a2df3b4cb8d712 | 07ea9081b8fefb99e2f427e0f0602a5e576cb120, d349aa118ff5e4cab88424ce1b16e08edd70f8bb, e124f7b170337563d78a7a6aa152c897d229bc39, fb445935338405110baca8f541a2df3b4cb8d712 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket