{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-49874","published":"2024-10-21T18:15:08.983000Z","last_modified":"2026-08-04T11:20:54.360000Z","status":"Modified","cvss":{"version":"3.1","score":7.0,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.4","version_end_excluding":"6.6.55"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.10.14"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.11","version_end_excluding":"6.11.3"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00303,"percentile":0.15431,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":42,"links":{"html_es":"/es/cve/CVE-2024-49874/","html_en":"/en/cve/CVE-2024-49874/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-49874","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-49874"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: svc: Fix use after free vulnerability in svc_i3c_master Driver Due to Race Condition\n\nIn the svc_i3c_master_probe function, &master->hj_work is bound with\nsvc_i3c_master_hj_work, &master->ibi_work is bound with\nsvc_i3c_master_ibi_work. And svc_i3c_master_ibi_work  can start the\nhj_work, svc_i3c_master_irq_handler can start the ibi_work.\n\nIf we remove the module which will call svc_i3c_master_remove to\nmake cleanup, it will free master->base through i3c_master_unregister\nwhile the work mentioned above will be used. The sequence of operations\nthat may lead to a UAF bug is as follows:\n\nCPU0                                         CPU1\n\n                                    | svc_i3c_master_hj_work\nsvc_i3c_master_remove               |\ni3c_master_unregister(&master->base)|\ndevice_unregister(&master->dev)     |\ndevice_release                      |\n//free master->base                 |\n                                    | i3c_master_do_daa(&master->base)\n                                    | //use master->base\n\nFix it by ensuring that the work is canceled before proceeding with the\ncleanup in svc_i3c_master_remove.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/27b55724d3f781dd6e635e89dc6e2fd78fa81a00","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4318998892bf8fe99f97bea18c37ae7b685af75a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/4ac637122930cc4ab7e2c22e364cf3aaf96b05b1","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/56bddf543d4d7ddeff3f87b554ddacfdf086bffe","tags":[]},{"url":"https://git.kernel.org/stable/c/61850725779709369c7e907ae8c7c75dc7cec4f3","tags":["Patch"]}]}}