[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180712150759.acjj4jdw4ykwvzwg@kshutemo-mobl1>
Date: Thu, 12 Jul 2018 18:08:00 +0300
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Dmitry Vyukov <dvyukov@...gle.com>,
Oleg Nesterov <oleg@...hat.com>,
Andrea Arcangeli <aarcange@...hat.com>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCHv2 0/2] Fix crash due to vma_is_anonymous() false-positives
On Thu, Jul 12, 2018 at 05:56:24PM +0300, Kirill A. Shutemov wrote:
>
> Fix crash found by syzkaller.
>
> The fix allows to remove ->vm_ops checks.
>
> v2:
> - Catch few more cases where we need to initialize ->vm_ops:
> + nommu;
> + ia64;
> - Make sure that we initialize ->vm_ops even if ->mmap failed.
> We need ->vm_ops in error path too.
Just to be clear: it *should* help found issues, but I don't have setup to
test nommu changes.
And ion-related bug was actually caused by fault injection that failed
page allocation and ->mmap not setting ->vm_ops. It should be fine now.
But again I wasn't able to trigger the exact situation.
--
Kirill A. Shutemov
Powered by blists - more mailing lists