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() calls rmi_release_function() which frees "fn" so the dereference on the next line…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.24%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.24% probability · 16th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-416
- Affected
- linux/linux kernel
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
References
- https://git.kernel.org/stable/c/2f236d8638f5b43e0c72919a6a27fe286c32053fPatch
- https://git.kernel.org/stable/c/303766bb92c5c225cf40f9bbbe7e29749406e2f2Patch
- https://git.kernel.org/stable/c/50d12253666195a14c6cd2b81c376e2dbeedbdffPatch
- https://git.kernel.org/stable/c/6c71e065befb2fae8f1461559b940c04e1071bd5Patch
- https://git.kernel.org/stable/c/7082b1fb5321037bc11ba1cf2d7ed23c6b2b521fPatch
- https://git.kernel.org/stable/c/c8e639f5743cf4b01f8c65e0df075fe4d782b585Patch
- https://git.kernel.org/stable/c/cc56c4d17721dcb10ad4e9c9266e449be1462683Patch
- https://git.kernel.org/stable/c/eb988e46da2e4eae89f5337e047ce372fe33d5b1Patch
- https://git.kernel.org/stable/c/2f236d8638f5b43e0c72919a6a27fe286c32053fPatch
- https://git.kernel.org/stable/c/303766bb92c5c225cf40f9bbbe7e29749406e2f2Patch
- https://git.kernel.org/stable/c/50d12253666195a14c6cd2b81c376e2dbeedbdffPatch
- https://git.kernel.org/stable/c/6c71e065befb2fae8f1461559b940c04e1071bd5Patch
- https://git.kernel.org/stable/c/7082b1fb5321037bc11ba1cf2d7ed23c6b2b521fPatch
- https://git.kernel.org/stable/c/c8e639f5743cf4b01f8c65e0df075fe4d782b585Patch
- https://git.kernel.org/stable/c/cc56c4d17721dcb10ad4e9c9266e449be1462683Patch
- https://git.kernel.org/stable/c/eb988e46da2e4eae89f5337e047ce372fe33d5b1Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.