CVE-2024-46829

Source
https://cve.org/CVERecord?id=CVE-2024-46829
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46829.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46829
Downstream
Published
2024-09-27T12:39:27.764Z
Modified
2026-03-20T12:37:56.966872Z
Summary
rtmutex: Drop rt_mutex::wait_lock before scheduling
Details

In the Linux kernel, the following vulnerability has been resolved:

rtmutex: Drop rtmutex::waitlock before scheduling

rtmutexhandledeadlock() is called with rtmutex::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 rtmutex::waitlock 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 ]

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46829.json"
}
References

Affected packages

Git / 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
0 Unknown introduced commit / All previous commits are affected
Last affected
95f9aded9436aa3ce714aeff3f45fcc1431df7d2
Last affected
ea018da95368adfb700689bd9842714f7c3db665
Last affected
1201613a70dd34bd347ba2970919b3f1d5fbfb4a
Last affected
a2e64fcdc83c645813f7b93e4df291841ba7c625
Last affected
fb52f40e085ef4074f1335672cd62c1f832af13b
Last affected
2b1f3807ed9cafb59c956ce76a05d25e67103f2e

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46829.json"