HID: multitouch: Correct devm device reference for hidinput input_dev name (Linux Linux)

CVE-2023-53454
HIGH 8.8

En bref

Source
NVD
EPSS
EPSS 0.23 % · centile 14 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: HID: multitouch: Correct devm device reference for hidinput input_dev name Reference the HID device rather than the input device for the devm allocation of the input_dev name. Referencing the input_dev would lead to a use-after-free when the input_dev was unregistered and subsequently fires a uevent that depends on the name. At the point of firing the uevent, the name would be freed by devres management. Use devm_kasprintf to simplify the logic for allocating memory and formatting the input_dev name string.

Faiblesses (CWE)

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

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
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 c08d46aa805ba46d501f610c2448d07bea979780 < ac0d389402a6ff9ad92cea02c2d8c711483b91ab ; affected c08d46aa805ba46d501f610c2448d07bea979780 < 39c70c19456e50dcb3abfe53539220dff0490f1d ; affected c08d46aa805ba46d501f610c2448d07bea979780 < df7ca43fe090e1a56c216c8ebc106ef5fd49afc6 ; affected c08d46aa805ba46d501f610c2448d07bea979780 < 15ec7cb55e7d88755aa01d44a7a1015a42bfce86 ; affected c08d46aa805ba46d501f610c2448d07bea979780 < dde88ab4e45beb60b217026207aa9c14c88d71ab ; affected c08d46aa805ba46d501f610c2448d07bea979780 < 2763732ec1e68910719c75b6b896e11b6d3d622b
Linux · Linuxaffected 3.12 ; unaffected 0 < 3.12 ; unaffected 4.14.326 ≤ 4.14.* ; unaffected 4.19.295 ≤ 4.19.* ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.195 ≤ 5.10.*

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