Skip to main content
← All vulnerabilities
CVE-2024-46829

rtmutex: Drop rt_mutex::wait_lock before scheduling

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.3, 3.5, 3.11, 3.13, 3.15, and 1 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

In the Linux kernel, the following vulnerability has been resolved: rtmutex: Drop rt_mutex::wait_lock before scheduling rt_mutex_handle_deadlock() is called with rt_mutex::wait_lock held. In the good case it returns with the lock held and in the deadlock case it emits a warning and goes into an endless scheduling loop with the lock held, which triggers the 'scheduling in atomic' warning. Unlock rt_mutex::wait_lock in the dead lock case before issuing the warning and dropping into the schedule for ever loop. [ tglx: Moved unlock before the WARN(), removed the pointless comment, massaged changelog, added Fixes tag ]

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 3.2.61 · fixed in 3.3; From 3.4.99 · fixed in 3.5; From 3.10.49 · fixed in 3.11; From 3.12.25 · fixed in 3.13; From 3.14.10 · fixed in 3.15; From 3.15.3 · fixed in 3.16

  • Linux Linux

    3.16

References 8

git.kernel.org