# Input: synaptics-rmi4 - fix use after free in rmi_unregister_function()

CVE record · `CVE-2023-52840`

- **Identifiers:** `CVE-2023-52840`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 21 May 2024
- **Updated:** 11 May 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 21 May 2024, 15:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before 2f236d8638f5b43e0c72919a6a27fe286c32053f` (git)
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before 50d12253666195a14c6cd2b81c376e2dbeedbdff` (git)
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before 6c71e065befb2fae8f1461559b940c04e1071bd5` (git)
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before 303766bb92c5c225cf40f9bbbe7e29749406e2f2` (git)
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before 7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f` (git)
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before cc56c4d17721dcb10ad4e9c9266e449be1462683` (git)
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before c8e639f5743cf4b01f8c65e0df075fe4d782b585` (git)
  - affected: `24d28e4f1271cb2f91613dada8f2acccd00eff56 to before eb988e46da2e4eae89f5337e047ce372fe33d5b1` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.18`
  - unaffected: `before 4.18` (semver)
  - unaffected: `4.19.299 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.261 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.201 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.139 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.63 to 6.1.*, inclusive` (semver)
  - unaffected: `6.5.12 to 6.5.*, inclusive` (semver)
  - unaffected: `6.6.2 to 6.6.*, inclusive` (semver)
  - unaffected: `6.7 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0024, the 15th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 21 May 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2023-52840](https://www.cve.org/CVERecord?id=CVE-2023-52840)
- [NVD: CVE-2023-52840](https://nvd.nist.gov/vuln/detail/CVE-2023-52840)

### References from the CNA

- <https://git.kernel.org/stable/c/2f236d8638f5b43e0c72919a6a27fe286c32053f>
- <https://git.kernel.org/stable/c/50d12253666195a14c6cd2b81c376e2dbeedbdff>
- <https://git.kernel.org/stable/c/6c71e065befb2fae8f1461559b940c04e1071bd5>
- <https://git.kernel.org/stable/c/303766bb92c5c225cf40f9bbbe7e29749406e2f2>
- <https://git.kernel.org/stable/c/7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f>
- <https://git.kernel.org/stable/c/cc56c4d17721dcb10ad4e9c9266e449be1462683>
- <https://git.kernel.org/stable/c/c8e639f5743cf4b01f8c65e0df075fe4d782b585>
- <https://git.kernel.org/stable/c/eb988e46da2e4eae89f5337e047ce372fe33d5b1>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2023-52840>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2023-52840/>. Everything for agents: <https://agentprime.io/llms.txt>.
