CVE-2023-52840
Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
Check your servers for CVE-2023-52840
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2023-52840 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 12 Jun 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before 2f236d8638f5b43e0c72919a6a27fe286c32053f affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before 50d12253666195a14c6cd2b81c376e2dbeedbdff affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before 6c71e065befb2fae8f1461559b940c04e1071bd5 affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before 303766bb92c5c225cf40f9bbbe7e29749406e2f2 affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before 7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before cc56c4d17721dcb10ad4e9c9266e449be1462683 affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before c8e639f5743cf4b01f8c65e0df075fe4d782b585 affected from 24d28e4f1271cb2f91613dada8f2acccd00eff56, before eb988e46da2e4eae89f5337e047ce372fe33d5b1
Other versions: unaffected
|
| Linux |
affected 4.18 unaffected before 4.18 unaffected from 4.19.299 up to and including 4.19.* unaffected from 5.4.261 up to and including 5.4.* unaffected from 5.10.201 up to and including 5.10.* unaffected from 5.15.139 up to and including 5.15.* unaffected from 6.1.63 up to and including 6.1.* unaffected from 6.5.12 up to and including 6.5.* unaffected from 6.6.2 up to and including 6.6.* unaffected 6.7 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2023-52840 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-52840
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2023-52840
trivy image --scanners vuln IMAGE | grep CVE-2023-52840
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/2f236d8638f5b43e0c72919a6a27fe286c32053f git.kernel.org
- https://git.kernel.org/stable/c/50d12253666195a14c6cd2b81c376e2dbeedbdff git.kernel.org
- https://git.kernel.org/stable/c/6c71e065befb2fae8f1461559b940c04e1071bd5 git.kernel.org
- https://git.kernel.org/stable/c/303766bb92c5c225cf40f9bbbe7e29749406e2f2 git.kernel.org
- https://git.kernel.org/stable/c/7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f git.kernel.org
- https://git.kernel.org/stable/c/cc56c4d17721dcb10ad4e9c9266e449be1462683 git.kernel.org
- https://git.kernel.org/stable/c/c8e639f5743cf4b01f8c65e0df075fe4d782b585 git.kernel.org
- https://git.kernel.org/stable/c/eb988e46da2e4eae89f5337e047ce372fe33d5b1 git.kernel.org
Source: the record CVE-2023-52840 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse