CVE-2023-52840

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

HIGH
7.8
CVSS Score
Published: May 21, 2024 at 03:31 PM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known 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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.18 ≤ v < 4.19.2994.18 ≤ v < 5.10.2014.18 ≤ v < 5.15.1394.18 ≤ v < 5.4.2614.18 ≤ v < 6.1.634.18 ≤ v < 6.5.124.18 ≤ v < 6.6.24.18 ≤ v < 6.74.20 ≤ v < 5.4.2615.11 ≤ v < 5.15.1395.16 ≤ v < 6.1.635.5 ≤ v < 5.10.2016.2 ≤ v < 6.5.126.6 ≤ v < 6.6.224d28e4f1271cb2f91613dada8f2acccd00eff564.18
Vendor states this is fixed in 2f236d8638f5b43e0c72919a6a27fe286c32053f (fixed)
Vendor states this is fixed in 303766bb92c5c225cf40f9bbbe7e29749406e2f2 (fixed)
Vendor states this is fixed in 50d12253666195a14c6cd2b81c376e2dbeedbdff (fixed)
Vendor states this is fixed in 6c71e065befb2fae8f1461559b940c04e1071bd5 (fixed)
Vendor states this is fixed in 7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f (fixed)
Vendor states this is fixed in c8e639f5743cf4b01f8c65e0df075fe4d782b585 (fixed)
Vendor states this is fixed in cc56c4d17721dcb10ad4e9c9266e449be1462683 (fixed)
Vendor states this is fixed in eb988e46da2e4eae89f5337e047ce372fe33d5b1 (fixed)
Vendor states this is fixed in 4.18 (unaffected)
Vendor states this is fixed in 4.19.299 (unaffected)
Vendor states this is fixed in 5.10.201 (unaffected)
Vendor states this is fixed in 5.15.139 (unaffected)
Vendor states this is fixed in 5.4.261 (unaffected)
Vendor states this is fixed in 6.1.63 (unaffected)
Vendor states this is fixed in 6.5.12 (unaffected)
Vendor states this is fixed in 6.6.2 (unaffected)
Vendor states this is fixed in 6.7 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2f236d8638f5b43e0c72919a6a27fe286c32053f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/303766bb92c5c225cf40f9bbbe7e29749406e2f2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50d12253666195a14c6cd2b81c376e2dbeedbdff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6c71e065befb2fae8f1461559b940c04e1071bd5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c8e639f5743cf4b01f8c65e0df075fe4d782b585
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cc56c4d17721dcb10ad4e9c9266e449be1462683
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb988e46da2e4eae89f5337e047ce372fe33d5b1

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card