Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56 · < cc56c4d17721dcb10ad4e9c9266e449be1462683| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
The put_device() calls rmi_release_function() which frees "fn" so the dereference on the next line "fn->num_of_irqs" is a use after free. Move the put_device() to the end to fix this.
From the CVE record · Linux
The Linux kernel's synaptics-rmi4 driver has a use-after-free in rmi_unregister_function(): put_device() frees a structure that the code then accesses. The input does not specify what an attacker could do or whether exploitation requires network or local access, authentication, or user interaction.
Engineers running Linux kernels with the synaptics-rmi4 driver should check their installations; affected versions are not specified.