CVE-2024-46829
JSON

5.5medium

rtmutex: Drop rt_mutex::wait_lock before scheduling

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 3d5c9340d1949733eb37616abd15db36aef9a57c before 432efdbe7da5ecfcbc0c2180cfdbab1441752a38, from 3d5c9340d1949733eb37616abd15db36aef9a57c before 6a976e9a47e8e5b326de671811561cab12e6fb1f, from 3d5c9340d1949733eb37616abd15db36aef9a57c before 1401da1486dc1cdbef6025fd74a3977df3a3e5d0, from 3d5c9340d1949733eb37616abd15db36aef9a57c before 93f44655472d9cd418293d328f9d141ca234ad83, from 3d5c9340d1949733eb37616abd15db36aef9a57c before a92d81c9efec9280681c27a2c0a963fd0f1338e0, from 3d5c9340d1949733eb37616abd15db36aef9a57c before 85f03ca98e07cd0786738b56ae73740bce0ac27f, from 3d5c9340d1949733eb37616abd15db36aef9a57c before f13b5afc5c4889569d84c3011ce449f61fccfb28, from 3d5c9340d1949733eb37616abd15db36aef9a57c before d33d26036a0274b472299d7dcdaa5fb34329f91b and 13 more
Not affected: before 3.16, from 4.19.322 up to 4.19.*, from 5.4.284 up to 5.4.*, from 5.10.226 up to 5.10.*, from 5.15.167 up to 5.15.*, from 6.1.110 up to 6.1.*
CVE List
linux linux_kernelfrom 3.2.61 before 3.3, from 3.4.99 before 3.5, from 3.10.49 before 3.11, from 3.12.25 before 3.13, from 3.14.10 before 3.15, from 3.15.3 before 3.16, from 3.16 before 4.19.322, from 4.20 before 5.4.284 and 6 moreNVD

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 ]

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: rtmutex: Se elimina rt_mutex::wait_lock antes de programar rt_mutex_handle_deadlock() se llama con rt_mutex::wait_lock retenido. En el caso bueno, regresa con el bloqueo retenido y en el caso de bloqueo, emite una advertencia y entra en un bucle de programación sin fin con el bloqueo retenido, lo que activa la advertencia 'programación en atómico'. Desbloquee rt_mutex::wait_lock en el caso de bloqueo antes de emitir la advertencia y entre en el bucle de programación para siempre. [ tglx: Se movió el desbloqueo antes de WARN(), se eliminó el comentario sin sentido, se modificó el registro de cambios, se agregó la etiqueta Fixes ]

References

Sources

SourceRecordLicence
CVE ListCVE-2024-46829 changed 2026-05-23CVE Terms of Use
NVDCVE-2024-46829 changed 2026-06-17Public domain