Call Trace: kasan: GPF could be caused by NULL-ptr deref or user memory access __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 22868 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 RIP: 0010:__write_once_size include/linux/compiler.h:290 [inline] RIP: 0010:__hlist_del include/linux/list.h:688 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline] RIP: 0010:vxlan_fdb_destroy+0xbe/0x1f0 drivers/net/vxlan.c:788 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 11 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 08 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 09 01 00 00 48 85 ed 49 89 2c 24 74 28 e8 4a 06 RSP: 0018:ffff88802f136d90 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ffff888095d2c580 RCX: ffffc90009450000 RDX: 1bd5a00000000040 RSI: ffffffff844f7ebc RDI: ffff888095d2c588 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 shmem_mfill_atomic_pte+0xcfc/0x2190 mm/shmem.c:2288 R10: 0000000000000001 R11: 0000000000000000 R12: dead000000000200 R13: 0000000000000000 R14: ffff88802f136eb0 R15: ffff8880452d5240 FS: 00007f58b0244700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 shmem_mfill_zeropage_pte+0x91/0xc0 mm/shmem.c:2415 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f375ad0b06c CR3: 00000000a17df000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 mfill_atomic_pte mm/userfaultfd.c:428 [inline] __mcopy_atomic mm/userfaultfd.c:558 [inline] mfill_zeropage+0xa0c/0xfe0 mm/userfaultfd.c:615 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: userfaultfd_zeropage fs/userfaultfd.c:1780 [inline] userfaultfd_ioctl+0x1b41/0x37f0 fs/userfaultfd.c:1885 __vxlan_dev_create+0x477/0x820 drivers/net/vxlan.c:3279 vxlan_newlink+0xc0/0x120 drivers/net/vxlan.c:3506 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 rtnl_newlink+0x1030/0x15c0 net/core/rtnetlink.c:3141 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fb7b437c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb7b28ee168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb7b449bf80 RCX: 00007fb7b437c0c9 RDX: 0000000020000080 RSI: 00000000c020aa04 RDI: 0000000000000004 RBP: 00007fb7b28ee1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffda73d589f R14: 00007fb7b28ee300 R15: 0000000000022000 rtnetlink_rcv_msg+0x453/0xb80 net/core/rtnetlink.c:4782 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2463 netlink_unicast_kernel net/netlink/af_netlink.c:1325 [inline] netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1351 netlink_sendmsg+0x6c3/0xc50 net/netlink/af_netlink.c:1917 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 sock_no_sendpage+0xf5/0x140 net/core/sock.c:2686 kernel_sendpage net/socket.c:3585 [inline] sock_sendpage+0xdf/0x140 net/socket.c:912 pipe_to_sendpage+0x268/0x330 fs/splice.c:452 splice_from_pipe_feed fs/splice.c:503 [inline] __splice_from_pipe+0x389/0x800 fs/splice.c:627 splice_from_pipe fs/splice.c:662 [inline] generic_splice_sendpage+0xd4/0x140 fs/splice.c:833 do_splice_from fs/splice.c:852 [inline] do_splice fs/splice.c:1154 [inline] __do_sys_splice fs/splice.c:1428 [inline] __se_sys_splice+0xfe7/0x16d0 fs/splice.c:1408 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f58b1cf30c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f58b0244168 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007f58b1e13050 RCX: 00007f58b1cf30c9 RDX: 0000000000000006 RSI: 0000000000000000 RDI: 0000000000000003 FAULT_INJECTION: forcing a failure. name fail_page_alloc, interval 1, probability 0, space 0, times 0 RBP: 00007f58b1d4eae9 R08: 000000000004ffb1 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd77a7f01f R14: 00007f58b0244300 R15: 0000000000022000 Modules linked in: kauditd_printk_skb: 2 callbacks suppressed audit: type=1800 audit(1674420302.465:710): pid=22875 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file1" dev="sda1" ino=14289 res=0 CPU: 1 PID: 22892 Comm: syz-executor.0 Tainted: G D 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 should_fail_alloc_page mm/page_alloc.c:3088 [inline] prepare_alloc_pages mm/page_alloc.c:4346 [inline] __alloc_pages_nodemask+0x239/0x2890 mm/page_alloc.c:4393 alloc_pages_vma+0xf2/0x780 mm/mempolicy.c:2161 shmem_alloc_page+0x11c/0x1f0 mm/shmem.c:1494 shmem_mfill_atomic_pte+0xcfc/0x2190 mm/shmem.c:2288 shmem_mfill_zeropage_pte+0x91/0xc0 mm/shmem.c:2415 mfill_atomic_pte mm/userfaultfd.c:428 [inline] __mcopy_atomic mm/userfaultfd.c:558 [inline] mfill_zeropage+0xa0c/0xfe0 mm/userfaultfd.c:615 userfaultfd_zeropage fs/userfaultfd.c:1780 [inline] userfaultfd_ioctl+0x1b41/0x37f0 fs/userfaultfd.c:1885 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fb7b437c0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 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 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb7b28ee168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb7b449bf80 RCX: 00007fb7b437c0c9 RDX: 0000000020000080 RSI: 00000000c020aa04 RDI: 0000000000000004 RBP: 00007fb7b28ee1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffda73d589f R14: 00007fb7b28ee300 R15: 0000000000022000 audit: type=1800 audit(1674420303.596:711): pid=22901 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file1" dev="sda1" ino=13987 res=0 ---[ end trace df046f5ae0e1ea32 ]--- RIP: 0010:__write_once_size include/linux/compiler.h:290 [inline] RIP: 0010:__hlist_del include/linux/list.h:688 [inline] RIP: 0010:hlist_del_rcu include/linux/rculist.h:457 [inline] RIP: 0010:vxlan_fdb_destroy+0xbe/0x1f0 drivers/net/vxlan.c:788 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 11 01 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 63 08 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 09 01 00 00 48 85 ed 49 89 2c 24 74 28 e8 4a 06 RSP: 0018:ffff88802f136d90 EFLAGS: 00010a02 RAX: dffffc0000000000 RBX: ffff888095d2c580 RCX: ffffc90009450000 audit: type=1800 audit(1674420303.726:712): pid=22914 uid=0 auid=4294967295 ses=4294967295 subj==unconfined op=collect_data cause=failed(directio) comm="syz-executor.2" name="file1" dev="sda1" ino=14273 res=0 EXT4-fs (loop5): couldn't mount as ext3 due to feature incompatibilities RDX: 1bd5a00000000040 RSI: ffffffff844f7ebc RDI: ffff888095d2c588 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: dead000000000200 R13: 0000000000000000 R14: ffff88802f136eb0 R15: ffff8880452d5240 FS: 00007f58b0244700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f65ec210264 CR3: 00000000a17df000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 ---------------- Code disassembly (best guess), 3 bytes skipped: 0: df 48 89 fisttps -0x77(%rax) 3: fa cli 4: 48 c1 ea 03 shr $0x3,%rdx 8: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) c: 0f 85 11 01 00 00 jne 0x123 12: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 19: fc ff df 1c: 4c 8b 63 08 mov 0x8(%rbx),%r12 20: 4c 89 e2 mov %r12,%rdx 23: 48 c1 ea 03 shr $0x3,%rdx * 27: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2b: 0f 85 09 01 00 00 jne 0x13a 31: 48 85 ed test %rbp,%rbp 34: 49 89 2c 24 mov %rbp,(%r12) 38: 74 28 je 0x62 3a: e8 .byte 0xe8 3b: 4a 06 rex.WX (bad)