CVE
CVE-2023-52840
CVE-2023-52840HIGH 7.8EPSS 16%
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 6.6, < 6.6.2Fixed in 6.6.2
- ≥ 6.2, < 6.5.12Fixed in 6.5.12
- ≥ 5.16, < 6.1.63Fixed in 6.1.63
- ≥ 5.11, < 5.15.139Fixed in 5.15.139
- ≥ 5.5, < 5.10.201Fixed in 5.10.201
- ≥ 4.20, < 5.4.261Fixed in 5.4.261
- ≥ 4.18, < 4.19.299Fixed in 4.19.299
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/2f236d8638f5b43e0c72919a6a27fe286c32053f · Patch
- git.kernel.org/stable/c/303766bb92c5c225cf40f9bbbe7e29749406e2f2 · Patch
- git.kernel.org/stable/c/50d12253666195a14c6cd2b81c376e2dbeedbdff · Patch
- git.kernel.org/stable/c/6c71e065befb2fae8f1461559b940c04e1071bd5 · Patch
- git.kernel.org/stable/c/7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f · Patch
- git.kernel.org/stable/c/c8e639f5743cf4b01f8c65e0df075fe4d782b585 · Patch
- git.kernel.org/stable/c/cc56c4d17721dcb10ad4e9c9266e449be1462683 · Patch
- git.kernel.org/stable/c/eb988e46da2e4eae89f5337e047ce372fe33d5b1 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.