Bug 2315181 (CVE-2024-46829) - CVE-2024-46829 kernel: rtmutex: Drop rt_mutex::wait_lock before scheduling
Summary: CVE-2024-46829 kernel: rtmutex: Drop rt_mutex::wait_lock before scheduling
Keywords:
Status: NEW
Alias: CVE-2024-46829
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2315276
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-27 13:21 UTC by OSIDB Bzimport
Modified: 2024-09-27 18:16 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-27 13:21:55 UTC
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 ]


Note You need to log in before you can comment on or make changes to this bug.