CVE-2023-52840: Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()
Vulnerability summary
CVE-2023-52840 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 13Timeline
- 21-05-2024PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.24%
Chance of exploitation in the next 30 days
Percentile
17%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.24% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu113 products
- linux< 5.4.0-173.191 | < 5.15.0-100.110
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1120.130 | < 5.15.0-1056.61
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < 2f236d8638f5b43e0c72919a6a27fe286c32053f | ≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < 50d12253666195a14c6cd2b81c376e2dbeedbdff | ≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < 6c71e065befb2fae8f1461559b940c04e1071bd5 | ≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < 303766bb92c5c225cf40f9bbbe7e29749406e2f2 | ≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < 7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f | ≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < cc56c4d17721dcb10ad4e9c9266e449be1462683 | ≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < c8e639f5743cf4b01f8c65e0df075fe4d782b585 | ≥ 24d28e4f1271cb2f91613dada8f2acccd00eff56, < eb988e46da2e4eae89f5337e047ce372fe33d5b1 | 4.18
- linux_kernel≥ 4.18, < 4.19.299 | ≥ 4.20, < 5.4.261 | ≥ 5.5, < 5.10.201 | ≥ 5.11, < 5.15.139 | ≥ 5.16, < 6.1.63 | ≥ 6.2, < 6.5.12 | ≥ 6.6, < 6.6.2
Debian1 product
- linux< 6.1.64-1 | < 6.6.8-1
3 vendors · 116 products