NetSight
high7.8

CVE-2023-52840

In the Linux kernel, the following vulnerability has been resolved: Input: synaptics-rmi4 - fix use after free in rmi_unregister_function() The put_device() ca…

Impact

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

VendorProductAffected versions
LinuxLinux Kernel
from 4.18 before 4.19.299
from 4.20 before 5.4.261
from 5.5 before 5.10.201
from 5.11 before 5.15.139
from 5.16 before 6.1.63
from 6.2 before 6.5.12

Weakness classification

References