** Changed in: intel
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1835348

Title:
  mm/huge_memory: fix vmf_insert_pfn_{pmd, pud}() crash, handle
  unaligned addresses

Status in intel:
  Fix Released
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Description
  Starting with c6f3c5ee40c1 ("mm/huge_memory.c: fix modifying of page
  protection by insert_pfn_pmd()") vmf_insert_pfn_pmd() internally calls
  pmdp_set_access_flags(). That helper enforces a pmd aligned @address
  argument via VM_BUG_ON() assertion.

  Update the implementation to take a 'struct vm_fault' argument directly
  and apply the address alignment fixup internally to fix crash signatures
  like:

  kernel BUG at arch/x86/mm/pgtable.c:515!
  invalid opcode: 0000 1 SMP NOPTI
  CPU: 51 PID: 43713 Comm: java Tainted: G OE 4.19.35 #1
  [..]
  RIP: 0010:pmdp_set_access_flags+0x48/0x50
  [..]
  Call Trace:
  vmf_insert_pfn_pmd+0x198/0x350
  dax_iomap_fault+0xe82/0x1190
  ext4_dax_huge_fault+0x103/0x1f0
  ? __switch_to_asm+0x40/0x70
  __handle_mm_fault+0x3f6/0x1370
  ? __switch_to_asm+0x34/0x70
  ? __switch_to_asm+0x40/0x70
  handle_mm_fault+0xda/0x200
  __do_page_fault+0x249/0x4f0
  do_page_fault+0x32/0x110
  ? page_fault+0x8/0x30
  page_fault+0x1e/0x30

  Commits:
  fce86ff5802b

  
  Target Release:19.10
  Target Kernel: 5.2

To manage notifications about this bug go to:
https://bugs.launchpad.net/intel/+bug/1835348/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to