CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's zynqmp_power driver, which improperly registers event handlers for suspend and subsystem restart events before allocating the necessary work structures. This oversight creates a race condition that can lead to a NULL pointer dereference and subsequent system crash if an event is triggered immediately after registration. Organizations utilizing affected Linux kernel versions, particularly those deploying Xilinx Zynq UltraScale+ MPSoC devices, should prioritize addressing this vulnerability to maintain system stability and prevent unexpected downtime.
Original NVD Description
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.