CVE-2024-49874
i3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition
Mitigation
- Upgrade Linux to 61850725779709369c7e907ae8c7c75dc7cec4f3 or later.
Who should check
- Anyone running Linux >= 87e0f28eda36c7843523aa8dd0c5dab3331e9718, < 56bddf543d4d7ddeff3f87b554ddacfdf086bffe; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4318998892bf8fe99f97bea18c37ae7b685af75a; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 27b55724d3f781dd6e635e89dc6e2fd78fa81a00; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 61850725779709369c7e907ae8c7c75dc7cec4f3
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= 87e0f28eda36c7843523aa8dd0c5dab3331e9718, < 56bddf543d4d7ddeff3f87b554ddacfdf086bffe; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4318998892bf8fe99f97bea18c37ae7b685af75a; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 27b55724d3f781dd6e635e89dc6e2fd78fa81a00; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 61850725779709369c7e907ae8c7c75dc7cec4f3; Linux 6.4
- Fixed in
- Linux 56bddf543d4d7ddeff3f87b554ddacfdf086bffe, Linux 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1, Linux 4318998892bf8fe99f97bea18c37ae7b685af75a, Linux 27b55724d3f781dd6e635e89dc6e2fd78fa81a00, Linux 61850725779709369c7e907ae8c7c75dc7cec4f3
- 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.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: i3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition In the svc_i3c_master_probe function, &master->hj_work is bound with svc_i3c_master_hj_work, &master->ibi_work is bound with svc_i3c_master_ibi_work. And svc_i3c_master_ibi_work can start the hj_work, svc_i3c_master_irq_handler can start the ibi_work. If we remove the module which will call svc_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 | svc_i3c_master_hj_work svc_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 svc_i3c_master_remove.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 87e0f28eda36c7843523aa8dd0c5dab3331e9718, < 56bddf543d4d7ddeff3f87b554ddacfdf086bffe; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4318998892bf8fe99f97bea18c37ae7b685af75a; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 27b55724d3f781dd6e635e89dc6e2fd78fa81a00; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 61850725779709369c7e907ae8c7c75dc7cec4f3 | — | cvelist |
| Linux | 6.4 | — | 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-49874. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-49874.md Affected: Linux >= 87e0f28eda36c7843523aa8dd0c5dab3331e9718, < 56bddf543d4d7ddeff3f87b554ddacfdf086bffe; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4318998892bf8fe99f97bea18c37ae7b685af75a; >= 0f74f8b6675cc36d689abb4… Fixed in: Linux 56bddf543d4d7ddeff3f87b554ddacfdf086bffe, Linux 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1, Linux 4318998892bf8fe99f97bea18c37ae7b685af75a, Linux 27b55724d3f781dd6e635e89dc6e2fd78fa81a00, Linux 61850725779709369c7e907ae8c7c75dc7cec4f3 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-49874 being exploited?
There is no confirmed exploitation: CVE-2024-49874 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-49874?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-49874?
Linux >= 87e0f28eda36c7843523aa8dd0c5dab3331e9718, < 56bddf543d4d7ddeff3f87b554ddacfdf086bffe; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 4318998892bf8fe99f97bea18c37ae7b685af75a; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 27b55724d3f781dd6e635e89dc6e2fd78fa81a00; >= 0f74f8b6675cc36d689abb4d9b3d75ab4049b7d7, < 61850725779709369c7e907ae8c7c75dc7cec4f3; Linux 6.4.
Is there a fix for CVE-2024-49874?
Yes. Fixed in Linux 56bddf543d4d7ddeff3f87b554ddacfdf086bffe, Linux 4ac637122930cc4ab7e2c22e364cf3aaf96b05b1, Linux 4318998892bf8fe99f97bea18c37ae7b685af75a, Linux 27b55724d3f781dd6e635e89dc6e2fd78fa81a00, Linux 61850725779709369c7e907ae8c7c75dc7cec4f3. Upgrade Linux to 61850725779709369c7e907ae8c7c75dc7cec4f3 or later.
How do I check if I'm affected by CVE-2024-49874?
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.