lkml.org 
[lkml]   [2016]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: mm: uninterruptable tasks hanged on mmap_sem
On Tue, Feb 2, 2016 at 10:24 PM, Jiri Kosina <jikos@kernel.org> wrote:
> On Tue, 2 Feb 2016, Dmitry Vyukov wrote:
>
>> Original log from fuzzer contained the following WARNING in
>> mm/rmap.c:412. But when I tried to reproduce it, I hit these hanged
>> processes instead. I can't reliably detect what program triggered
>> what. So it may be related, or maybe a separate issue.
>>
>> ------------[ cut here ]------------
>> kernel BUG at mm/rmap.c:412!
>
> Are you by any chance in this test sending signals to the fuzzer?
>
> If so, the bug I just fixed in floppy driver can cause all kinds of memory
> corruptions in case you're running multithreaded accessess to /dev/fd0 and
> sending singals to the threads that are trying to access /dev/fd0 at the
> same time.
>
> Could you please double check that the other floppy fix I've sent you a
> couple days ago doesn't fix this as well? (this test makes sense only if
> signals are involved though).

I have "floppy: fix lock_fdc() signal handling" applied (the final,
second version).
The process is multithreaded and it can well receive SIGKILLs.

\
 
 \ /
  Last update: 2016-02-02 23:01    [W:0.073 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site