syzkaller login: ps_root_recvmsgcb: failed to send message to pid 2773: Connection refused ps_root_recvmsgcb: failed to send message to pid 2776: Connection refused ps_root_recvmsgcb: failed to send message to pid 2777: Connection refused [ 270.619027][ T2667] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. ps_root_recvmsgcb: failed to send message to pid 2787: Connection refused [ 270.658513][ T2667] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. [ 302.356863][ T2825] dhcpcd: vmalloc error: size 4096, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0 [ 302.359525][ T2825] CPU: 1 PID: 2825 Comm: dhcpcd Tainted: G W 6.2.0-rc1-syzkaller #0 [ 302.360570][ T2825] Hardware name: riscv-virtio,qemu (DT) [ 302.361798][ T2825] Call Trace: [ 302.362948][ T2825] [] dump_backtrace+0x2e/0x3c [ 302.364203][ T2825] [] show_stack+0x34/0x40 [ 302.365222][ T2825] [] dump_stack_lvl+0xe0/0x14c [ 302.366375][ T2825] [] dump_stack+0x1c/0x24 [ 302.367438][ T2825] [] warn_alloc+0x168/0x22c [ 302.368515][ T2825] [] __vmalloc_node_range+0xb70/0xdb8 [ 302.369575][ T2825] [] bpf_jit_alloc_exec+0x46/0x52 [ 302.370605][ T2825] [] bpf_jit_binary_alloc+0x96/0x13c [ 302.372073][ T2825] [] bpf_int_jit_compile+0x886/0xaa6 [ 302.373545][ T2825] [] bpf_prog_select_runtime+0x1a2/0x22e [ 302.374681][ T2825] [] bpf_migrate_filter+0x258/0x2be [ 302.375809][ T2825] [] bpf_prepare_filter+0x10e/0x1b4 [ 302.376921][ T2825] [] __get_filter+0x148/0x1a0 [ 302.378015][ T2825] [] sk_attach_filter+0x22/0x11a [ 302.379126][ T2825] [] sk_setsockopt+0x144e/0x270c [ 302.380224][ T2825] [] sock_setsockopt+0x48/0x58 [ 302.381662][ T2825] [] __sys_setsockopt+0x3f0/0x418 [ 302.383292][ T2825] [] sys_setsockopt+0x3a/0x4c [ 302.384408][ T2825] [] ret_from_syscall+0x0/0x2 [ 302.399343][ T2825] Mem-Info: [ 302.400312][ T2825] active_anon:34 inactive_anon:698 isolated_anon:0 [ 302.400312][ T2825] active_file:1699 inactive_file:5254 isolated_file:0 [ 302.400312][ T2825] unevictable:768 dirty:2 writeback:0 [ 302.400312][ T2825] slab_reclaimable:5268 slab_unreclaimable:18580 [ 302.400312][ T2825] mapped:1053 shmem:804 pagetables:105 [ 302.400312][ T2825] sec_pagetables:0 bounce:0 [ 302.400312][ T2825] kernel_misc_reclaimable:0 [ 302.400312][ T2825] free:279533 free_pcp:354 free_cma:4096 [ 302.404722][ T2825] Node 0 active_anon:136kB inactive_anon:2792kB active_file:6796kB inactive_file:21016kB unevictable:3072kB isolated(anon):0kB isolated(file):0kB mapped:4212kB dirty:8kB writeback:0kB shmem:3216kB writeback_tmp:0kB kernel_stack:4568kB pagetables:420kB sec_pagetables:0kB all_unreclaimable? no [ 302.406800][ T2825] Node 0 DMA32 free:1118132kB boost:0kB min:4652kB low:6004kB high:7356kB reserved_highatomic:0KB active_anon:136kB inactive_anon:2792kB active_file:6796kB inactive_file:21016kB unevictable:3072kB writepending:8kB present:2095104kB managed:1357028kB mlocked:0kB bounce:0kB free_pcp:1416kB local_pcp:168kB free_cma:16384kB [ 302.409309][ T2825] lowmem_reserve[]: 0 0 0 [ 302.434697][ T2825] Node 0 DMA32: 65*4kB (UME) 98*8kB (UME) 90*16kB (UME) 106*32kB (UME) 17*64kB (UME) 7*128kB (UME) 1*256kB (E) 2*512kB (ME) 1*1024kB (M) 3*2048kB (EC) 269*4096kB (MC) = 1118132kB [ 302.457542][ T2825] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 302.458712][ T2825] Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB [ 302.459796][ T2825] 7757 total pagecache pages [ 302.460575][ T2825] 0 pages in swap cache [ 302.482459][ T2825] Free swap = 0kB [ 302.483487][ T2825] Total swap = 0kB [ 302.484267][ T2825] 523776 pages RAM [ 302.485060][ T2825] 0 pages HighMem/MovableOnly [ 302.485944][ T2825] 184519 pages reserved [ 302.486754][ T2825] 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_bpf_start_bpf: bpf_open: Unknown error 524 ps_root_recvmsg: Unknown error 524 ps_root_recvmsg: Unknown error 524 Warning: Permanently added '[localhost]:13790' (ECDSA) to the list of known hosts. 1970/01/01 00:05:24 fuzzer started runtime: lfstack.push invalid packing: node=0xffffff7ce84940 cnt=0x1 packed=0xffff7ce849400001 -> node=0xffff7ce84940 fatal error: lfstack.push runtime stack: runtime.throw({0x6cfe64, 0xc}) /usr/local/go/src/runtime/panic.go:1198 +0x60 runtime.(*lfstack).push(0x14ab098, 0xffffff7ce84940) /usr/local/go/src/runtime/lfstack.go:30 +0x1a8 runtime.(*spanSetBlockAlloc).free(...) /usr/local/go/src/runtime/mspanset.go:292 runtime.(*spanSet).reset(0x14a42e0) /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=0xc00063f5c0 sp=0xc00063f5b8 pc=0x80368 runtime.gcStart({0x0, 0x0, 0x0}) /usr/local/go/src/runtime/mgc.go:659 +0x544 fp=0xc00063f638 sp=0xc00063f5c0 pc=0x2bcb4 runtime.mallocgc(0x37f60, 0x64d960, 0x1) /usr/local/go/src/runtime/malloc.go:1174 +0x7d0 fp=0xc00063f6b8 sp=0xc00063f638 pc=0x1d070 runtime.newarray(0x64d960, 0x44e) /usr/local/go/src/runtime/malloc.go:1250 +0x94 fp=0xc00063f6e0 sp=0xc00063f6b8 pc=0x1d2dc runtime.makeBucketArray(0x5f1460, 0xa, 0x0) /usr/local/go/src/runtime/map.go:362 +0x204 fp=0xc00063f710 sp=0xc00063f6e0 pc=0x1e3ec runtime.hashGrow(0x5f1460, 0xc000518090) /usr/local/go/src/runtime/map.go:1036 +0xb4 fp=0xc00063f758 sp=0xc00063f710 pc=0x201ac runtime.mapassign_faststr(0x5f1460, 0xc000518090, {0x75724c, 0x27}) /usr/local/go/src/runtime/map_faststr.go:275 +0xe4 fp=0xc00063f7c0 sp=0xc00063f758 pc=0x23a0c github.com/google/syzkaller/prog.(*Target).initTarget(0xc00039d6c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:159 +0x384 fp=0xc00063f890 sp=0xc00063f7c0 pc=0x180914 github.com/google/syzkaller/prog.(*Target).lazyInit(0xc00039d6c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:130 +0x80 fp=0xc00063f908 sp=0xc00063f890 pc=0x180298 github.com/google/syzkaller/prog.(*Target).lazyInit-fm() /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:127 +0x34 fp=0xc00063f918 sp=0xc00063f908 pc=0x188cdc sync.(*Once).doSlow(0xc00039d7c8, 0xc00063f9f8) /usr/local/go/src/sync/once.go:68 +0xcc fp=0xc00063f960 sp=0xc00063f918 pc=0x99814 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 github.com/google/syzkaller/prog.GetTarget({0x6b39e6, 0x5}, {0xfffffff16efe92, 0x7}) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:108 +0x17c fp=0xc00063fa88 sp=0xc00063f960 pc=0x17ff74 main.main() /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:164 +0x3c0 fp=0xc00063ff88 sp=0xc00063fa88 pc=0x559f28 runtime.main() /usr/local/go/src/runtime/proc.go:255 +0x268 fp=0xc00063ffd8 sp=0xc00063ff88 pc=0x4f770 runtime.goexit() /usr/local/go/src/runtime/asm_riscv64.s:507 +0x4 fp=0xc00063ffd8 sp=0xc00063ffd8 pc=0x82314 goroutine 20 [select]: go.opencensus.io/stats/view.(*worker).start(0xc0000f6e80) /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: 07:45:14 Registers: info registers vcpu 0 pc ffffffff80124630 mhartid 0000000000000000 mstatus 00000000000000a0 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005e88 mepc ffffffff80010d90 sepc ffffffff80005f64 mcause 0000000000000009 scause 8000000000000005 mtval 0000000000000000 stval 0000000000000000 x0/zero 0000000000000000 x1/ra ffffffff801276e2 x2/sp ff20000004bd79e0 x3/gp ffffffff85cd2e80 x4/tp ff6000000f27e200 x5/t0 00aaaaab0b5df168 x6/t1 00000000000f0000 x7/t2 ffffffffffffffff x8/s0 ff20000004bd7ad0 x9/s1 ff20000004bd7c08 x10/a0 0000000000000002 x11/a1 0000000000000000 x12/a2 0000000000000008 x13/a3 0000000000000002 x14/a4 ff6000000f27f200 x15/a5 0000000000000000 x16/a6 0000000000000003 x17/a7 0000000000000000 x18/s2 ff20000004bd7d40 x19/s3 ff20000004bd7be0 x20/s4 0000000000000000 x21/s5 0000000000000001 x22/s6 00aaaaab0b5df640 x23/s7 ff20000004bd7c00 x24/s8 0000000000000008 x25/s9 1fe400000097af6c x26/s10 ffffffff85cf9740 x27/s11 ff20000004bd7be0 x28/t3 fffffffff3f3f300 x29/t4 ffe3ffff0097af80 x30/t5 0000000000000008 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 ffffffff804d777c mhartid 0000000000000001 mstatus 00000000000001a0 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005e88 mepc ffffffff80010d90 sepc ffffffff80006298 mcause 0000000000000009 scause 8000000000000005 mtval 0000000000000000 stval 0000000000000000 x0/zero 0000000000000000 x1/ra ffffffff8010e552 x2/sp ff20000000337640 x3/gp ffffffff85cd2e80 x4/tp ff600000080e3100 x5/t0 ffebffff02764929 x6/t1 00000000000f0000 x7/t2 ffffffff804cc576 x8/s0 ff20000000337730 x9/s1 ff6000005a5e4780 x10/a0 ff6000005a5e47c0 x11/a1 ffffffff80115ec6 x12/a2 1ffffffff0b8041c x13/a3 ffffffff8015fc9c x14/a4 ff600000080e3100 x15/a5 0000000000000107 x16/a6 0000000000000100 x17/a7 0000000000000106 x18/s2 ff200000003375c0 x19/s3 ff6000005a5e4848 x20/s4 ffffffff85cdf6c0 x21/s5 0000000000000120 x22/s6 ffffffff879dafe0 x23/s7 0000000000000006 x24/s8 0000000000000000 x25/s9 ffffffff83828b20 x26/s10 ff600000081098a0 x27/s11 ffffffff879dafe8 x28/t3 fffffffff3f3f300 x29/t4 ffffffff80123d54 x30/t5 1fe4000000066e78 x31/t6 0000000000000002 f0/ft0 41097bbf4f8c9d1b f1/ft1 bfe261e391daf820 f2/ft2 4120000000000000 f3/ft3 403a000000000000 f4/ft4 412f53ae00000000 f5/ft5 4039646eea247c5c 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