rtmutex: Drop rt_mutex::wait_lock before scheduling
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f13b5afc5c4889569d84c3011ce449f61fccfb28, Kernel 3.11, Kernel 3.13 and 18 more.
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 ]
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3d5c9340d1949733eb37616abd15db36aef9a57c <f13b5afc5c4889569d84c3011ce449f61fccfb28, >=3.10.49 <3.11, >=3.12.25 <3.13, >=3.14.10 <3.15, >=3.15.3 <3.16, >=3.2.61 <3.3, >=3.4.99 <3.5, >=3d5c9340d1949733eb37616abd15db36aef9a57c <1401da1486dc1cdbef6025fd74a3977df3a3e5d0, >=3d5c9340d1949733eb37616abd15db36aef9a57c <432efdbe7da5ecfcbc0c2180cfdbab1441752a38, >=3d5c9340d1949733eb37616abd15db36aef9a57c <6a976e9a47e8e5b326de671811561cab12e6fb1f, >=3d5c9340d1949733eb37616abd15db36aef9a57c <85f03ca98e07cd0786738b56ae73740bce0ac27f, >=3d5c9340d1949733eb37616abd15db36aef9a57c <93f44655472d9cd418293d328f9d141ca234ad83, >=3d5c9340d1949733eb37616abd15db36aef9a57c <a92d81c9efec9280681c27a2c0a963fd0f1338e0, >=3d5c9340d1949733eb37616abd15db36aef9a57c <d33d26036a0274b472299d7dcdaa5fb34329f91b, =1201613a70dd34bd347ba2970919b3f1d5fbfb4a, =2b1f3807ed9cafb59c956ce76a05d25e67103f2e, =3.16, =95f9aded9436aa3ce714aeff3f45fcc1431df7d2, =a2e64fcdc83c645813f7b93e4df291841ba7c625, =ea018da95368adfb700689bd9842714f7c3db665, =fb52f40e085ef4074f1335672cd62c1f832af13b | f13b5afc5c4889569d84c3011ce449f61fccfb28, 3.11, 3.13, 3.15, 3.16, 3.3, 3.5, 1401da1486dc1cdbef6025fd74a3977df3a3e5d0, 432efdbe7da5ecfcbc0c2180cfdbab1441752a38, 6a976e9a47e8e5b326de671811561cab12e6fb1f, 85f03ca98e07cd0786738b56ae73740bce0ac27f, 93f44655472d9cd418293d328f9d141ca234ad83, a92d81c9efec9280681c27a2c0a963fd0f1338e0, d33d26036a0274b472299d7dcdaa5fb34329f91b |
| linux-kernel: Kernel | >=3.12.25 <3.13, >=3.14.10 <3.15, >=3.15.3 <3.16, >=3.16.0 <4.19.322, >=3.2.61 <3.3, >=3.4.99 <3.5, >=4.20.0 <5.4.284, >=5.11.0 <5.15.167, >=5.16.0 <6.1.110, >=5.5.0 <5.10.226, >=6.2.0 <6.6.51, >=6.7.0 <6.10.10, >=3.10.49 <3.11 | 3.13, 3.15, 3.16, 4.19.322, 3.3, 3.5, 5.4.284, 5.15.167, 6.1.110, 5.10.226, 6.6.51, 6.10.10, 3.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket