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

CVE-2023-52840
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

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.

Faiblesses (CWE)

  • CWE-416 — Utilisation après libération

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 24d28e4f1271cb2f91613dada8f2acccd00eff56 < 2f236d8638f5b43e0c72919a6a27fe286c32053f ; affected 24d28e4f1271cb2f91613dada8f2acccd00eff56 < 50d12253666195a14c6cd2b81c376e2dbeedbdff ; affected 24d28e4f1271cb2f91613dada8f2acccd00eff56 < 6c71e065befb2fae8f1461559b940c04e1071bd5 ; affected 24d28e4f1271cb2f91613dada8f2acccd00eff56 < 303766bb92c5c225cf40f9bbbe7e29749406e2f2 ; affected 24d28e4f1271cb2f91613dada8f2acccd00eff56 < 7082b1fb5321037bc11ba1cf2d7ed23c6b2b521f ; affected 24d28e4f1271cb2f91613dada8f2acccd00eff56 < cc56c4d17721dcb10ad4e9c9266e449be1462683
Linux · Linuxaffected 4.18 ; unaffected 0 < 4.18 ; unaffected 4.19.299 ≤ 4.19.* ; unaffected 5.4.261 ≤ 5.4.* ; unaffected 5.10.201 ≤ 5.10.* ; unaffected 5.15.139 ≤ 5.15.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD