CVE-2024-46829

rtmutex: Drop rt_mutex::wait_lock before scheduling

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

Read the record on cve.org

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 ]

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before 432efdbe7da5ecfcbc0c2180cfdbab1441752a38Affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before 6a976e9a47e8e5b326de671811561cab12e6fb1fAffected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before 1401da1486dc1cdbef6025fd74a3977df3a3e5d0Affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before 93f44655472d9cd418293d328f9d141ca234ad83Affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before a92d81c9efec9280681c27a2c0a963fd0f1338e0Affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before 85f03ca98e07cd0786738b56ae73740bce0ac27fAffected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before f13b5afc5c4889569d84c3011ce449f61fccfb28Affected
  • 3d5c9340d1949733eb37616abd15db36aef9a57c to before d33d26036a0274b472299d7dcdaa5fb34329f91bAffected
  • 95f9aded9436aa3ce714aeff3f45fcc1431df7d2Affected
  • ea018da95368adfb700689bd9842714f7c3db665Affected
  • 1201613a70dd34bd347ba2970919b3f1d5fbfb4aAffected
  • a2e64fcdc83c645813f7b93e4df291841ba7c625Affected
  • fb52f40e085ef4074f1335672cd62c1f832af13bAffected
  • 2b1f3807ed9cafb59c956ce76a05d25e67103f2eAffected
  • 3.2.61 to before 3.3Affected
  • 3.4.99 to before 3.5Affected
  • 3.10.49 to before 3.11Affected
  • 3.12.25 to before 3.13Affected
  • 3.14.10 to before 3.15Affected
  • 3.15.3 to before 3.16Affected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 4.19.322 through 4.19.*Not affected
  • 5.4.284 through 5.4.*Not 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.