Bug 2363745 (CVE-2023-53039) - CVE-2023-53039 kernel: HID: intel-ish-hid: ipc: Fix potential use-after-free in work function
Summary: CVE-2023-53039 kernel: HID: intel-ish-hid: ipc: Fix potential use-after-free ...
Keywords:
Status: NEW
Alias: CVE-2023-53039
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-02 16:04 UTC by OSIDB Bzimport
Modified: 2025-05-05 09:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-05-02 16:04:07 UTC
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.

Comment 1 Avinash Hanwate 2025-05-05 05:29:56 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025050202-CVE-2023-53039-7efe@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.