kasan: CONFIG_KASAN_INLINE enabled syz-executor.1: vmalloc: allocation failure: 0 bytes, mode:0x6000c0(GFP_KERNEL), nodemask=(null) kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 11099 Comm: syz-executor.5 Not tainted 4.19.35 #3 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip6erspan_set_version+0x5c/0x350 net/ipv6/ip6_gre.c:1747 Code: 07 38 d0 7f 08 84 c0 0f 85 9f 02 00 00 49 8d bc 24 b0 00 00 00 c6 43 54 01 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 9a 02 00 00 4d 8b ac 24 b0 00 00 00 4d 85 ed 0f RSP: 0018:ffff88805aa76fc8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88805abb2cd8 RCX: ffffc900108cc000 RDX: 0000000000000016 RSI: ffffffff8610a7a4 RDI: 00000000000000b0 RBP: ffff88805aa76fe0 R08: 1ffff1100b57659b R09: ffff88805abb2cd8 R10: ffffed100b5765a5 R11: ffff88805abb2d2f R12: 0000000000000000 R13: ffff88805d328180 R14: ffffffff893ceea0 R15: ffff88805abb2cd8 FS: 00007f33b554f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fffdb66b9d8 CR3: 00000000a0326000 CR4: 00000000001406e0 Call Trace: ip6erspan_newlink+0x66/0x7b0 net/ipv6/ip6_gre.c:2237 rtnl_newlink+0x1062/0x1620 net/core/rtnetlink.c:3107 rtnetlink_rcv_msg+0x465/0xb00 net/core/rtnetlink.c:4743 netlink_rcv_skb+0x180/0x460 net/netlink/af_netlink.c:2454 rtnetlink_rcv+0x1d/0x30 net/core/rtnetlink.c:4761 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x53c/0x720 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xdd/0x130 net/socket.c:632 ___sys_sendmsg+0x806/0x930 net/socket.c:2115 __sys_sendmsg+0x105/0x1d0 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458c29 Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f33b554ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29 RDX: 0000000000000000 RSI: 0000000020001340 RDI: 0000000000000003 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f33b554f6d4 R13: 00000000004c6516 R14: 00000000004dae80 R15: 00000000ffffffff Modules linked in: syz-executor.1 cpuset=syz1 mems_allowed=0-1 CPU: 1 PID: 11100 Comm: syz-executor.1 Tainted: G D 4.19.35 #3 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+0x172/0x1f0 lib/dump_stack.c:113 warn_alloc.cold+0x7b/0x173 mm/page_alloc.c:3447 __vmalloc_node_range mm/vmalloc.c:1766 [inline] __vmalloc_node_range+0x484/0x790 mm/vmalloc.c:1732 __vmalloc_node mm/vmalloc.c:1795 [inline] __vmalloc_node_flags mm/vmalloc.c:1809 [inline] vmalloc+0x6b/0x90 mm/vmalloc.c:1831 sel_write_load+0x1de/0x470 security/selinux/selinuxfs.c:557 __vfs_write+0x116/0x820 fs/read_write.c:485 vfs_write+0x20c/0x560 fs/read_write.c:549 ksys_write+0xea/0x1f0 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458c29 Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f563121dc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000458c29 RDX: 0000000000000000 RSI: 0000000020000380 RDI: 0000000000000004 RBP: 000000000073bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f563121e6d4 R13: 00000000004c8777 R14: 00000000004def48 R15: 00000000ffffffff ---[ end trace ed0d21fedf1622de ]--- RIP: 0010:ip6erspan_set_version+0x5c/0x350 net/ipv6/ip6_gre.c:1747 Mem-Info: Code: 07 38 d0 7f 08 84 c0 0f 85 9f 02 00 00 49 8d bc 24 b0 00 00 00 c6 43 54 01 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 9a 02 00 00 4d 8b ac 24 b0 00 00 00 4d 85 ed 0f active_anon:143106 inactive_anon:191 isolated_anon:0 active_file:12909 inactive_file:32587 isolated_file:0 unevictable:0 dirty:259 writeback:0 unstable:0 slab_reclaimable:13315 slab_unreclaimable:111381 mapped:58864 shmem:246 pagetables:2186 bounce:0 free:1215442 free_pcp:471 free_cma:0 RSP: 0018:ffff88805aa76fc8 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: ffff88805abb2cd8 RCX: ffffc900108cc000 Node 0 active_anon:572424kB inactive_anon:764kB active_file:51488kB inactive_file:130348kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:235456kB dirty:1028kB writeback:0kB shmem:984kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 526336kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no RDX: 0000000000000016 RSI: ffffffff8610a7a4 RDI: 00000000000000b0 RBP: ffff88805aa76fe0 R08: 1ffff1100b57659b R09: ffff88805abb2cd8 Node 1 active_anon:0kB inactive_anon:0kB active_file:148kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:8kB writeback:0kB shmem:0kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 0kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no R10: ffffed100b5765a5 R11: ffff88805abb2d2f R12: 0000000000000000 Node 0 DMA free:15908kB min:220kB low:272kB high:324kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB R13: ffff88805d328180 R14: ffffffff893ceea0 R15: ffff88805abb2cd8 lowmem_reserve[]: 0 2555 2557 2557 Node 0 DMA32 free:1062432kB min:36248kB low:45308kB high:54368kB active_anon:572424kB inactive_anon:764kB active_file:51488kB inactive_file:130348kB unevictable:0kB writepending:1028kB present:3129332kB managed:2619972kB mlocked:0kB kernel_stack:8832kB pagetables:8744kB bounce:0kB free_pcp:1876kB local_pcp:1320kB free_cma:0kB FS: 00007f33b554f700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b33529000 CR3: 00000000a0326000 CR4: 00000000001406e0 lowmem_reserve[]: 0 0 2 2