CVE-2024-46832

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

State
Published
Severity
Not scored
Published
Sep 27, 2024
Updated
May 11, 2026
Reserved
Sep 11, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 38760d40ca61b18b2809e9c28df8b3ff9af8a02b to before d3ff0f98a52f0aafe35aa314d1c442f4318be3dbAffected
  • 38760d40ca61b18b2809e9c28df8b3ff9af8a02b to before e6cd871627abbb459d0ff6521d6bb9cf9d9f7522Affected
  • 38760d40ca61b18b2809e9c28df8b3ff9af8a02b to before b1d2051373bfc65371ce4ac8911ed984d0178c98Affected
  • 38760d40ca61b18b2809e9c28df8b3ff9af8a02b to before 32ee0520159f1e8c2d6597c19690df452c528f30Affected
  • 38760d40ca61b18b2809e9c28df8b3ff9af8a02b to before 189d3ed3b25beee26ffe2abed278208bece13f52Affected
  • 38760d40ca61b18b2809e9c28df8b3ff9af8a02b to before 50f2b98dc83de7809a5c5bf0ccf9af2e75c37c13Affected
LinuxLinux
  • 2.6.24Affected
  • before 2.6.24Not affected
  • 5.10.226 through 5.10.*Not affected
  • 5.15.167 through 5.15.*Not affected
  • 6.1.110 through 6.1.*Not affected
  • 6.6.51 through 6.6.*Not affected
  • 6.10.10 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.