[PATCH 0/2] Fix crash due to vma_is_anonymous() false-positives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix crash found by syzkaller.

The fix allows to remove ->vm_ops checks.

Kirill A. Shutemov (2):
  mm: Fix vma_is_anonymous() false-positives
  mm: Drop unneeded ->vm_ops checks

 drivers/char/mem.c   |  1 +
 fs/binfmt_elf.c      |  2 +-
 fs/exec.c            |  1 +
 fs/hugetlbfs/inode.c |  1 +
 fs/kernfs/file.c     | 20 +-------------------
 fs/proc/task_mmu.c   |  2 +-
 include/linux/mm.h   |  5 ++++-
 kernel/events/core.c |  2 +-
 kernel/fork.c        |  2 +-
 mm/hugetlb.c         |  2 +-
 mm/khugepaged.c      |  4 ++--
 mm/memory.c          | 12 ++++++------
 mm/mempolicy.c       | 10 +++++-----
 mm/mmap.c            | 27 ++++++++++++++++++++-------
 mm/mremap.c          |  2 +-
 mm/nommu.c           |  4 ++--
 mm/shmem.c           |  1 +
 17 files changed, 50 insertions(+), 48 deletions(-)

-- 
2.18.0




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux