kasan: GPF could be caused by NULL-ptr deref or user memory access syz-executor.2: page allocation failure: order:4, mode:0x62c0c2(GFP_HIGHUSER|__GFP_COMP|__GFP_ZERO), nodemask=0 general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10330 Comm: modprobe Not tainted 4.19.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:do_last fs/namei.c:3262 [inline] RIP: 0010:path_openat+0x293/0x4500 fs/namei.c:3537 Code: 80 3c 02 00 0f 85 fa 34 00 00 48 8b 85 28 ff ff ff 48 8b 58 58 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b7 RSP: 0018:ffff888022547ae0 EFLAGS: 00010247 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81b02b3e RDX: 0000000000000000 RSI: ffffffff81b02b4c RDI: 0000000000000004 RBP: ffff888022547c60 R08: ffff88809ef66300 R09: 0000000000000001 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: 0000000000000000 R13: ffff888022547e60 R14: ffff888022547e60 R15: ffff888022547ca0 FS: 00007fb83d0cd700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc72879e190 CR3: 000000004189a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_filp_open+0x1a1/0x280 fs/namei.c:3567 syz-executor.2 cpuset=syz2 mems_allowed=0-1 do_sys_open+0x3fe/0x550 fs/open.c:1088 CPU: 1 PID: 10359 Comm: syz-executor.2 Not tainted 4.19.101-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 warn_alloc.cold+0x7b/0x173 mm/page_alloc.c:3455 __do_sys_open fs/open.c:1106 [inline] __se_sys_open fs/open.c:1101 [inline] __x64_sys_open+0x7e/0xc0 fs/open.c:1101 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe __alloc_pages_slowpath+0x2214/0x2870 mm/page_alloc.c:4315 RIP: 0033:0x7fb83c9e5120 Code: 48 8b 15 1b 4d 2b 00 f7 d8 64 89 02 83 c8 ff c3 90 90 90 90 90 90 90 90 90 90 83 3d d5 a4 2b 00 00 75 10 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 5e 8c 01 00 48 89 04 24 RSP: 002b:00007ffe70ccef28 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: ffffffffffffffda RBX: 000055dac54484b6 RCX: 00007fb83c9e5120 RDX: 00007ffe70ccf164 RSI: 0000000000080000 RDI: 00007ffe70ccf140 RBP: 000055dac5448260 R08: 0000000000000000 R09: 000055dac5448119 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 000055dac5448110 R14: 000055dac5448210 R15: 00007ffe70ccf140 Modules linked in: __alloc_pages_nodemask+0x617/0x750 mm/page_alloc.c:4417 ---[ end trace 22f10f97c4dcce81 ]--- RIP: 0010:do_last fs/namei.c:3262 [inline] RIP: 0010:path_openat+0x293/0x4500 fs/namei.c:3537 Code: 80 3c 02 00 0f 85 fa 34 00 00 48 8b 85 28 ff ff ff 48 8b 58 58 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 04 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 b7 alloc_pages_current+0x107/0x210 mm/mempolicy.c:2197 alloc_pages include/linux/gfp.h:532 [inline] ion_page_pool_alloc_pages drivers/staging/android/ion/ion_page_pool.c:19 [inline] ion_page_pool_alloc+0x17f/0x270 drivers/staging/android/ion/ion_page_pool.c:78 alloc_buffer_page drivers/staging/android/ion/ion_system_heap.c:53 [inline] alloc_largest_available drivers/staging/android/ion/ion_system_heap.c:87 [inline] ion_system_heap_allocate+0x154/0xa90 drivers/staging/android/ion/ion_system_heap.c:118 RSP: 0018:ffff888022547ae0 EFLAGS: 00010247 ion_buffer_create drivers/staging/android/ion/ion.c:80 [inline] ion_alloc+0x29b/0x900 drivers/staging/android/ion/ion.c:409 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff81b02b3e ion_ioctl+0x17b/0x329 drivers/staging/android/ion/ion-ioctl.c:76 RDX: 0000000000000000 RSI: ffffffff81b02b4c RDI: 0000000000000004 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xd5f/0x1380 fs/ioctl.c:688 RBP: ffff888022547c60 R08: ffff88809ef66300 R09: 0000000000000001 R10: ffffed1015d24732 R11: ffff8880ae923993 R12: 0000000000000000 R13: ffff888022547e60 R14: ffff888022547e60 R15: ffff888022547ca0 FS: 00007fb83d0cd700(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 ksys_ioctl+0xab/0xd0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x73/0xb0 fs/ioctl.c:710 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe CR2: 000000000042f920 CR3: 000000004189a000 CR4: 00000000001406f0 RIP: 0033:0x45b399 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f90fe60bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f90fe60c6d4 RCX: 000000000045b399 RDX: 00000000200001c0 RSI: 00000000c0184900 RDI: 0000000000000006 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000360 R14: 00000000004c4866 R15: 000000000075bf2c syz-executor.4: page allocation failure: order:4, mode:0x62c0c2(GFP_HIGHUSER|__GFP_COMP|__GFP_ZERO), nodemask=0 syz-executor.1: page allocation failure: order:4, mode:0x62c0c2(GFP_HIGHUSER|__GFP_COMP|__GFP_ZERO), nodemask=0 syz-executor.4 cpuset=syz4 mems_allowed=0-1 warn_alloc_show_mem: 4 callbacks suppressed Mem-Info: CPU: 1 PID: 10273 Comm: syz-executor.4 Tainted: G D 4.19.101-syzkaller #0 syz-executor.1 cpuset=syz1 mems_allowed=0-1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x197/0x210 lib/dump_stack.c:118 warn_alloc.cold+0x7b/0x173 mm/page_alloc.c:3455 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 active_anon:330574 inactive_anon:206 isolated_anon:0 active_file:2755 inactive_file:2888 isolated_file:21 unevictable:0 dirty:37 writeback:0 unstable:0 slab_reclaimable:15541 slab_unreclaimable:117611 mapped:56544 shmem:397 pagetables:4605 bounce:0 free:885047 free_pcp:216 free_cma:0 __alloc_pages_slowpath+0x2214/0x2870 mm/page_alloc.c:4315 Node 0 active_anon:1322036kB inactive_anon:816kB active_file:4676kB inactive_file:2128kB unevictable:0kB isolated(anon):0kB isolated(file):84kB mapped:213232kB dirty:124kB writeback:0kB shmem:1580kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 587776kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no