PT-2025-8771 · Linux+5 · Linux Kernel+5

Pei Xiao

·

Published

2024-11-27

·

Updated

2026-05-26

·

CVE-2024-57984

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description A use-after-free issue has been identified in the Linux kernel, specifically in the dw i3c master driver, due to a race condition. The vulnerability occurs when the dw i3c common probe function binds &master->hj work with dw i3c hj work, and dw i3c master irq handler calls dw i3c master irq handle ibis to start the work. If the module is removed, dw i3c common remove is called, which frees master->base through i3c master unregister, while the work is still being used. This sequence of operations can lead to a use-after-free bug.
Recommendations To resolve this issue, ensure that the work is canceled before proceeding with the cleanup in dw i3c common remove. As a temporary workaround, consider disabling the dw i3c hj work function until a patch is available. Restrict access to the vulnerable dw i3c master driver to minimize the risk of exploitation. Avoid using the master->base variable in the affected API endpoints until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Double Free

Use After Free

Weakness Enumeration

Related Identifiers

ALSA-2025:20095
ALT-PU-2025-12647
AZL-58977
BDU:2025-03895
CVE-2024-57984
ECHO-9996-5A1D-FDA1
RHSA-2025:20095
USN-7521-1
USN-7521-2
USN-7521-3
USN-7651-1
USN-7651-2
USN-7651-3
USN-7651-4
USN-7651-5
USN-7651-6
USN-7652-1
USN-7653-1
USN-7737-1

Affected Products

Alt Linux
Astra Linux
Debian
Linuxmint
Linux Kernel
Ubuntu