cbcvebase.
CVE-2024-46791
published 2024-09-18

CVE-2024-46791: In the Linux kernel, the following vulnerability has been resolved: can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open The mcp251x_hw_wake()…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.16%
6.0th percentile
In the Linux kernel, the following vulnerability has been resolved: can: mcp251x: fix deadlock if an interrupt occurs during mcp251x_open The mcp251x_hw_wake() function is called with the mpc_lock mutex held and disables the interrupt handler so that no interrupts can be processed while waking the device. If an interrupt has already occurred then waiting for the interrupt handler to complete will deadlock because it will be trying to acquire the same mutex. CPU0 CPU1 ---- ---- mcp251x_open() mutex_lock(&priv->mcp_lock) request_threaded_irq() mcp251x_can_ist() mutex_lock(&priv->mcp_lock) mcp251x_hw_wake() disable_irq() <-- deadlock Use disable_irq_nosync() instead because the interrupt handler does everything while holding the mutex so it doesn't matter if it's still running.

Affected

29 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.112-1 (bookworm)linux 6.1.112-1 (bookworm)
debianlinux-6.1< linux 6.1.112-1 (bookworm)linux 6.1.112-1 (bookworm)
linuxlinux
linuxlinux>= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef < 3a49b6b1caf5cefc05264d29079d52c99cb188e03a49b6b1caf5cefc05264d29079d52c99cb188e0
linuxlinux>= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef < 513c8fc189b52f7922e36bdca58997482b198f0e513c8fc189b52f7922e36bdca58997482b198f0e
linuxlinux>= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef < f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646f7ab9e14b23a3eac6714bdc4dba244d8aa1ef646
linuxlinux>= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef < 8fecde9c3f9a4b97b68bb97c9f47e5b662586ba78fecde9c3f9a4b97b68bb97c9f47e5b662586ba7
linuxlinux>= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef < e554113a1cd2a9cfc6c7af7bdea2141c5757e188e554113a1cd2a9cfc6c7af7bdea2141c5757e188
linuxlinux>= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef < 7dd9c26bd6cf679bcfdef01a8659791aa6487a297dd9c26bd6cf679bcfdef01a8659791aa6487a29
linuxlinux_kernel
linuxlinux_kernel>= 0 < 5.10.226-15.10.226-1
linuxlinux_kernel>= 0 < 6.1.112-16.1.112-1
linuxlinux_kernel>= 0 < 6.10.11-16.10.11-1
linuxlinux_kernel>= 0 < 6.10.11-16.10.11-1
linuxlinux_kernel>= 0 < 5.15.0-125.1355.15.0-125.135
linuxlinux_kernel>= 0 < 6.8.0-50.516.8.0-50.51
linuxlinux_kernel>= 5.11 < 5.15.1675.15.167
linuxlinux_kernel>= 5.16 < 6.1.1106.1.110
linuxlinux_kernel>= 5.5 < 5.10.2265.10.226
linuxlinux_kernel>= 6.2 < 6.6.516.6.51
linuxlinux_kernel>= 6.7 < 6.10.106.10.10
msrcazl3_kernel_6.6.47.1-1_on_azure_linux_3.0
msrcazl3_kernel_6.6.51.1-5_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.