CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's charlcd driver, specifically in the handling of backlight work during registration failures. If the registration of the charlcd object fails, it can lead to a use-after-free condition, potentially allowing for unexpected behavior or system instability. Linux system administrators and developers utilizing the charlcd driver should prioritize applying the fix to mitigate any risks associated with this issue.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: auxdisplay: charlcd: cancel backlight work on registration failure With CONFIG_CHARLCD_BL_FLASH, charlcd_init() schedules bl_work before charlcd_register() calls misc_register(). If registration fails, the caller frees the charlcd object while delayed work still contains its address. Add charlcd_deinit() to cancel the delayed work and turn the backlight off. Use it for both registration rollback and normal unregistration.