CVE-2024-50061
HighIn 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.
CVSS 3.1 score
7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2024-50061 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.0
and later are affected. Fixed in
6.1.129,
6.6.57,
6.11.4,
6.12
and their respective stable series.
References
The following references provide additional information about CVE-2024-50061 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2a21bad9964c91b34d65ba269914233720c0b1ce
-
PatchKernel patch commithttps://git.kernel.org/stable/c/609366e7a06d035990df78f1562291c3bf0d4a12
-
PatchKernel patch commithttps://git.kernel.org/stable/c/687016d6a1efbfacdd2af913e2108de6b75a28d5
Frequently asked questions
-
What is CVE-2024-50061?
CVE-2024-50061 is a High severity Linux kernel vulnerability with a CVSS score of 7.0 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 5.0 onward and has been patched in 6.1.129, 6.6.57, 6.11.4 and others. CVE-2024-50061 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-50061?
CVE-2024-50061 has a CVSS score of 7.0 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-50061?
Yes — CVE-2024-50061 has been patched. Fixed versions include 6.1.129, 6.6.57, 6.11.4 and others. If you are running Linux kernel 5.0 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-50061 actively exploited?
No — CVE-2024-50061 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →