rtmutex: Drop rt_mutex::wait_lock before scheduling
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.3, 3.5, 3.11, 3.13, 3.15, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- 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
- stable/c/432efdbe7da5ecfcbc0c2180cfdbab1441752a38
- stable/c/6a976e9a47e8e5b326de671811561cab12e6fb1f
- stable/c/1401da1486dc1cdbef6025fd74a3977df3a3e5d0
- stable/c/93f44655472d9cd418293d328f9d141ca234ad83
- stable/c/a92d81c9efec9280681c27a2c0a963fd0f1338e0
- stable/c/85f03ca98e07cd0786738b56ae73740bce0ac27f
- stable/c/f13b5afc5c4889569d84c3011ce449f61fccfb28
- stable/c/d33d26036a0274b472299d7dcdaa5fb34329f91b