HID: intel-ish-hid: ipc: Fix potential use-after-free in work function (Linux Linux)

CVE-2023-53039
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.21 % · centile 11 ()
É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: intel-ish-hid: ipc: Fix potential use-after-free in work function When a reset notify IPC message is received, the ISR schedules a work function and passes the ISHTP device to it via a global pointer ishtp_dev. If ish_probe() fails, the devm-managed device resources including ishtp_dev are freed, but the work is not cancelled, causing a use-after-free when the work function tries to access ishtp_dev. Use devm_work_autocancel() instead, so that the work is automatically cancelled if probe fails.

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:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/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 ae02e5d40d5f829c589412c6253f925e35cf7a22 < 8c1d378b8c224fd50247625255f09fc01dcc5836 ; affected ae02e5d40d5f829c589412c6253f925e35cf7a22 < 0a594cb490ca6232671fc09e2dc1a0fc7ccbb0b5 ; affected ae02e5d40d5f829c589412c6253f925e35cf7a22 < d3ce3afd9f791dd1b7daedfcf8c396b60af5dec0 ; affected ae02e5d40d5f829c589412c6253f925e35cf7a22 < 8ae2f2b0a28416ed2f6d8478ac8b9f7862f36785
Linux · Linuxaffected 4.9 ; unaffected 0 < 4.9 ; unaffected 5.15.105 ≤ 5.15.* ; unaffected 6.1.22 ≤ 6.1.* ; unaffected 6.2.9 ≤ 6.2.* ; unaffected 6.3 ≤ *

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