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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-09-27T12:39:29.734Z
- Modified: 2026-06-17T07:56:02.740Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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".

(As written by CVE List.)

## Affected

- 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.*; from 6.11 up to *)
- 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

## References

- <https://git.kernel.org/stable/c/d3ff0f98a52f0aafe35aa314d1c442f4318be3db> (patch)
- <https://git.kernel.org/stable/c/e6cd871627abbb459d0ff6521d6bb9cf9d9f7522> (patch)
- <https://git.kernel.org/stable/c/b1d2051373bfc65371ce4ac8911ed984d0178c98> (patch)
- <https://git.kernel.org/stable/c/32ee0520159f1e8c2d6597c19690df452c528f30> (patch)
- <https://git.kernel.org/stable/c/189d3ed3b25beee26ffe2abed278208bece13f52> (patch)
- <https://git.kernel.org/stable/c/50f2b98dc83de7809a5c5bf0ccf9af2e75c37c13> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-46832](https://www.cve.org/CVERecord?id=CVE-2024-46832), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-46832](https://nvd.nist.gov/vuln/detail/CVE-2024-46832), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-46832 · Whole record: https://cve.day/CVE-2024-46832.json · Rebuilt by cve.day 2026-11-25T22:58:45.836Z
