Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Simon Arlott

#45331of 53,632
5.5Total CVSS
Vulnerabilities · 1
PT-2024-6947
5.5
2024-08-22
Linux · Linux Kernel · CVE-2024-46791
**Name of the Vulnerable Software and Affected Versions** Linux kernel (affected versions not specified) **Description** The issue is related to a deadlock in the Linux kernel's mcp251x component. The `mcp251x hw wake()` function is called with the `mcp lock` mutex held, which disables the interrupt handler and can cause a deadlock if an interrupt occurs during `mcp251x open()`. This happens because the interrupt handler tries to acquire the same mutex, leading to a deadlock. The solution is to use `disable irq nosync()` instead of `disable irq()` because the interrupt handler does everything while holding the mutex. **Recommendations** To resolve the issue, update the Linux kernel to a version that includes the fix for the deadlock in the mcp251x component. As a temporary workaround, consider modifying the `mcp251x hw wake()` function to use `disable irq nosync()` instead of `disable irq()` to prevent the deadlock.