syzkaller login: [ 285.112322][ T2815] warn_alloc: 6 callbacks suppressed [ 285.112689][ T2815] dhcpcd: vmalloc error: size 4096, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0 [ 285.116348][ T2815] CPU: 0 PID: 2815 Comm: dhcpcd Tainted: G W 6.2.0-rc1-syzkaller #0 [ 285.117576][ T2815] Hardware name: riscv-virtio,qemu (DT) [ 285.118430][ T2815] Call Trace: [ 285.119610][ T2815] [] dump_backtrace+0x2e/0x3c [ 285.121391][ T2815] [] show_stack+0x34/0x40 [ 285.122480][ T2815] [] dump_stack_lvl+0xe0/0x14c [ 285.123712][ T2815] [] dump_stack+0x1c/0x24 [ 285.124915][ T2815] [] warn_alloc+0x168/0x22c [ 285.126072][ T2815] [] __vmalloc_node_range+0xb6c/0xdb4 [ 285.127315][ T2815] [] bpf_jit_alloc_exec+0x46/0x52 [ 285.128667][ T2815] [] bpf_jit_binary_alloc+0x96/0x13c [ 285.130453][ T2815] [] bpf_int_jit_compile+0x886/0xaa6 [ 285.131686][ T2815] [] bpf_prog_select_runtime+0x1a2/0x22e [ 285.133117][ T2815] [] bpf_migrate_filter+0x258/0x2be [ 285.134516][ T2815] [] bpf_prepare_filter+0x10e/0x1b4 [ 285.135756][ T2815] [] __get_filter+0x148/0x1a0 [ 285.137125][ T2815] [] sk_attach_filter+0x22/0x11a [ 285.139169][ T2815] [] sk_setsockopt+0x144e/0x270c [ 285.140714][ T2815] [] sock_setsockopt+0x48/0x58 [ 285.141837][ T2815] [] __sys_setsockopt+0x3f0/0x418 [ 285.142839][ T2815] [] sys_setsockopt+0x3a/0x4c [ 285.143860][ T2815] [] ret_from_syscall+0x0/0x2 [ 285.252140][ T2815] Mem-Info: [ 285.253489][ T2815] active_anon:33 inactive_anon:955 isolated_anon:0 [ 285.253489][ T2815] active_file:1689 inactive_file:335 isolated_file:0 [ 285.253489][ T2815] unevictable:768 dirty:321 writeback:0 [ 285.253489][ T2815] slab_reclaimable:4832 slab_unreclaimable:18339 [ 285.253489][ T2815] mapped:1046 shmem:802 pagetables:112 [ 285.253489][ T2815] sec_pagetables:0 bounce:0 [ 285.253489][ T2815] kernel_misc_reclaimable:0 [ 285.253489][ T2815] free:284565 free_pcp:795 free_cma:4096 [ 285.256887][ T2815] Node 0 active_anon:132kB inactive_anon:3820kB active_file:6756kB inactive_file:1340kB unevictable:3072kB isolated(anon):0kB isolated(file):0kB mapped:4184kB dirty:1284kB writeback:0kB shmem:3208kB writeback_tmp:0kB kernel_stack:4568kB pagetables:448kB sec_pagetables:0kB all_unreclaimable? no [ 285.290340][ T2815] Node 0 DMA32 free:1138260kB boost:0kB min:4656kB low:6012kB high:7368kB reserved_highatomic:0KB active_anon:132kB inactive_anon:3904kB active_file:6756kB inactive_file:1340kB unevictable:3072kB writepending:1284kB present:2095104kB managed:1359004kB mlocked:0kB bounce:0kB free_pcp:3136kB local_pcp:1188kB free_cma:16384kB [ 285.293363][ T2815] lowmem_reserve[]: 0 0 0 ps_bpf_start_bpf: bpf_open: Unknown error 524 [ 285.295546][ T2815] Node 0 DMA32: 1*4kB (U) 20*8kB (UME) 35*16kB (U) 4*32kB (UE) 6*64kB (UME) 5*128kB (UME) 1*256kB (U) 1*512kB (U) 1*1024kB (M) 4*2048kB (UMC) 275*4096kB (MC) = 1138260kB [ 285.353070][ T2815] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 285.354280][ T2815] Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB [ 285.355413][ T2815] 2819 total pagecache pages [ 285.356339][ T2815] 0 pages in swap cache [ 285.357163][ T2815] Free swap = 0kB [ 285.357923][ T2815] Total swap = 0kB [ 285.380489][ T2815] 523776 pages RAM [ 285.381529][ T2815] 0 pages HighMem/MovableOnly [ 285.385410][ T2815] 184025 pages reserved [ 285.386373][ T2815] 4096 pages cma reserved ps_root_recvmsg: Unknown error 524 ps_bpf_start_bpf: bpf_open: Unknown error 524 ps_root_recvmsg: Unknown error 524 [ 295.645744][ T2674] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. [ 295.695153][ T2674] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. ps_root_recvmsgcb: failed to send message to pid 2779: Connection refused [ 295.742127][ T2674] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. ps_root_recvmsgcb: failed to send message to pid 2783: Connection refused ps_root_recvmsgcb: failed to send message to pid 2816: Connection refused ps_root_recvmsgcb: failed to send message to pid 2815: Connection refused [ 326.864778][ T2826] warn_alloc: 1 callbacks suppressed [ 326.865054][ T2826] dhcpcd: vmalloc error: size 4096, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0 [ 326.868232][ T2826] CPU: 1 PID: 2826 Comm: dhcpcd Tainted: G W 6.2.0-rc1-syzkaller #0 [ 326.869868][ T2826] Hardware name: riscv-virtio,qemu (DT) [ 326.871209][ T2826] Call Trace: [ 326.872030][ T2826] [] dump_backtrace+0x2e/0x3c [ 326.873281][ T2826] [] show_stack+0x34/0x40 [ 326.874353][ T2826] [] dump_stack_lvl+0xe0/0x14c [ 326.875427][ T2826] [] dump_stack+0x1c/0x24 [ 326.876530][ T2826] [] warn_alloc+0x168/0x22c [ 326.877487][ T2826] [] __vmalloc_node_range+0xb6c/0xdb4 [ 326.878875][ T2826] [] bpf_jit_alloc_exec+0x46/0x52 [ 326.880527][ T2826] [] bpf_jit_binary_alloc+0x96/0x13c [ 326.881526][ T2826] [] bpf_int_jit_compile+0x886/0xaa6 [ 326.882583][ T2826] [] bpf_prog_select_runtime+0x1a2/0x22e [ 326.883696][ T2826] [] bpf_migrate_filter+0x258/0x2be [ 326.884837][ T2826] [] bpf_prepare_filter+0x10e/0x1b4 [ 326.885902][ T2826] [] __get_filter+0x148/0x1a0 [ 326.886967][ T2826] [] sk_attach_filter+0x22/0x11a [ 326.888109][ T2826] [] sk_setsockopt+0x144e/0x270c [ 326.889657][ T2826] [] sock_setsockopt+0x48/0x58 [ 326.890845][ T2826] [] __sys_setsockopt+0x3f0/0x418 [ 326.891857][ T2826] [] sys_setsockopt+0x3a/0x4c [ 326.892955][ T2826] [] ret_from_syscall+0x0/0x2 [ 326.898045][ T2826] Mem-Info: [ 326.900199][ T2826] active_anon:34 inactive_anon:730 isolated_anon:0 [ 326.900199][ T2826] active_file:1705 inactive_file:5256 isolated_file:0 [ 326.900199][ T2826] unevictable:768 dirty:259 writeback:0 [ 326.900199][ T2826] slab_reclaimable:5272 slab_unreclaimable:18575 [ 326.900199][ T2826] mapped:1034 shmem:804 pagetables:105 [ 326.900199][ T2826] sec_pagetables:0 bounce:0 [ 326.900199][ T2826] kernel_misc_reclaimable:0 [ 326.900199][ T2826] free:279235 free_pcp:1103 free_cma:4096 [ 326.902829][ T2826] Node 0 active_anon:136kB inactive_anon:2920kB active_file:6820kB inactive_file:21024kB unevictable:3072kB isolated(anon):0kB isolated(file):0kB mapped:4136kB dirty:1036kB writeback:0kB shmem:3216kB writeback_tmp:0kB kernel_stack:4544kB pagetables:420kB sec_pagetables:0kB all_unreclaimable? no [ 326.907210][ T2826] Node 0 DMA32 free:1116940kB boost:0kB min:4656kB low:6012kB high:7368kB reserved_highatomic:0KB active_anon:136kB inactive_anon:2920kB active_file:6820kB inactive_file:21024kB unevictable:3072kB writepending:1036kB present:2095104kB managed:1359004kB mlocked:0kB bounce:0kB free_pcp:4412kB local_pcp:2108kB free_cma:16384kB [ 326.913325][ T2826] lowmem_reserve[]: 0 0 0 [ 326.915038][ T2826] Node 0 DMA32: 177*4kB (UME) 15*8kB (UME) 81*16kB (UME) 32*32kB (UM) 5*64kB (UME) 1*128kB (U) 3*256kB (UME) 1*512kB (E) 2*1024kB (UM) 4*2048kB (MEC) 269*4096kB (MC) = 1116940kB [ 326.923532][ T2826] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 326.924741][ T2826] Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB [ 326.925849][ T2826] 7765 total pagecache pages [ 326.926681][ T2826] 0 pages in swap cache [ 326.927467][ T2826] Free swap = 0kB [ 326.928363][ T2826] Total swap = 0kB [ 326.930462][ T2826] 523776 pages RAM [ 326.931240][ T2826] 0 pages HighMem/MovableOnly [ 326.932100][ T2826] 184025 pages reserved [ 326.932889][ T2826] 4096 pages cma reserved ps_bpf_start_bpf: bpf_open: Unknown error 524 ps_root_recvmsg: Unknown error 524 ps_bpf_start_bpf: bpf_open: Unknown error 524 ps_root_recvmsg: Unknown error 524 ps_bpf_start_bpf: bpf_open: Unknown error 524 ps_root_recvmsg: Unknown error 524 ps_bpf_start_bpf: bpf_open: Unknown error 524 ps_root_recvmsg: Unknown error 524 Warning: Permanently added '[localhost]:15817' (ECDSA) to the list of known hosts. 1970/01/01 00:05:50 fuzzer started runtime: lfstack.push invalid packing: node=0xffffff5da7f940 cnt=0x1 packed=0xffff5da7f9400001 -> node=0xffff5da7f940 fatal error: lfstack.push runtime stack: runtime.throw({0x6cfe6c, 0xc}) /usr/local/go/src/runtime/panic.go:1198 +0x60 runtime.(*lfstack).push(0x14ab0b8, 0xffffff5da7f940) /usr/local/go/src/runtime/lfstack.go:30 +0x1a8 runtime.(*spanSetBlockAlloc).free(...) /usr/local/go/src/runtime/mspanset.go:292 runtime.(*spanSet).reset(0x14a4300) /usr/local/go/src/runtime/mspanset.go:265 +0xe4 runtime.finishsweep_m() /usr/local/go/src/runtime/mgcsweep.go:145 +0xb4 runtime.gcStart.func1() /usr/local/go/src/runtime/mgc.go:660 +0x24 runtime.systemstack() /usr/local/go/src/runtime/asm_riscv64.s:131 +0x58 goroutine 1 [running]: runtime.systemstack_switch() /usr/local/go/src/runtime/asm_riscv64.s:94 +0x8 fp=0xc0005bf5c0 sp=0xc0005bf5b8 pc=0x80368 runtime.gcStart({0x0, 0x0, 0x0}) /usr/local/go/src/runtime/mgc.go:659 +0x544 fp=0xc0005bf638 sp=0xc0005bf5c0 pc=0x2bcb4 runtime.mallocgc(0x37f60, 0x64d960, 0x1) /usr/local/go/src/runtime/malloc.go:1174 +0x7d0 fp=0xc0005bf6b8 sp=0xc0005bf638 pc=0x1d070 runtime.newarray(0x64d960, 0x44e) /usr/local/go/src/runtime/malloc.go:1250 +0x94 fp=0xc0005bf6e0 sp=0xc0005bf6b8 pc=0x1d2dc runtime.makeBucketArray(0x5f1460, 0xa, 0x0) /usr/local/go/src/runtime/map.go:362 +0x204 fp=0xc0005bf710 sp=0xc0005bf6e0 pc=0x1e3ec runtime.hashGrow(0x5f1460, 0xc000560930) /usr/local/go/src/runtime/map.go:1036 +0xb4 fp=0xc0005bf758 sp=0xc0005bf710 pc=0x201ac runtime.mapassign_faststr(0x5f1460, 0xc000560930, {0x7572b5, 0x27}) /usr/local/go/src/runtime/map_faststr.go:275 +0xe4 fp=0xc0005bf7c0 sp=0xc0005bf758 pc=0x23a0c github.com/google/syzkaller/prog.(*Target).initTarget(0xc00045a1c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:159 +0x384 fp=0xc0005bf890 sp=0xc0005bf7c0 pc=0x180914 github.com/google/syzkaller/prog.(*Target).lazyInit(0xc00045a1c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:130 +0x80 fp=0xc0005bf908 sp=0xc0005bf890 pc=0x180298 github.com/google/syzkaller/prog.(*Target).lazyInit-fm() /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:127 +0x34 fp=0xc0005bf918 sp=0xc0005bf908 pc=0x188cdc sync.(*Once).doSlow(0xc00045a2c8, 0xc0005bf9f8) /usr/local/go/src/sync/once.go:68 +0xcc fp=0xc0005bf960 sp=0xc0005bf918 pc=0x99814 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 github.com/google/syzkaller/prog.GetTarget({0x6b39ee, 0x5}, {0xfffffff2d4ee92, 0x7}) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:108 +0x17c fp=0xc0005bfa88 sp=0xc0005bf960 pc=0x17ff74 main.main() /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:164 +0x3c0 fp=0xc0005bff88 sp=0xc0005bfa88 pc=0x55b080 runtime.main() /usr/local/go/src/runtime/proc.go:255 +0x268 fp=0xc0005bffd8 sp=0xc0005bff88 pc=0x4f770 runtime.goexit() /usr/local/go/src/runtime/asm_riscv64.s:507 +0x4 fp=0xc0005bffd8 sp=0xc0005bffd8 pc=0x82314 goroutine 18 [select]: go.opencensus.io/stats/view.(*worker).start(0xc0000f5080) /syzkaller/gopath/src/github.com/google/syzkaller/vendor/go.opencensus.io/stats/view/worker.go:276 +0xb0 created by go.opencensus.io/stats/view.init.0 /syzkaller/gopath/src/github.com/google/syzkaller/vendor/go.opencensus.io/stats/view/worker.go:34 +0x80 VM DIAGNOSIS: 13:10:41 Registers: info registers vcpu 0 pc ffffffff80006294 mhartid 0000000000000000 mstatus 00000000000000a0 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005e88 mepc ffffffff80010d84 sepc 00ffffffa202aa20 mcause 0000000000000009 scause 0000000000000008 mtval 0000000000000000 stval 0000000000000000 x0/zero 0000000000000000 x1/ra ffffffff8000628c x2/sp ff20000000337e70 x3/gp ffffffff85efcae0 x4/tp ff600000084e3100 x5/t0 ff20000004a97530 x6/t1 00000000000f0000 x7/t2 ffffffffffffffff x8/s0 ff20000000337e80 x9/s1 ff600000084e3100 x10/a0 0000000000000001 x11/a1 00000000000f0000 x12/a2 ffffffff8000628c x13/a3 0000000000000002 x14/a4 ff600000084e4100 x15/a5 0000000000000000 x16/a6 0000000000000003 x17/a7 0000000000000001 x18/s2 ffffffff85effba0 x19/s3 0000000000000001 x20/s4 ffffffff85f25460 x21/s5 0000000000000001 x22/s6 0000000000000000 x23/s7 0000000000000000 x24/s8 ff20000000337f40 x25/s9 ffffffff83852a80 x26/s10 ffffffff85f23740 x27/s11 ffffffff83a284a0 x28/t3 fffffffff3f3f300 x29/t4 ffebffff0b53e294 x30/t5 ffebffff0b53e295 x31/t6 0000000000040000 f0/ft0 0000000000000000 f1/ft1 0000000000000000 f2/ft2 0000000000000000 f3/ft3 0000000000000000 f4/ft4 0000000000000000 f5/ft5 0000000000000000 f6/ft6 0000000000000000 f7/ft7 0000000000000000 f8/fs0 0000000000000000 f9/fs1 0000000000000000 f10/fa0 0000000000000000 f11/fa1 0000000000000000 f12/fa2 0000000000000000 f13/fa3 0000000000000000 f14/fa4 0000000000000000 f15/fa5 0000000000000000 f16/fa6 0000000000000000 f17/fa7 0000000000000000 f18/fs2 0000000000000000 f19/fs3 0000000000000000 f20/fs4 0000000000000000 f21/fs5 0000000000000000 f22/fs6 0000000000000000 f23/fs7 0000000000000000 f24/fs8 0000000000000000 f25/fs9 0000000000000000 f26/fs10 0000000000000000 f27/fs11 0000000000000000 f28/ft8 0000000000000000 f29/ft9 0000000000000000 f30/ft10 0000000000000000 f31/ft11 0000000000000000 info registers vcpu 1 pc ffffffff82d75530 mhartid 0000000000000001 mstatus 00000000000001a0 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005e88 mepc ffffffff80010d84 sepc ffffffff80006298 mcause 0000000000000009 scause 8000000000000009 mtval 0000000000000000 stval 0000000000000000 x0/zero 0000000000000000 x1/ra ffffffff801244da x2/sp ffffffff85006bb0 x3/gp ffffffff85efcae0 x4/tp ffffffff85044380 x5/t0 ffebffff02126786 x6/t1 c5cdf32063b85b00 x7/t2 ffffffffffffffff x8/s0 ffffffff85006bb0 x9/s1 0000000000000009 x10/a0 ffffffff85044d80 x11/a1 0000000000000003 x12/a2 1ffffffff0e655dc x13/a3 0000000000bf480b x14/a4 ffffffff85044380 x15/a5 ffffffff87c06060 x16/a6 0000000000000100 x17/a7 0000000000000102 x18/s2 ffffffff85044380 x19/s3 ff60000010933a00 x20/s4 0000000000000001 x21/s5 ff60000010933a58 x22/s6 0000000000000000 x23/s7 ff6000000e8fc85c x24/s8 ff6000000e8fc860 x25/s9 0000000000000007 x26/s10 ffffffff87e4d500 x27/s11 ff6000000e8fc859 x28/t3 fffffffff3f3f300 x29/t4 ffffffff80124428 x30/t5 1ffffffff0a00d88 x31/t6 ff60000010933b98 f0/ft0 0000000000000000 f1/ft1 0000000000000000 f2/ft2 414fffffe0000000 f3/ft3 43e0000000000000 f4/ft4 3ffe000000000000 f5/ft5 0000000000000000 f6/ft6 0000000000000000 f7/ft7 0000000000000000 f8/fs0 0000000000000000 f9/fs1 0000000000000000 f10/fa0 0000000000000000 f11/fa1 0000000000000000 f12/fa2 0000000000000000 f13/fa3 0000000000000000 f14/fa4 0000000000000000 f15/fa5 0000000000000000 f16/fa6 0000000000000000 f17/fa7 0000000000000000 f18/fs2 0000000000000000 f19/fs3 0000000000000000 f20/fs4 0000000000000000 f21/fs5 0000000000000000 f22/fs6 0000000000000000 f23/fs7 0000000000000000 f24/fs8 0000000000000000 f25/fs9 0000000000000000 f26/fs10 0000000000000000 f27/fs11 0000000000000000 f28/ft8 0000000000000000 f29/ft9 0000000000000000 f30/ft10 0000000000000000 f31/ft11 0000000000000000