PT-2024-10467 · Linux+5 · Linux Kernel+5

Song Shuai

·

Published

2024-07-30

·

Updated

2025-09-29

·

CVE-2024-42140

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a deadlock in the kexec crash path of the Linux kernel's riscv component. When the kexec crash code is called in the interrupt context, the machine kexec mask interrupts() function may trigger a deadlock while trying to acquire the irqdesc spinlock and then deactivate irqchip in the irq set irqchip state() function. This is because, unlike arm64, riscv only requires the irq eoi handler to complete EOI, and keeping irq set irqchip state() will only leave this possible deadlock without any use. The estimated number of potentially affected devices worldwide is not available. There is no information about real-world incidents where this issue was exploited.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2024-11524
ALT-PU-2024-13979
ALT-PU-2024-14046
BDU:2025-01007
CVE-2024-42140
DLA-4008-1
MGASA-2024-0277
MGASA-2024-0278
OESA-2024-2076
USN-7007-1
USN-7007-2
USN-7007-3
USN-7009-1
USN-7009-2
USN-7019-1
USN-7089-1
USN-7089-2
USN-7089-3
USN-7089-4
USN-7089-5
USN-7089-6
USN-7089-7
USN-7090-1
USN-7095-1
USN-7156-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Os
Ubuntu