Re: [PATCHv3 0/3] Fix crash due to vma_is_anonymous() false-positives

2018-07-24 Thread Linus Torvalds
On Tue, Jul 24, 2018 at 5:11 AM Kirill A. Shutemov
 wrote:
>
> Fix crash found by syzkaller.
>
> Build on top of Linus' changes in 4.18-rc6.
>
> Andrew, could you please drop mm-drop-unneeded-vm_ops-checks-v2.patch for
> now. Infiniband drivers have to be fixed first.

Ack, these look good to me.

We still need to have the rdma people fix up their vma mis-use, but
that's a related, but independent issue.

 Linus


Re: [PATCHv3 0/3] Fix crash due to vma_is_anonymous() false-positives

2018-07-24 Thread Linus Torvalds
On Tue, Jul 24, 2018 at 5:11 AM Kirill A. Shutemov
 wrote:
>
> Fix crash found by syzkaller.
>
> Build on top of Linus' changes in 4.18-rc6.
>
> Andrew, could you please drop mm-drop-unneeded-vm_ops-checks-v2.patch for
> now. Infiniband drivers have to be fixed first.

Ack, these look good to me.

We still need to have the rdma people fix up their vma mis-use, but
that's a related, but independent issue.

 Linus


[PATCHv3 0/3] Fix crash due to vma_is_anonymous() false-positives

2018-07-24 Thread Kirill A. Shutemov
Fix crash found by syzkaller.

Build on top of Linus' changes in 4.18-rc6.

Andrew, could you please drop mm-drop-unneeded-vm_ops-checks-v2.patch for
now. Infiniband drivers have to be fixed first.

Kirill A. Shutemov (3):
  mm: Introduce vma_init()
  mm: Use vma_init() to initialize VMAs on stack and data segments
  mm: Fix vma_is_anonymous() false-positives

 arch/arm/kernel/process.c|  1 +
 arch/arm/mach-rpc/ecard.c|  2 +-
 arch/arm64/include/asm/tlb.h |  4 +++-
 arch/arm64/mm/hugetlbpage.c  |  7 +--
 arch/ia64/include/asm/tlb.h  |  2 +-
 arch/ia64/mm/init.c  |  2 +-
 arch/x86/um/mem_32.c |  2 +-
 drivers/char/mem.c   |  1 +
 fs/exec.c|  1 +
 fs/hugetlbfs/inode.c |  2 ++
 include/linux/mm.h   | 14 ++
 kernel/fork.c|  6 ++
 mm/mempolicy.c   |  1 +
 mm/mmap.c|  3 +++
 mm/nommu.c   |  2 ++
 mm/shmem.c   |  1 +
 16 files changed, 40 insertions(+), 11 deletions(-)

-- 
2.18.0



[PATCHv3 0/3] Fix crash due to vma_is_anonymous() false-positives

2018-07-24 Thread Kirill A. Shutemov
Fix crash found by syzkaller.

Build on top of Linus' changes in 4.18-rc6.

Andrew, could you please drop mm-drop-unneeded-vm_ops-checks-v2.patch for
now. Infiniband drivers have to be fixed first.

Kirill A. Shutemov (3):
  mm: Introduce vma_init()
  mm: Use vma_init() to initialize VMAs on stack and data segments
  mm: Fix vma_is_anonymous() false-positives

 arch/arm/kernel/process.c|  1 +
 arch/arm/mach-rpc/ecard.c|  2 +-
 arch/arm64/include/asm/tlb.h |  4 +++-
 arch/arm64/mm/hugetlbpage.c  |  7 +--
 arch/ia64/include/asm/tlb.h  |  2 +-
 arch/ia64/mm/init.c  |  2 +-
 arch/x86/um/mem_32.c |  2 +-
 drivers/char/mem.c   |  1 +
 fs/exec.c|  1 +
 fs/hugetlbfs/inode.c |  2 ++
 include/linux/mm.h   | 14 ++
 kernel/fork.c|  6 ++
 mm/mempolicy.c   |  1 +
 mm/mmap.c|  3 +++
 mm/nommu.c   |  2 ++
 mm/shmem.c   |  1 +
 16 files changed, 40 insertions(+), 11 deletions(-)

-- 
2.18.0