7.8

CVE-2024-57984: i3c: dw: Fix use-after-free in dw_i3c_master driver due to race condition

Analyzed
AliasesUBUNTU-CVE-2024-57984DEBIAN-CVE-2024-57984
Published 27-02-2025Last modified 25-11-2026

Vulnerability summary

CVE-2024-57984 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 15.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 12

Timeline

  1. 27-02-2025
    PublishedVulnerability first disclosed.
  2. 25-11-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: i3c: dw: Fix use-after-free in dw_i3c_master driver due to race condition In dw_i3c_common_probe, &master->hj_work is bound with dw_i3c_hj_work. And dw_i3c_master_irq_handler can call dw_i3c_master_irq_handle_ibis function to start the work. If we remove the module which will call dw_i3c_common_remove to make cleanup, it will free master->base through i3c_master_unregister while the work mentioned above will be used. The sequence of operations that may lead to a UAF bug is as follows: CPU0 CPU1 | dw_i3c_hj_work dw_i3c_common_remove | i3c_master_unregister(&master->base) | device_unregister(&master->dev) | device_release | //free master->base | | i3c_master_do_daa(&master->base) | //use master->base Fix it by ensuring that the work is canceled before proceeding with the cleanup in dw_i3c_common_remove.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu84 products
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
  • linux-aws-5.13All versions (No fix recorded)
  • linux-aws-5.19All versions (No fix recorded)
Linux2 products
  • linux≥ c30508bb0b4b64780dc219190d54cab13cc3f8ef, < 60d2fb033a999bb644f8e8606ff4a1b82de36c6f | ≥ 1d08326020fba690cbb7b8f1b38ab4eab6745969, < 9b0063098fcde17cd2894f2c96459b23388507ca | ≥ 1d08326020fba690cbb7b8f1b38ab4eab6745969, < fc84dd3c909a372c0d130f5f84c404717c17eed8 | ≥ 1d08326020fba690cbb7b8f1b38ab4eab6745969, < b75439c945b94dd8a2b645355bdb56f948052601 | 6.10
  • linux_kernel≥ 5.0, < 6.6.76 | ≥ 6.7, < 6.12.13 | ≥ 6.13, < 6.13.2
Debian1 product
  • linuxAll versions (No fix recorded) | < 6.12.13-1

3 vendors · 87 products

References

20 links
Show all 20 references