CVE-2024-50061
i3c: master: cdns: Fix use after free vulnerability in cdns_i3c_master Driver Due to Race Condition
Mitigation
- Upgrade Linux to 609366e7a06d035990df78f1562291c3bf0d4a12 or later.
Who should check
- Anyone running Linux >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 2a21bad9964c91b34d65ba269914233720c0b1ce; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < ea0256e393e0072e8c80fd941547807f0c28108b; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 687016d6a1efbfacdd2af913e2108de6b75a28d5; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 609366e7a06d035990df78f1562291c3bf0d4a12
- Anyone running Linux 5.0
Vulnerability facts
- Affected
- Linux >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 2a21bad9964c91b34d65ba269914233720c0b1ce; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < ea0256e393e0072e8c80fd941547807f0c28108b; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 687016d6a1efbfacdd2af913e2108de6b75a28d5; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 609366e7a06d035990df78f1562291c3bf0d4a12; Linux 5.0
- Fixed in
- Linux 2a21bad9964c91b34d65ba269914233720c0b1ce, Linux 687016d6a1efbfacdd2af913e2108de6b75a28d5, Linux 609366e7a06d035990df78f1562291c3bf0d4a12
- 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.0 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/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: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: i3c: master: cdns: Fix use after free vulnerability in cdns_i3c_master Driver Due to Race Condition In the cdns_i3c_master_probe function, &master->hj_work is bound with cdns_i3c_master_hj. And cdns_i3c_master_interrupt can call cnds_i3c_master_demux_ibis function to start the work. If we remove the module which will call cdns_i3c_master_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 | cdns_i3c_master_hj cdns_i3c_master_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 cdns_i3c_master_remove.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 2a21bad9964c91b34d65ba269914233720c0b1ce; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < ea0256e393e0072e8c80fd941547807f0c28108b; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 687016d6a1efbfacdd2af913e2108de6b75a28d5; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 609366e7a06d035990df78f1562291c3bf0d4a12 | — | cvelist |
| Linux | 5.0 | — | 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-50061. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-50061.md Affected: Linux >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 2a21bad9964c91b34d65ba269914233720c0b1ce; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < ea0256e393e0072e8c80fd941547807f0c28108b; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 687016d6a1efbfacdd2af913e2108de6b75a28d5; >= 3a379bbcea0af6280e1ca0d… Fixed in: Linux 2a21bad9964c91b34d65ba269914233720c0b1ce, Linux 687016d6a1efbfacdd2af913e2108de6b75a28d5, Linux 609366e7a06d035990df78f1562291c3bf0d4a12 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
Patches
FAQ
Is CVE-2024-50061 being exploited?
There is no confirmed exploitation: CVE-2024-50061 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-50061?
High: CVSS 7.0 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-50061?
Linux >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 2a21bad9964c91b34d65ba269914233720c0b1ce; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < ea0256e393e0072e8c80fd941547807f0c28108b; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 687016d6a1efbfacdd2af913e2108de6b75a28d5; >= 3a379bbcea0af6280e1ca0d1edfcf4e68cde6ee0, < 609366e7a06d035990df78f1562291c3bf0d4a12; Linux 5.0.
Is there a fix for CVE-2024-50061?
Yes. Fixed in Linux 2a21bad9964c91b34d65ba269914233720c0b1ce, Linux 687016d6a1efbfacdd2af913e2108de6b75a28d5, Linux 609366e7a06d035990df78f1562291c3bf0d4a12. Upgrade Linux to 609366e7a06d035990df78f1562291c3bf0d4a12 or later.
How do I check if I'm affected by CVE-2024-50061?
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.