In the Linux kernel, the following vulnerability has been resolved: fbdev: atmel_lcdfb: Prevent FIFO work after removal The LCD controller IRQ schedules sinfo->task to recover from a FIFO underflow. Probe currently requests the IRQ before initializing the work, so an early interrupt can schedule an uninitialized work item. The probe error path and remove path cancel the work before freeing the IRQ. A FIFO-underflow interrupt can schedule the work again after that cancellation. framebuffer_release() may then free sinfo while the work is still pending. KASAN reported a use-after-free in atmel_lcdfb_task() when an underflow interrupt occurred during removal. With the IRQ freed before the work was cancelled, the same test completed without a kernel diagnostic. Initialize the work before requesting the IRQ. In both cleanup paths, free the IRQ before cancelling the work so that it cannot be scheduled again after cancellation.
https://git.kernel.org/stable/c/f099d5adad31609a6de64aea12a8609734570b00
https://git.kernel.org/stable/c/3b0be34d9d1e7add0c9b99b0b4b969ca56d81066
https://git.kernel.org/stable/c/20b3b97cf89cb381bf07516090d99399cc9b91fd
https://git.kernel.org/stable/c/0c782a29f66eab8f2f9ce2b4325cfb5b9f01f8ff