Messages in this thread | | | Date | Fri, 3 Feb 2023 21:59:51 +0900 | Subject | Re: [syzbot] WARNING: locking bug in umh_complete | From | Tetsuo Handa <> |
| |
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..
| |