CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's Direct Rendering Manager (DRM) subsystem, specifically during the registration process of DRM devices. If the registration of a minor device fails after another has already been registered, it can lead to a race condition where userspace can still access the device, potentially causing resource cleanup issues and system instability. Linux system administrators and developers utilizing the DRM subsystem should prioritize applying the fix to prevent potential exploitation and ensure system reliability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: drm: fix race between partial drm_dev_register() failure and ioctl If drm_dev_register() fails after registering a minor (e.g. render minor registered, primary minor fails), userspace could have opened the first minor and entered a drm_dev_enter() critical section. Since the unplugged flag was never set, the ioctl proceeds while the error path tears down device resources. Fix this by introducing drm_dev_synchronize_unplug(), which sets the unplugged flag and waits for the SRCU barrier, ensuring all in-flight drm_dev_enter() critical sections complete before cleanup proceeds; call it on the error path of drm_dev_register().