What’s Vulnerable › Vulnerabilities

CVE-2023-52840: Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.299, 5.10.201, 5.15.139, 5.4.261. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-52840 or the next vulnerability affects your stack