Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2024-46829

rtmutex: Drop rt_mutex::wait_lock before scheduling

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < 432efdbe7da5ecfcbc0c2180cfdbab1441752a38affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < 6a976e9a47e8e5b326de671811561cab12e6fb1faffected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < 1401da1486dc1cdbef6025fd74a3977df3a3e5d0affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < 93f44655472d9cd418293d328f9d141ca234ad83affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < a92d81c9efec9280681c27a2c0a963fd0f1338e0affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < 85f03ca98e07cd0786738b56ae73740bce0ac27faffected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < f13b5afc5c4889569d84c3011ce449f61fccfb28affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to < d33d26036a0274b472299d7dcdaa5fb34329f91baffected
  • 95f9aded9436aa3ce714aeff3f45fcc1431df7d2affected
  • ea018da95368adfb700689bd9842714f7c3db665affected
  • 1201613a70dd34bd347ba2970919b3f1d5fbfb4aaffected
  • a2e64fcdc83c645813f7b93e4df291841ba7c625affected
  • fb52f40e085ef4074f1335672cd62c1f832af13baffected
  • 2b1f3807ed9cafb59c956ce76a05d25e67103f2eaffected
  • 3.2.61 to < 3.3affected
  • 3.4.99 to < 3.5affected
  • 3.10.49 to < 3.11affected
  • 3.12.25 to < 3.13affected
  • 3.14.10 to < 3.15affected
  • 3.15.3 to < 3.16affected

Linux Linux

Default version status: affected

  • 3.16affected
  • 0 to < 3.16unaffected
  • 4.19.322 to ≤ 4.19.*unaffected
  • 5.4.284 to ≤ 5.4.*unaffected
  • 5.10.226 to ≤ 5.10.*unaffected
  • 5.15.167 to ≤ 5.15.*unaffected
  • 6.1.110 to ≤ 6.1.*unaffected
  • 6.6.51 to ≤ 6.6.*unaffected
  • 6.10.10 to ≤ 6.10.*unaffected
  • 6.11 to ≤ *unaffected

References