5.5medium
MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 38760d40ca61b18b2809e9c28df8b3ff9af8a02b before d3ff0f98a52f0aafe35aa314d1c442f4318be3db, from 38760d40ca61b18b2809e9c28df8b3ff9af8a02b before e6cd871627abbb459d0ff6521d6bb9cf9d9f7522, from 38760d40ca61b18b2809e9c28df8b3ff9af8a02b before b1d2051373bfc65371ce4ac8911ed984d0178c98, from 38760d40ca61b18b2809e9c28df8b3ff9af8a02b before 32ee0520159f1e8c2d6597c19690df452c528f30, from 38760d40ca61b18b2809e9c28df8b3ff9af8a02b before 189d3ed3b25beee26ffe2abed278208bece13f52, from 38760d40ca61b18b2809e9c28df8b3ff9af8a02b before 50f2b98dc83de7809a5c5bf0ccf9af2e75c37c13, 2.6.24 Not affected: before 2.6.24, from 5.10.226 up to 5.10.*, from 5.15.167 up to 5.15.*, from 6.1.110 up to 6.1.*, from 6.6.51 up to 6.6.*, from 6.10.10 up to 6.10.* | CVE List |
| linux linux_kernel | before 5.10.226, from 5.11 before 5.15.167, from 5.16 before 6.1.110, from 6.2 before 6.6.51, from 6.7 before 6.10.10, 6.11 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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".
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: MIPS: cevt-r4k: No llame a get_c0_compare_int si el irq del temporizador está instalado Esto evita la advertencia: [ 0.118053] ERROR: función inactiva llamada desde un contexto no válido en kernel/locking/mutex.c:283 Causado por get_c0_compare_int en la CPU secundaria. También omitimos guardar el número de IRQ en struct clock_event_device *cd ya que nunca lo usa el núcleo clockevent, según los comentarios, solo está destinado a "dispositivos locales que no sean de CPU".
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-46832 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-46832 changed 2026-06-17 | Public domain |