lkml.org 
[lkml]   [2023]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [syzbot] WARNING: locking bug in umh_complete
From
On 2023/02/03 21:30, Peter Zijlstra wrote:
>> I think the right fix is to:
>>
>> state &= ~TASK_KILLABLE;
>
> state &= ~__TASK_WAKEKILL;
>
> we don't want to mask out UNINTERUPTIBLE, that would be bad.

This code was made killable as a solution for CVE-2012-4398.
Although OOM reaper is available today, making back to unkillable is not smart.

>
>> wait_for_completion_state(&done, state);
>>
>> Also, put in a comment..

\
 
 \ /
  Last update: 2023-03-27 00:09    [W:0.115 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site