syzkaller login: ps_root_recvmsg: Invalid argument ps_root_recvmsgcb: failed to send message to pid 2779: Connection refused [ 203.631509][ T2673] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. ps_root_recvmsgcb: failed to send message to pid 2780: Connection refused [ 203.671238][ T2673] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. [ 203.701018][ T2673] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. [ 203.726026][ T2673] netlink: 4 bytes leftover after parsing attributes in process `dhcpcd'. ps_root_recvmsgcb: failed to send message to pid 2799: Connection refused ps_root_recvmsgcb: failed to send message to pid 2798: Connection refused Warning: Permanently added '[localhost]:32994' (ECDSA) to the list of known hosts. [ 234.993321][ T2829] warn_alloc: 1 callbacks suppressed [ 234.993567][ T2829] dhcpcd: vmalloc error: size 4096, vm_struct allocation failed, mode:0xcc0(GFP_KERNEL), nodemask=(null),cpuset=/,mems_allowed=0 [ 234.996698][ T2829] CPU: 1 PID: 2829 Comm: dhcpcd Tainted: G W 6.2.0-rc1-syzkaller #0 [ 234.997756][ T2829] Hardware name: riscv-virtio,qemu (DT) [ 234.998541][ T2829] Call Trace: [ 234.999249][ T2829] [] dump_backtrace+0x2e/0x3c [ 235.000334][ T2829] [] show_stack+0x34/0x40 [ 235.001332][ T2829] [] dump_stack_lvl+0xe0/0x14c [ 235.002863][ T2829] [] dump_stack+0x1c/0x24 [ 235.004044][ T2829] [] warn_alloc+0x168/0x22c [ 235.005083][ T2829] [] __vmalloc_node_range+0xb6c/0xdb4 [ 235.006227][ T2829] [] bpf_jit_alloc_exec+0x46/0x52 [ 235.007255][ T2829] [] bpf_jit_binary_alloc+0x96/0x13c [ 235.008294][ T2829] [] bpf_int_jit_compile+0x886/0xaa6 [ 235.009359][ T2829] [] bpf_prog_select_runtime+0x1a2/0x22e [ 235.010402][ T2829] [] bpf_migrate_filter+0x258/0x2be [ 235.011517][ T2829] [] bpf_prepare_filter+0x10e/0x1b4 [ 235.013097][ T2829] [] __get_filter+0x148/0x1a0 [ 235.014216][ T2829] [] sk_attach_filter+0x22/0x11a [ 235.015218][ T2829] [] sk_setsockopt+0x144e/0x270c [ 235.016325][ T2829] [] sock_setsockopt+0x48/0x58 [ 235.017424][ T2829] [] __sys_setsockopt+0x3f0/0x418 [ 235.018444][ T2829] [] sys_setsockopt+0x3a/0x4c [ 235.019465][ T2829] [] ret_from_syscall+0x0/0x2 [ 235.023266][ T2829] Mem-Info: [ 235.024084][ T2829] active_anon:706 inactive_anon:41 isolated_anon:0 [ 235.024084][ T2829] active_file:0 inactive_file:7292 isolated_file:0 [ 235.024084][ T2829] unevictable:768 dirty:5590 writeback:0 [ 235.024084][ T2829] slab_reclaimable:5332 slab_unreclaimable:18162 [ 235.024084][ T2829] mapped:1039 shmem:804 pagetables:96 [ 235.024084][ T2829] sec_pagetables:0 bounce:0 [ 235.024084][ T2829] kernel_misc_reclaimable:0 [ 235.024084][ T2829] free:279351 free_pcp:777 free_cma:4096 [ 235.026778][ T2829] Node 0 active_anon:2824kB inactive_anon:164kB active_file:0kB inactive_file:29168kB unevictable:3072kB isolated(anon):0kB isolated(file):0kB mapped:4156kB dirty:22360kB writeback:0kB shmem:3216kB writeback_tmp:0kB kernel_stack:4504kB pagetables:384kB sec_pagetables:0kB all_unreclaimable? no [ 235.028786][ T2829] Node 0 DMA32 free:1117404kB boost:0kB min:4656kB low:6012kB high:7368kB reserved_highatomic:0KB active_anon:2824kB inactive_anon:164kB active_file:0kB inactive_file:29168kB unevictable:3072kB writepending:22360kB present:2095104kB managed:1359004kB mlocked:0kB bounce:0kB free_pcp:3108kB local_pcp:276kB free_cma:16384kB [ 235.041467][ T2829] lowmem_reserve[]: 0 0 0 [ 235.046523][ T2829] Node 0 DMA32: 109*4kB (UE) 43*8kB (UE) 69*16kB (UE) 62*32kB (UE) 7*64kB (UM) 2*128kB (UM) 1*256kB (E) 1*512kB (E) 2*1024kB (UM) 4*2048kB (MEC) 269*4096kB (MC) = 1117404kB [ 235.063383][ T2829] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB [ 235.064505][ T2829] Node 0 hugepages_total=4 hugepages_free=4 hugepages_surp=0 hugepages_size=2048kB [ 235.065617][ T2829] 8097 total pagecache pages [ 235.066451][ T2829] 0 pages in swap cache [ 235.067222][ T2829] Free swap = 0kB [ 235.067996][ T2829] Total swap = 0kB [ 235.068803][ T2829] 523776 pages RAM [ 235.069578][ T2829] 0 pages HighMem/MovableOnly [ 235.070359][ T2829] 184025 pages reserved [ 235.071126][ T2829] 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 1970/01/01 00:04:06 fuzzer started runtime: lfstack.push invalid packing: node=0xffffff7b2c5980 cnt=0x1 packed=0xffff7b2c59800001 -> node=0xffff7b2c5980 fatal error: lfstack.push runtime stack: runtime.throw({0x6cfe80, 0xc}) /usr/local/go/src/runtime/panic.go:1198 +0x60 runtime.(*lfstack).push(0x14ab418, 0xffffff7b2c5980) /usr/local/go/src/runtime/lfstack.go:30 +0x1a8 runtime.(*spanSetBlockAlloc).free(...) /usr/local/go/src/runtime/mspanset.go:292 runtime.(*spanSet).reset(0x14a4660) /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(0x6ff90, 0x64d960, 0x1) /usr/local/go/src/runtime/malloc.go:1174 +0x7d0 fp=0xc0005bf6b8 sp=0xc0005bf638 pc=0x1d070 runtime.newarray(0x64d960, 0x89d) /usr/local/go/src/runtime/malloc.go:1250 +0x94 fp=0xc0005bf6e0 sp=0xc0005bf6b8 pc=0x1d2dc runtime.makeBucketArray(0x5f1460, 0xb, 0x0) /usr/local/go/src/runtime/map.go:362 +0x204 fp=0xc0005bf710 sp=0xc0005bf6e0 pc=0x1e3ec runtime.hashGrow(0x5f1460, 0xc00048de00) /usr/local/go/src/runtime/map.go:1036 +0xb4 fp=0xc0005bf758 sp=0xc0005bf710 pc=0x201ac runtime.mapassign_faststr(0x5f1460, 0xc00048de00, {0x739dcd, 0x1f}) /usr/local/go/src/runtime/map_faststr.go:275 +0xe4 fp=0xc0005bf7c0 sp=0xc0005bf758 pc=0x23a0c github.com/google/syzkaller/prog.(*Target).initTarget(0xc000450000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:159 +0x384 fp=0xc0005bf890 sp=0xc0005bf7c0 pc=0x180d6c github.com/google/syzkaller/prog.(*Target).lazyInit(0xc000450000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:130 +0x80 fp=0xc0005bf908 sp=0xc0005bf890 pc=0x1806f0 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=0x189204 sync.(*Once).doSlow(0xc000450108, 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}, {0xffffffc8b95e92, 0x7}) /syzkaller/gopath/src/github.com/google/syzkaller/prog/target.go:108 +0x17c fp=0xc0005bfa88 sp=0xc0005bf960 pc=0x1803cc main.main() /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:164 +0x3c0 fp=0xc0005bff88 sp=0xc0005bfa88 pc=0x55b5a8 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 6 [select]: go.opencensus.io/stats/view.(*worker).start(0xc0000d1080) /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: 14:38:50 Registers: info registers vcpu 0 pc ffffffff80127ec2 mhartid 0000000000000000 mstatus 00000000000000a0 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005e88 mepc ffffffff8001159c sepc ffffffff8006975a mcause 0000000000000009 scause 8000000000000009 mtval 0000000000000000 stval 0000000000000000 x0/zero 0000000000000000 x1/ra ffffffff804ef7a6 x2/sp ff20000005357310 x3/gp ffffffff85efe540 x4/tp ff60000012650000 x5/t0 ffebffff02483f80 x6/t1 00000000000f0000 x7/t2 6d8d3d731eea7eed x8/s0 ff20000005357310 x9/s1 ff6000005a60201d x10/a0 0000000000000000 x11/a1 ff6000005a602e00 x12/a2 00000000000000a8 x13/a3 0000000000000002 x14/a4 ff60000012651000 x15/a5 0000000000000000 x16/a6 0000000000000003 x17/a7 0000000000000000 x18/s2 00000000000000ae x19/s3 ffffffff87c45fe8 x20/s4 ff6000005a602000 x21/s5 ff6000005a602e00 x22/s6 0000000000000000 x23/s7 0000000000000000 x24/s8 ff6000005a602e00 x25/s9 00000000000000aa x26/s10 ffffffff87c46050 x27/s11 ff6000005a602e35 x28/t3 fffffffff3f3f300 x29/t4 fffffffef0f82dc8 x30/t5 fffffffef0f82dc9 x31/t6 ff6000001357898c 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 0000000000083560 mhartid 0000000000000001 mstatus 00000000000040a2 mip 0000000000000000 mie 00000000000002aa mideleg 0000000000000222 medeleg 000000000000b109 mtvec 0000000080000540 stvec ffffffff80005e88 mepc ffffffff80995d0a sepc 0000000000083564 mcause 8000000000000003 scause 0000000000000008 mtval 0000000000000000 stval 0000000000000000 x0/zero 0000000000000000 x1/ra 000000000004e978 x2/sp 000000c0000578a0 x3/gp 0000000000000001 x4/tp 00ffffffa95196c8 x5/t0 0000000000000000 x6/t1 0000000000000001 x7/t2 0000000000000000 x8/s0 0000000000000000 x9/s1 0000000000000000 x10/a0 0000000000000002 x11/a1 000000000083d3d0 x12/a2 0000000000000001 x13/a3 0000000000000000 x14/a4 00000000009ee0e5 x15/a5 0000000000000000 x16/a6 0000000000b7c968 x17/a7 0000000000000040 x18/s2 0000000000000000 x19/s3 0000000000000000 x20/s4 000000c000057910 x21/s5 0000000000b72d78 x22/s6 0000000000d4b840 x23/s7 0000000000000001 x24/s8 000000000004cc4f x25/s9 0000000000000001 x26/s10 ffffffffffffffff x27/s11 000000c000000d00 x28/t3 0000000000b7c9a0 x29/t4 0000000000000002 x30/t5 ffffffffffffffff x31/t6 0000000000083970 f0/ft0 411c53d8715f1268 f1/ft1 bff46f19cb1e1ef0 f2/ft2 4120000000000000 f3/ft3 403a000000000000 f4/ft4 412a203000000000 f5/ft5 4038b35004723c46 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