What’s Vulnerable › Vulnerabilities

CVE-2024-46832: MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed

Description

In the Linux kernel, the following vulnerability has been resolved: MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed This avoids warning: [ 0.118053] BUG: sleeping function called from invalid context at kernel/locking/mutex.c:283 Caused by get_c0_compare_int on secondary CPU. We also skipped saving IRQ number to struct clock_event_device *cd as it's never used by clockevent core, as per comments it's only meant for "non CPU local devices".

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.226, 5.15.167, 6.1.110, 6.10.10. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-46832 or the next vulnerability affects your stack