CVE-2023-53039
JSON

7.8high

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

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.21% (higher than 11% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom ae02e5d40d5f829c589412c6253f925e35cf7a22 before 8c1d378b8c224fd50247625255f09fc01dcc5836, from ae02e5d40d5f829c589412c6253f925e35cf7a22 before 0a594cb490ca6232671fc09e2dc1a0fc7ccbb0b5, from ae02e5d40d5f829c589412c6253f925e35cf7a22 before d3ce3afd9f791dd1b7daedfcf8c396b60af5dec0, from ae02e5d40d5f829c589412c6253f925e35cf7a22 before 8ae2f2b0a28416ed2f6d8478ac8b9f7862f36785, 4.9
Not affected: before 4.9, from 5.15.105 up to 5.15.*, from 6.1.22 up to 6.1.*, from 6.2.9 up to 6.2.*, from 6.3 up to *
CVE List
linux linux_kernelfrom 4.9 before 5.15.105, from 5.16 before 6.1.22, from 6.2 before 6.2.9, 6.3NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: HID: intel-ish-hid: ipc: Se corrige un posible fallo de use after free en la función de trabajo. Cuando se recibe un mensaje de notificación de reinicio de IPC, el ISR programa una función de trabajo y le transfiere el dispositivo ISHTP mediante un puntero global ishtp_dev. Si ish_probe() falla, se liberan los recursos del dispositivo administrados por devm, incluyendo ishtp_dev, pero el trabajo no se cancela, lo que provoca un fallo de use after free cuando la función de trabajo intenta acceder a ishtp_dev. En su lugar, utilice devm_work_autocancel() para que el trabajo se cancele automáticamente si falla la sonda.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53039 changed 2026-10-15CVE Terms of Use
NVDCVE-2023-53039 changed 2026-10-15Public domain