CVE-2024-46832

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

published September 27, 2024

CVSS
—
EPSS
0%
Percentile
13.7
In the wild
Unconfirmed
What it is

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".

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00236 · 13.7th percentile
Published
2024-09-27T12:39Z
EPSS history
Timeline
  • 27 SEP 12:39Z
    MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed
    cvelistv5