lkml.org 
[lkml]   [2021]   [Aug]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[patch 0/2] locking/rtmutex: Cure two subtle bugs
Date
The recent updates to rtmutex introduced two subtle bugs:

1) The spinwait mechanism added a UAF which triggers a BUG_ON()

2) The ww_mutex addition leaves a waiter queued in the error exit path
resulting in rb tree corruption

The fixes are straight forward, but the rtmutex based ww_mutex
implementation still has some more rough egdes which need to be ironed out.

Thanks,

tglx
---
rtmutex.c | 12 +++++++++---
rtmutex_common.h | 13 +++++++++++++
2 files changed, 22 insertions(+), 3 deletions(-)
\
 
 \ /
  Last update: 2021-08-25 12:33    [W:0.176 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site