CVE-2024-57984
i3c: dw: Fix use-after-free in dw_i3c_master driver due to race condition
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= c30508bb0b4b64780dc219190d54cab13cc3f8ef, < 60d2fb033a999bb644f8e8606ff4a1b82de36c6f; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < 9b0063098fcde17cd2894f2c96459b23388507ca; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < fc84dd3c909a372c0d130f5f84c404717c17eed8; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < b75439c945b94dd8a2b645355bdb56f948052601
- Anyone running Linux 6.10
Vulnerability facts
- Affected
- Linux >= c30508bb0b4b64780dc219190d54cab13cc3f8ef, < 60d2fb033a999bb644f8e8606ff4a1b82de36c6f; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < 9b0063098fcde17cd2894f2c96459b23388507ca; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < fc84dd3c909a372c0d130f5f84c404717c17eed8; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < b75439c945b94dd8a2b645355bdb56f948052601; Linux 6.10
- Fixed in
- Linux 60d2fb033a999bb644f8e8606ff4a1b82de36c6f, Linux 9b0063098fcde17cd2894f2c96459b23388507ca
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
- CWE
- CWE-416
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= c30508bb0b4b64780dc219190d54cab13cc3f8ef, < 60d2fb033a999bb644f8e8606ff4a1b82de36c6f; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < 9b0063098fcde17cd2894f2c96459b23388507ca; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < fc84dd3c909a372c0d130f5f84c404717c17eed8; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < b75439c945b94dd8a2b645355bdb56f948052601 | — | cvelist |
| Linux | 6.10 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-57984. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-57984.md Affected: Linux >= c30508bb0b4b64780dc219190d54cab13cc3f8ef, < 60d2fb033a999bb644f8e8606ff4a1b82de36c6f; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < 9b0063098fcde17cd2894f2c96459b23388507ca; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < fc84dd3c909a372c0d130f5f84c404717c17eed8; >= 1d08326020fba690cbb7b8f… Fixed in: Linux 60d2fb033a999bb644f8e8606ff4a1b82de36c6f, Linux 9b0063098fcde17cd2894f2c96459b23388507ca Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2024-57984 being exploited?
There is no confirmed exploitation: CVE-2024-57984 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-57984?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-57984?
Linux >= c30508bb0b4b64780dc219190d54cab13cc3f8ef, < 60d2fb033a999bb644f8e8606ff4a1b82de36c6f; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < 9b0063098fcde17cd2894f2c96459b23388507ca; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < fc84dd3c909a372c0d130f5f84c404717c17eed8; >= 1d08326020fba690cbb7b8f1b38ab4eab6745969, < b75439c945b94dd8a2b645355bdb56f948052601; Linux 6.10.
Is there a fix for CVE-2024-57984?
Yes. Fixed in Linux 60d2fb033a999bb644f8e8606ff4a1b82de36c6f, Linux 9b0063098fcde17cd2894f2c96459b23388507ca. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-57984?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.