Linux kernel use-after-free in IR raw event handling
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
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().
From the CVE record · Linux
The Linux kernel's IR event handler has a use-after-free vulnerability. If device unregistration occurs while IR is being processed, the handler can access a stopped thread. The input does not specify whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with the affected media rc code should check their kernel version; affected versions are not specified.