{"id":"CVE-2024-46829","summary":"rtmutex: Drop rt_mutex::wait_lock before scheduling","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrtmutex: Drop rt_mutex::wait_lock before scheduling\n\nrt_mutex_handle_deadlock() is called with rt_mutex::wait_lock held.  In the\ngood case it returns with the lock held and in the deadlock case it emits a\nwarning and goes into an endless scheduling loop with the lock held, which\ntriggers the 'scheduling in atomic' warning.\n\nUnlock rt_mutex::wait_lock in the dead lock case before issuing the warning\nand dropping into the schedule for ever loop.\n\n[ tglx: Moved unlock before the WARN(), removed the pointless comment,\n  \tmassaged changelog, added Fixes tag ]","modified":"2026-11-17T07:00:50.304432003Z","published":"2024-09-27T12:39:27.764Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46829.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1401da1486dc1cdbef6025fd74a3977df3a3e5d0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/432efdbe7da5ecfcbc0c2180cfdbab1441752a38"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6a976e9a47e8e5b326de671811561cab12e6fb1f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/85f03ca98e07cd0786738b56ae73740bce0ac27f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/93f44655472d9cd418293d328f9d141ca234ad83"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a92d81c9efec9280681c27a2c0a963fd0f1338e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d33d26036a0274b472299d7dcdaa5fb34329f91b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f13b5afc5c4889569d84c3011ce449f61fccfb28"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46829.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-46829"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3d5c9340d1949733eb37616abd15db36aef9a57c"},{"fixed":"432efdbe7da5ecfcbc0c2180cfdbab1441752a38"},{"fixed":"6a976e9a47e8e5b326de671811561cab12e6fb1f"},{"fixed":"1401da1486dc1cdbef6025fd74a3977df3a3e5d0"},{"fixed":"93f44655472d9cd418293d328f9d141ca234ad83"},{"fixed":"a92d81c9efec9280681c27a2c0a963fd0f1338e0"},{"fixed":"85f03ca98e07cd0786738b56ae73740bce0ac27f"},{"fixed":"f13b5afc5c4889569d84c3011ce449f61fccfb28"},{"fixed":"d33d26036a0274b472299d7dcdaa5fb34329f91b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"95f9aded9436aa3ce714aeff3f45fcc1431df7d2"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ea018da95368adfb700689bd9842714f7c3db665"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1201613a70dd34bd347ba2970919b3f1d5fbfb4a"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a2e64fcdc83c645813f7b93e4df291841ba7c625"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"fb52f40e085ef4074f1335672cd62c1f832af13b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2b1f3807ed9cafb59c956ce76a05d25e67103f2e"}]}],"versions":["v3.2.102","v3.2.101","v3.2.100","v3.2.99","v3.2.98","v3.2.97","v3.2.96","v3.2.95","v3.2.94","v3.2.93","v3.2.92","v3.2.91","v3.2.90","v3.2.89","v3.2.88","v3.2.87","v3.2.86","v3.2.85","v3.2.84","v3.2.83","v3.2.82","v3.2.81","v3.2.80","v3.2.79","v3.2.78","v3.2.77","v3.2.76","v3.2.75","v3.2.74","v3.2.73","v3.2.72","v3.2.71","v3.2.70","v3.2.69","v3.2.68","v3.2.67","v3.2.66","v3.2.65","v3.2.64","v3.2.63","v3.2.62","v3.2.61","v3.4.113","v3.4.112","v3.4.111","v3.4.110","v3.4.109","v3.4.108","v3.4.107","v3.4.106","v3.4.105","v3.4.104","v3.4.103","v3.4.102","v3.4.101","v3.4.100","v3.4.99","v3.10.108","v3.10.107","v3.10.106","v3.10.105","v3.10.104","v3.10.103","v3.10.102","v3.10.101","v3.10.100","v3.10.99","v3.10.98","v3.10.97","v3.10.96","v3.10.95","v3.10.94","v3.10.93","v3.10.92","v3.10.91","v3.10.90","v3.10.89","v3.10.88","v3.10.87","v3.10.86","v3.10.85","v3.10.84","v3.10.83","v3.10.82","v3.10.81","v3.10.80","v3.10.79","v3.10.78","v3.10.77","v3.10.76","v3.10.75","v3.10.74","v3.10.73","v3.10.72","v3.10.71","v3.10.70","v3.10.69","v3.10.68","v3.10.67","v3.10.66","v3.10.65","v3.10.64","v3.10.63","v3.10.62","v3.10.61","v3.10.60","v3.10.59","v3.10.58","v3.10.57","v3.10.56","v3.10.55","v3.10.54","v3.10.53","v3.10.52","v3.10.51","v3.10.50","v3.10.49","v3.12.74","v3.12.73","v3.12.72","v3.12.71","v3.12.70","v3.12.69","v3.12.68","v3.12.67","v3.12.66","v3.12.65","v3.12.64","v3.12.63","v3.12.62","v3.12.61","v3.12.60","v3.12.59","v3.12.58","v3.12.57","v3.12.56","v3.12.55","v3.12.54","v3.12.53","v3.12.52","v3.12.51","v3.12.50","v3.12.49","v3.12.48","v3.12.47","v3.12.46","v3.12.45","v3.12.44","v3.12.43","v3.12.42","v3.12.41","v3.12.40","v3.12.39","v3.12.38","v3.12.37","v3.12.36","v3.12.35","v3.12.34","v3.12.33","v3.12.32","v3.12.31","v3.12.30","v3.12.29","v3.12.28","v3.12.27","v3.12.26","v3.12.25","v3.14.79","v3.14.78","v3.14.77","v3.14.76","v3.14.75","v3.14.74","v3.14.73","v3.14.72","v3.14.71","v3.14.70","v3.14.69","v3.14.68","v3.14.67","v3.14.66","v3.14.65","v3.14.64","v3.14.63","v3.14.62","v3.14.61","v3.14.60","v3.14.59","v3.14.58","v3.14.57","v3.14.56","v3.14.55","v3.14.54","v3.14.53","v3.14.52","v3.14.51","v3.14.50","v3.14.49","v3.14.48","v3.14.47","v3.14.46","v3.14.45","v3.14.44","v3.14.43","v3.14.42","v3.14.41","v3.14.40","v3.14.39","v3.14.38","v3.14.37","v3.14.36","v3.14.35","v3.14.34","v3.14.33","v3.14.32","v3.14.31","v3.14.30","v3.14.29","v3.14.28","v3.14.27","v3.14.26","v3.14.25","v3.14.24","v3.14.23","v3.14.22","v3.14.21","v3.14.20","v3.14.19","v3.14.18","v3.14.17","v3.14.16","v3.14.15","v3.14.14","v3.14.13","v3.14.12","v3.14.11","v3.14.10","v3.15.10","v3.15.9","v3.15.8","v3.15.7","v3.15.6","v3.15.5","v3.15.4","v3.15.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46829.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.61"},{"fixed":"3.3"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.4.99"},{"fixed":"3.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.10.49"},{"fixed":"3.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.12.25"},{"fixed":"3.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.14.10"},{"fixed":"3.15"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.15.3"},{"fixed":"3.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"3.16.0"},{"fixed":"4.19.322"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.284"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.167"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.51"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.10.10"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46829.json"}}],"schema_version":"1.9.2"}