{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-42140","published":"2024-07-30T08:15:05.837000Z","last_modified":"2026-06-17T07:48:54.967000Z","status":"Modified","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-667"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.15.82","version_end_excluding":"5.15.163"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.0.12","version_end_excluding":"6.1.98"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.39"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.9.9"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00234,"percentile":0.0862,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2024-42140/","html_en":"/en/cve/CVE-2024-42140/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-42140","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-42140"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nriscv: kexec: Avoid deadlock in kexec crash path\n\nIf the kexec crash code is called in the interrupt context, the\nmachine_kexec_mask_interrupts() function will trigger a deadlock while\ntrying to acquire the irqdesc spinlock and then deactivate irqchip in\nirq_set_irqchip_state() function.\n\nUnlike arm64, riscv only requires irq_eoi handler to complete EOI and\nkeeping irq_set_irqchip_state() will only leave this possible deadlock\nwithout any use. So we simply remove it.","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/484dd545271d02d1571e1c6b62ea7df9dbe5e692","tags":["Mailing List","Patch"]},{"url":"https://git.kernel.org/stable/c/653deee48a4682ea17a05b96fb6842795ab5943c","tags":["Mailing List","Patch"]},{"url":"https://git.kernel.org/stable/c/7692c9b6baacdee378435f58f19baf0eb69e4155","tags":["Mailing List","Patch"]},{"url":"https://git.kernel.org/stable/c/bb80a7911218bbab2a69b5db7d2545643ab0073d","tags":["Mailing List","Patch"]},{"url":"https://git.kernel.org/stable/c/c562ba719df570c986caf0941fea2449150bcbc4","tags":["Mailing List","Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}]}}