In the Linux kernel, the following vulnerability has been resolved: media: rc: Use after free in ir_raw_event_handle() If rc_unregister_device() is called while IR is being processed, then ir_raw_event_handle() could call wake_up_process(dev->raw->thread) after kthread_stop(dev->raw->thread). Avoid use after free by using get_task_struct().
https://git.kernel.org/stable/c/ba90c13e3347d6765d00544280cff0401027d22a
https://git.kernel.org/stable/c/6d1be288650bb590aa3894bb060f8a5497c27bab
https://git.kernel.org/stable/c/3ae19773168104fa57d2a2ec57731e89df54175f
https://git.kernel.org/stable/c/31d5d26130bf4b53684e662e3c3add03662b69d3