kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in:[ 53.473146] syz-executor4: vmalloc: allocation failure: 16587630936 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 6717 Comm: syz-executor4 Not tainted 4.9.58-g3861f0b #75 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d8c57880 ffffffff81d91149 1ffff1003b18af13 ffff8801d98dc800 ffffffff83ab7b80 0000000000000001 0000000000400000 ffff8801d8c57990 ffffffff814507e2 024000c2aefc8569 0000000041b58ab3 ffffffff841903f5Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] warn_alloc+0x212/0x240 mm/page_alloc.c:3054 [] __vmalloc_node_range+0x3f5/0x5f0 mm/vmalloc.c:1722 [] __vmalloc_node mm/vmalloc.c:1744 [inline] [] __vmalloc_node_flags mm/vmalloc.c:1758 [inline] [] vmalloc+0x5b/0x70 mm/vmalloc.c:1773 [] xt_alloc_entry_offsets+0x41/0x60 net/netfilter/x_tables.c:722 [] translate_table+0x21a/0x1e30 net/ipv4/netfilter/ip_tables.c:700 [] ? 0xffffffff810002b8 [] do_replace net/ipv4/netfilter/ip_tables.c:1151 [inline] [] do_ipt_set_ctl+0x2be/0x470 net/ipv4/netfilter/ip_tables.c:1687 [] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 [] ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1243 [] tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2705 [] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2707 [] SYSC_setsockopt net/socket.c:1771 [inline] [] SyS_setsockopt+0x160/0x250 net/socket.c:1750 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Mem-Info: active_anon:100154 inactive_anon:42 isolated_anon:0 active_file:3481 inactive_file:6492 isolated_file:0 unevictable:0 dirty:100 writeback:0 unstable:0 slab_reclaimable:4367 slab_unreclaimable:32329 mapped:22676 shmem:55 pagetables:813 bounce:0 free:1458181 free_pcp:464 free_cma:0 Node 0 active_anon:400616kB inactive_anon:168kB active_file:13924kB inactive_file:25968kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:90704kB dirty:400kB writeback:0kB shmem:220kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 38912kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB 0 2910 6411 6411DMA32 free:2971836kB min:30600kB low:38248kB high:45896kB active_anon:0kB inactive_anon:0kB active_file:8kB inactive_file:16kB unevictable:0kB writepending:0kB present:3129332kB managed:2981840kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:12kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:1324kB local_pcp:688kB free_cma:0kB 0 0 3501 3501Normal free:2844980kB min:36816kB low:46020kB high:55224kB active_anon:400616kB inactive_anon:168kB active_file:13916kB inactive_file:25952kB unevictable:0kB writepending:400kB present:4718592kB managed:3585220kB mlocked:0kB slab_reclaimable:17468kB slab_unreclaimable:129304kB kernel_stack:6272kB pagetables:3252kB bounce:0kB free_pcp:532kB local_pcp:168kB free_cma:0kB 0 0 0 0DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 10027 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 320237 pages reserved syz-executor4: vmalloc: allocation failure: 16587630936 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 6717 Comm: syz-executor4 Not tainted 4.9.58-g3861f0b #75 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d8c57880 ffffffff81d91149 1ffff1003b18af13 ffff8801d98dc800 ffffffff83ab7b80 0000000000000001 0000000000400000 ffff8801d8c57990 ffffffff814507e2 024000c2aefc8569 0000000041b58ab3 ffffffff841903f5Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] warn_alloc+0x212/0x240 mm/page_alloc.c:3054 [] __vmalloc_node_range+0x3f5/0x5f0 mm/vmalloc.c:1722 [] __vmalloc_node mm/vmalloc.c:1744 [inline] [] __vmalloc_node_flags mm/vmalloc.c:1758 [inline] [] vmalloc+0x5b/0x70 mm/vmalloc.c:1773 [] xt_alloc_entry_offsets+0x41/0x60 net/netfilter/x_tables.c:722 [] translate_table+0x21a/0x1e30 net/ipv4/netfilter/ip_tables.c:700 [] ? 0xffffffff810002b8 [] do_replace net/ipv4/netfilter/ip_tables.c:1151 [inline] [] do_ipt_set_ctl+0x2be/0x470 net/ipv4/netfilter/ip_tables.c:1687 [] nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] [] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 [] ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1243 [] tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2705 [] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2707 [] SYSC_setsockopt net/socket.c:1771 [inline] [] SyS_setsockopt+0x160/0x250 net/socket.c:1750 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Mem-Info: active_anon:102284 inactive_anon:42 isolated_anon:0 active_file:3481 inactive_file:6492 isolated_file:0 unevictable:0 dirty:100 writeback:0 unstable:0 slab_reclaimable:4367 slab_unreclaimable:32413 mapped:22676 shmem:55 pagetables:850 bounce:0 free:1455347 free_pcp:450 free_cma:0 Node 0 active_anon:409136kB inactive_anon:168kB active_file:13924kB inactive_file:25968kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:90704kB dirty:400kB writeback:0kB shmem:220kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 38912kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB 0 2910 6411 6411DMA32 free:2971836kB min:30600kB low:38248kB high:45896kB active_anon:0kB inactive_anon:0kB active_file:8kB inactive_file:16kB unevictable:0kB writepending:0kB present:3129332kB managed:2981840kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:12kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:1324kB local_pcp:688kB free_cma:0kB 0 0 3501 3501Normal free:2833644kB min:36816kB low:46020kB high:55224kB active_anon:409136kB inactive_anon:168kB active_file:13916kB inactive_file:25952kB unevictable:0kB writepending:400kB present:4718592kB managed:3585220kB mlocked:0kB slab_reclaimable:17468kB slab_unreclaimable:129640kB kernel_stack:6496kB pagetables:3400kB bounce:0kB free_pcp:476kB local_pcp:112kB free_cma:0kB 0 0 0 0DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 10027 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965979 pages RAM 0 pages HighMem/MovableOnly 320237 pages reserved binder: 6738:6740 ioctl 4b41 20535000 returned -22 binder: 6738:6741 ioctl 4b41 20535000 returned -22 CPU: 1 PID: 6701 Comm: syz-executor5 Not tainted 4.9.58-g3861f0b #75 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d0449800 task.stack: ffff8801d1258000 RIP: 0010:[] [] sg_start_req drivers/scsi/sg.c:1691 [inline] RIP: 0010:[] [] sg_common_write.isra.24+0x382/0x18d0 drivers/scsi/sg.c:777 RSP: 0018:ffff8801d125f908 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000008 RCX: ffffc90001d50000 RDX: 0000000000000002 RSI: ffff8801c819439c RDI: ffff8801c819439a RBP: ffff8801d125faa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: ffffed003a24bf6d R12: 1ffff1003a24bf2f R13: ffff8801c8194200 R14: ffff8801d125fb68 R15: ffff8801c8194358 FS: 00007fc728da9700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0179fb7000 CR3: 00000001b75ee000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000 ffff8801c81943e0 0000000000000026 0000000000000010 ffff8801c819439c 0000000000000000 ffff880100001770 0000000000000026 0000000000000000 ffff8801c8194200 ffff8801d125f998 00000000fffffffe Call Trace: [] sg_write+0x6a1/0xaf0 drivers/scsi/sg.c:680 [] __vfs_write+0x103/0x680 fs/read_write.c:510 [] vfs_write+0x170/0x4e0 fs/read_write.c:560 [] SYSC_write fs/read_write.c:607 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:599 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Code: 42 66 89 85 90 fe ff ff 48 8b 85 c8 fe ff ff 48 83 c0 10 48 89 c2 48 89 85 80 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 1b 15 00 00 48 8b 85 c8 fe ff ff 48 8b 58 10 RIP [] sg_start_req drivers/scsi/sg.c:1691 [inline] RIP [] sg_common_write.isra.24+0x382/0x18d0 drivers/scsi/sg.c:777 RSP ---[ end trace 4621c81b9faf1abd ]---