last executing test programs: 899.187884ms ago: executing program 2 (id=3): ioctl$AUDIO_GETPOS(0xffffffffffffff9c, 0x40104123, 0x0) preadv(0xffffffffffffffff, 0x0, 0x44, 0x401) syz_emit_ethernet(0x2a, &(0x7f0000000140)={@broadcast, @random="1a614393aeb6", [], {@ipv4={0x800, {{0x5, 0x4, 0x2, 0x6, 0x1c, 0x69, 0x8, 0x9, 0x2, 0x0, @broadcast, @local={0xac, 0x14, 0x0}}, @udp={{0x2, 0x1, 0x8}}}}}}) openat$bpf(0xffffffffffffff9c, 0x0, 0x200, 0x0) socket(0x11, 0x3, 0x9) r0 = semget$private(0x0, 0x4, 0x40) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) ioctl$DIOCGETQUEUES(0xffffffffffffffff, 0xc0104401, &(0x7f0000000040)={0x8, 0x1, {'\x00', './file1\x00', './file0\x00', './file0\x00', {{0x6, 0x2}, {0x6, 0x2}, 0x4}, {{0x5, 0x2}, {0x7, 0x801}, 0x4}, {{0x9, 0x2}, {0x9, 0x1000}, 0x40000000}, {0x7, 0x20, 0x0, 0x4004}, 0x0, 0x10000, 0x6, 0x7, 0x4}}) semop(r0, &(0x7f0000000000)=[{0x0, 0x2}, {0x1, 0xc48b}, {0x2, 0x1}, {0x0, 0x1}, {0x4, 0x8, 0x1000}, {0x1, 0xfffe, 0x1800}, {0x0, 0x1, 0x3000}], 0x46) 799.392387ms ago: executing program 4 (id=5): open(&(0x7f0000000180)='./file0\x00', 0xa60, 0xcf) ktrace(&(0x7f0000000040)='./file0\x00', 0x4, 0x814, 0x0) open(0x0, 0x200, 0xcf) r0 = open(&(0x7f00000000c0)='./file0\x00', 0x1, 0x128) writev(r0, &(0x7f0000000540)=[{&(0x7f0000000180)="19a09f0a20", 0x100000}], 0xfe) 589.948399ms ago: executing program 7 (id=8): r0 = socket$inet6(0x18, 0x3, 0x7) setsockopt(r0, 0x29, 0x32, 0x0, 0x0) sendmmsg(r0, &(0x7f0000000380)={{&(0x7f0000000180)=@in6={0x1c, 0x18, 0x2, 0x7, "0c56b7b13cdabff8ea48445782410f9f", 0x7}, 0x1c, 0x0, 0x0, &(0x7f0000000280)=[{0x70, 0x1, 0xa, "392290408d1e694addd8ae90e31be5cdde6ff71f11e90c6494c0a7080a73511b8fcd5e049b0a60c1023169578c2c34c7ac55c9022fbfbceecaf6dce9133eda59b7ffb00b646ae7aefa9510e15cc18b5a53bf3242609eec7311d1503bd3ebd5d4aa"}], 0x70}}, 0x38, 0x4) 538.670283ms ago: executing program 5 (id=6): semget(0x1, 0x7, 0x200) r0 = semget(0x1, 0x0, 0x4) semctl$SETVAL(r0, 0x4, 0x8, 0x0) 494.433928ms ago: executing program 3 (id=4): open$dir(&(0x7f00000001c0)='./file0\x00', 0x200, 0x80) ktrace(&(0x7f0000000180)='./file0\x00', 0x4, 0x4, 0x0) getgroups(0x7, &(0x7f0000000280)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]) setresgid(r1, r0, 0x0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f00000001c0)={0xffffffffffffffff}) getsockopt$sock_cred(r2, 0xffff, 0x1022, &(0x7f0000000100)={0x0, 0x0}, &(0x7f0000000140)=0xc) chown(&(0x7f0000000180)='./file0\x00', r3, 0x0) setreuid(r3, r3) ktrace(&(0x7f00000001c0)='./file0\x00', 0x2, 0x40000100, 0x0) 455.054449ms ago: executing program 2 (id=9): socketpair$unix(0x1, 0x1, 0x0, &(0x7f0000000300)={0xffffffffffffffff, 0xffffffffffffffff}) lseek(r0, 0x2, 0x1) recvmmsg(r0, &(0x7f0000000900)={{0x0, 0x0, 0x0, 0x0, &(0x7f0000000840)=""/146, 0x92}, 0x5}, 0x38, 0x2042, 0x0) recvmmsg(r0, &(0x7f0000001080)={{0x0, 0x0, &(0x7f0000000ec0)=[{&(0x7f0000000940)=""/26, 0x1a}], 0x1, 0x0}, 0x2}, 0x38, 0x3000, 0x0) write(r1, &(0x7f0000001100)="57fea1", 0x3) execve(0x0, 0x0, 0x0) 452.75603ms ago: executing program 6 (id=7): r0 = syz_open_pts() openat$bpf(0xffffffffffffff9c, &(0x7f0000000100), 0x20, 0x0) r1 = socket$unix(0x1, 0x1, 0x0) closefrom(r1) setrlimit(0x8, &(0x7f00000002c0)={0x9, 0x37e1790c}) syz_open_pts() write(r0, &(0x7f0000000340)="24f5f3ee345acedf918a081723861446", 0x10) ioctl$TIOCSETAW(r0, 0x802c7415, &(0x7f0000000000)={0x1007, 0x3, 0x7, 0xfffffffd, "fe83fe7a9542a14123a70000001efe02bfabb686", 0x2, 0xcfe}) writev(r0, &(0x7f0000000140)=[{&(0x7f0000000040)='wO<', 0x3}], 0x1) 421.405858ms ago: executing program 5 (id=10): r0 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) writev(r0, &(0x7f0000002180)=[{&(0x7f00000001c0)="8a2fc8efa1aff7ec420444edf2537cb020b1c1989ed194277772ac3a8a4a59607bd681d554be419a191f5e5cc0d623050d43", 0x32}], 0x1) sysctl$hw(&(0x7f0000000000)={0x6, 0x14}, 0x2, &(0x7f0000000040)="a7c720461d8c3999", &(0x7f0000000100)=0x8, 0x0, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) ioctl$SPKRTONE(r0, 0x80085301, &(0x7f0000000040)={0x7fff, 0x2}) 370.82782ms ago: executing program 1 (id=2): mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x5dc2) r0 = open(&(0x7f0000001980)='./file0\x00', 0x0, 0x48) ioctl$WSDISPLAYIO_SVIDEO(r0, 0x4004667f, &(0x7f0000001bc0)=0x1) 321.370593ms ago: executing program 3 (id=11): r0 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) writev(r0, &(0x7f0000000400)=[{&(0x7f00000000c0)="f27b2beb1db36532277b3405000000000000009ac56ae9703037", 0x1a}], 0x1) unveil(0x0, &(0x7f0000000080)='w\x00') 318.694549ms ago: executing program 7 (id=12): pipe(&(0x7f0000000200)={0xffffffffffffffff, 0xffffffffffffffff}) fcntl$lock(r1, 0x4, &(0x7f0000000240)={0x1, 0x2, 0x0, 0x3}) r2 = getpgid(0x0) fcntl$setown(r1, 0x6, r2) close(r0) r3 = kqueue() closefrom(r3) openat$diskmap(0xffffffffffffff9c, 0x0, 0x40000, 0x0) 261.065261ms ago: executing program 0 (id=1): msgctl$IPC_RMID(0x0, 0x0) msgrcv(0x0, 0x0, 0x0, 0x1, 0x1800) r0 = openat$vnd(0xffffffffffffff9c, 0x0, 0x20, 0x0) ioctl$VNDIOCCLR(r0, 0x80384601, 0x0) r1 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000002540), 0x100, 0x0) ioctl$WSKBDIO_GETBELL(r1, 0x40105704, &(0x7f0000002580)) msgsnd(0x0, 0x0, 0x0, 0x800) msgsnd(0x0, 0x0, 0x0, 0x0) fstat(r1, &(0x7f00000028c0)) getsockopt$SO_PEERCRED(0xffffffffffffff9c, 0xffff, 0x1022, 0x0, 0x0) 217.634373ms ago: executing program 5 (id=13): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000300), 0x40000, 0x0) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000080)={0x2, &(0x7f0000000000)=[{0x44, 0x40, 0x60, 0x101}, {0x216, 0xff, 0x9, 0x2}]}) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) syz_emit_ethernet(0x36, &(0x7f00000000c0)={@local, @broadcast, [], {@ipv6={0x86dd, {0x5, 0x6, "e481e2", 0x0, 0x0, 0x0, @empty, @remote={0xfe, 0x80, '\x00', 0x0}}}}}) 170.034251ms ago: executing program 6 (id=14): mknod(&(0x7f0000000000)='./file0\x00', 0x2000, 0x7) r0 = open(&(0x7f0000000180)='./file0\x00', 0x200, 0xef) ioctl$TIOCMSET(r0, 0x8004746d, &(0x7f00000001c0)=0x8) 148.428668ms ago: executing program 4 (id=15): mknod(&(0x7f0000000080)='./file0\x00', 0x2000, 0x1384) r0 = open(&(0x7f0000000180)='./file0\x00', 0x200, 0xcf) mmap(&(0x7f0000ffc000/0x4000)=nil, 0x4000, 0x4, 0x11, r0, 0x0) 146.245839ms ago: executing program 2 (id=16): r0 = syz_open_pts() openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x20, 0x0) r1 = socket$unix(0x1, 0x5, 0x0) closefrom(r1) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x37e1790c}) r2 = syz_open_pts() ioctl$TIOCSETAW(r2, 0x802c7415, &(0x7f0000000000)={0x1007, 0x3, 0xffffffc0, 0xffffffff, "fe92fe5a95b68600", 0x4, 0x5}) write(r0, &(0x7f0000000080)="c5cd44d5c696fc2ff957f0b5fb5c21", 0xf) 134.470117ms ago: executing program 1 (id=17): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f0000000040)=[{0x4, 0x5, 0xf9}, {0x1c, 0x4, 0x1, 0x1}, {0xd9e6, 0x5, 0x3, 0x8}]}) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) syz_emit_ethernet(0x2a, &(0x7f00000000c0)=ANY=[]) 122.252774ms ago: executing program 3 (id=18): r0 = openat$bpf(0xffffffffffffff9c, &(0x7f0000000000), 0x40, 0x0) ioctl$BIOCSETF(r0, 0x80104267, &(0x7f0000000080)={0x3, &(0x7f0000000100)=[{0x28, 0x40, 0x6, 0x80}, {0x48, 0xfe, 0x5, 0x3}, {0x206, 0xe, 0x8, 0x6}]}) ioctl$BIOCSETIF(r0, 0x8020426c, &(0x7f00000000c0)={'tap', 0x0}) syz_emit_ethernet(0x2a, &(0x7f0000000140)=ANY=[]) 97.350618ms ago: executing program 4 (id=19): r0 = syz_open_pts() openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x20, 0x0) r1 = socket$unix(0x1, 0x5, 0x0) closefrom(r1) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x37e1790c}) r2 = syz_open_pts() ioctl$TIOCSETAW(r2, 0x802c7415, &(0x7f00000003c0)={0x401, 0x8, 0x17, 0x349, "93bd7bebc37ce6fd561794e8300ffddc68687553", 0xfffffffd, 0xfffffff7}) write(r0, &(0x7f0000000440)="ebd5", 0x2) 69.821809ms ago: executing program 2 (id=20): getgroups(0x40000000000001f6, &(0x7f0000000040)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]) setresgid(r3, r2, 0x0) seteuid(0xffffffffffffffff) setregid(r0, r1) 52.659931ms ago: executing program 5 (id=21): unveil(&(0x7f0000000100)='.\x00', &(0x7f0000000340)='w\x00') sysctl$net_inet6_icmp6(0x0, 0x0, &(0x7f0000000180)="6239fe3523ca48dd8a376583b0750400000d000000000056454312b4af917deae384776c89cebc6477c7cb5f0f5f17", &(0x7f00000000c0)=0x2f, 0x0, 0x0) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x1) execve(&(0x7f00000000c0)='./file0\x00', 0x0, 0x0) ioctl$DIOCGETQUEUES(0xffffffffffffffff, 0xc0104401, 0x0) r0 = openat$pf(0xffffffffffffff9c, 0x0, 0x1, 0x0) ioctl$DIOCCLRIFFLAG(r0, 0xc028445a, 0x0) ioctl$DIOCRADDTABLES(r0, 0xc450443d, 0x0) 32.094954ms ago: executing program 4 (id=22): open(&(0x7f0000000180)='./file0\x00', 0x19083084ca9cf73d, 0x2) getgroups(0x7, &(0x7f0000001240)=[0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0]) setresgid(0x0, r1, r0) socketpair$unix(0x1, 0x1, 0x0, &(0x7f00000001c0)={0xffffffffffffffff}) getsockopt$sock_cred(r2, 0xffff, 0x1022, &(0x7f0000000100)={0x0, 0x0}, &(0x7f0000000140)=0xc) setresuid(0x0, 0x0, r3) ktrace(&(0x7f0000000180)='./file0\x00', 0x4, 0x8, 0x0) ktrace(&(0x7f00000001c0)='./file0\x00', 0x2, 0x40000100, 0x0) 16.203258ms ago: executing program 3 (id=23): r0 = openat$speaker(0xffffffffffffff9c, &(0x7f0000000080), 0x1, 0x0) pwrite(r0, &(0x7f00000000c0)="d43f99999ba3f1dd1a212d4e33e06c293d1505c82ce87f47f1d34bb4b70ed67a0ba50004000078b70e6d6e79802f2140cf9f0e53f6eb95366e88b2b669852570cd694a4c6a018c5bf178135e90e15c028ceb85f2193119549311c34ffb23a225a7e97778f319a3787c1e15cceae0331cdf8fd2a69ed5773e9eca6e76393493c0dcb6631b78071405bf96282338d71d7a432c72c2519d861a5dea4f797e4b7c1052c9e3c85478ce7ba23c", 0xaa, 0x200001) unveil(0x0, &(0x7f00000001c0)='x\x00') 0s ago: executing program 1 (id=24): r0 = openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000080), 0x522, 0x0) fcntl$lock(r0, 0x7, &(0x7f0000000040)={0x2, 0x0, 0x7ffffffffd, 0x300000002}) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.0.205' (ED25519) to the list of known hosts. panic: sleep: syz-executor[68160] slept inside a no-sleep walk bracket (raw pointer held across sleep, wmesg "biowait") Stopped at db_enter+0x17: popq %rbp TID PID UID PRFLAGS PFLAGS CPU COMMAND 314026 68160 0 0x10 0 1 syz-executor * 33149 68160 0 0x10 0x4000010 0K syz-executor db_enter() at db_enter+0x17 panic(ffffffff84d8d160) at panic+0x270 sleep_setup(ffff800001bd5440,11,ffffffff84692f80) at sleep_setup+0x3b2 tsleep_nsec(ffff800001bd5440,11,ffffffff84692f80,ffffffffffffffff) at tsleep_nsec+0x29c biowait(ffff800001bd5440) at biowait+0xe6 bwrite(ffff800001bd5440) at bwrite+0x4e1 ffs_update(ffff8000016e2ac0,1) at ffs_update+0x619 ffs_truncate(ffff8000016e2ac0,0,0,ffffffffffffffff) at ffs_truncate+0x12f0 ufs_inactive(ffff80003b3341c0) at ufs_inactive+0x2cb VOP_INACTIVE(ffff800001ca61e8,ffff800045ff5778) at VOP_INACTIVE+0x1bb vrele(ffff800001ca61e8) at vrele+0x16a ktrsettrace(ffff8000299179d0,80000008,ffff800001c40708,ffff8000001193a8) at ktrsettrace+0x16c ktrops(ffff800045ff5778,ffff8000299179d0,0,80000008,ffff800001c40708,ffff8000001193a8) at ktrops+0x338 doktrace(ffff800001c40708,4,8,0,ffff800045ff5778) at doktrace+0xa72 end trace frame: 0xffff80003b3346b0, count: 0 https://www.openbsd.org/ddb.html describes the minimum info required in bug reports. Insufficient info makes it difficult to find and fix bugs. ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: sleep: syz-executor[68160] slept inside a no-sleep walk bracket (raw pointer held across sleep, wmesg "biowait") ddb{0}> show kasan kasan: no report recorded this boot ddb{0}> trace db_enter() at db_enter+0x17 panic(ffffffff84d8d160) at panic+0x270 sleep_setup(ffff800001bd5440,11,ffffffff84692f80) at sleep_setup+0x3b2 tsleep_nsec(ffff800001bd5440,11,ffffffff84692f80,ffffffffffffffff) at tsleep_nsec+0x29c biowait(ffff800001bd5440) at biowait+0xe6 bwrite(ffff800001bd5440) at bwrite+0x4e1 ffs_update(ffff8000016e2ac0,1) at ffs_update+0x619 ffs_truncate(ffff8000016e2ac0,0,0,ffffffffffffffff) at ffs_truncate+0x12f0 ufs_inactive(ffff80003b3341c0) at ufs_inactive+0x2cb VOP_INACTIVE(ffff800001ca61e8,ffff800045ff5778) at VOP_INACTIVE+0x1bb vrele(ffff800001ca61e8) at vrele+0x16a ktrsettrace(ffff8000299179d0,80000008,ffff800001c40708,ffff8000001193a8) at ktrsettrace+0x16c ktrops(ffff800045ff5778,ffff8000299179d0,0,80000008,ffff800001c40708,ffff8000001193a8) at ktrops+0x338 doktrace(ffff800001c40708,4,8,0,ffff800045ff5778) at doktrace+0xa72 sys_ktrace(ffff800045ff5778,ffff80003b334840,ffff80003b3347a0) at sys_ktrace+0x1f6 syscall(ffff80003b334840) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa1994073670, count: -17 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003b333ab0 rbx 0xffff80003b333b20 rdx 0 rcx 0xffffffff851e9ff0 cpu_info_full_primary+0x1ff0 rax 0xffff80000016ef80 r8 0x101010101010101 r9 0x8080808080808080 r10 0xffff80003b3338a0 r11 0xffffffff83e54b70 x86_bus_space_io_read_1 r12 0xffffffff84d8d160 .str.9 r13 0xffffffff851eac08 cpu_info_full_primary+0x2c08 r14 0xffffffff851eae07 cpu_info_full_primary+0x2e07 r15 0x1 rip 0xffffffff82f1b577 db_enter+0x17 cs 0x8 rflags 0x246 rsp 0xffff80003b333ab0 ss 0x10 db_enter+0x17: popq %rbp ddb{0}> show proc PROC (syz-executor) tid=33149 pid=68160 tcnt=2 stat=onproc flags process=10 proc=4000010 runpri=32, usrpri=50, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045ff5248,0xffff800045ff4a90 process=0xffff800045ff1830 user=0xffff80003b329000, vmspace=0xffff8000017c33d8 estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 1779 470872 79893 0 2 0 0 syz-executor 1779 97098 79893 0 2 0 0x4000000 syz-executor 34234 262226 92372 0 2 0 0 syz-executor 34234 84539 92372 0 2 0 0x4000000 syz-executor 68160 314026 79185 0 7 0x10 0 syz-executor *68160 33149 79185 0 7 0x10 0x4000010 syz-executor 62165 131103 64799 0 2 0x2000 0x80000 syz-executor 62165 61830 64799 0 3 0x2000 0x4000000 suspend syz-executor 77429 468973 64428 0 2 0 0 syz-executor 13745 229171 36332 0 2 0 0 syz-executor 13745 48947 36332 0 3 0 0x4000080 fsleep syz-executor 21631 91136 41731 0 2 0 0 syz-executor 21631 502229 41731 0 2 0 0x4000000 syz-executor 21631 92134 41731 0 3 0 0x4000080 fsleep syz-executor 21631 171498 41731 0 3 0 0x4000080 fsleep syz-executor 46057 282302 14805 0 2 0 0 syz-executor 46057 496205 14805 0 3 0 0x4000080 fsleep syz-executor 14805 122893 33942 0 3 0x2 0x80 nanoslp syz-executor 36332 254356 33942 0 2 0x2 0 syz-executor 64799 492898 33942 0 3 0x2 0x80 nanoslp syz-executor 79185 444206 33942 0 3 0x2 0x80 nanoslp syz-executor 92372 398513 33942 0 3 0x2 0x80 nanoslp syz-executor 64428 157741 33942 0 3 0x2 0x80 nanoslp syz-executor 79893 170354 33942 0 3 0x2 0x80 nanoslp syz-executor 41731 195870 33942 0 3 0x2 0x80 nanoslp syz-executor 33942 141994 77932 0 3 0x2 0x80 kqread syz-executor 77932 159551 34563 0 3 0x100002 0x88 sigsusp ksh 34563 149783 54224 0 3 0x10 0x88 kqread sshd-session 54224 103807 43875 0 3 0x12 0x80 kqread sshd-session 99282 145592 1 0 3 0x100003 0x80 ttyin getty 43875 279625 1 0 3 0 0x88 kqread sshd 88888 139312 99606 74 3 0x1100012 0x80 bpf pflogd 99606 404019 1 0 3 0 0x80 sbwait pflogd 13108 10167 51042 73 3 0x1100010 0x80 kqread syslogd 51042 290943 1 0 3 0x100002 0x80 sbwait syslogd 91967 253169 1 0 3 0x100000 0x80 kqread resolvd 51892 233459 35837 77 3 0x100012 0x80 kqread dhcpleased 99632 20437 35837 77 3 0x100012 0x80 kqread dhcpleased 35837 32870 1 0 3 0 0x80 kqread dhcpleased 53037 153958 0 0 3 0x14000 0x200 bored smr 32197 140770 0 0 2 0x14000 0x200 zerothread 76280 462120 0 0 3 0x14000 0x200 aiodoned aiodoned 85179 386397 0 0 3 0x14000 0x200 syncer update 89665 116070 0 0 3 0x14000 0x200 cleaner cleaner 25262 208729 0 0 3 0x14000 0x200 reaper reaper 54839 402105 0 0 3 0x14000 0x200 pgdaemon pagedaemon 85262 71790 0 0 3 0x14000 0x200 bored viomb 29874 388488 0 0 3 0x14000 0x40000200 acpi0 acpi0 20299 143483 0 0 3 0x14000 0x40000200 idle1 91504 294591 0 0 3 0x14000 0x200 bored softnet1 82605 406470 0 0 3 0x14000 0x200 bored softnet0 94080 249141 0 0 3 0x14000 0x200 bored systqmp 54622 376806 0 0 3 0x14000 0x200 bored systq 82422 225727 0 0 3 0x14000 0x200 tmoslp softclockmp 69921 387592 0 0 3 0x14000 0x40000200 tmoslp softclock 83827 37653 0 0 3 0x14000 0x40000200 idle0 1 236666 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 68160 (syz-executor) thread 0xffff800045ff5778 (33149) exclusive rrwlock inode r = 0 (0xffff8000016e2b60) #0 witness_lock+0x632 #1 rw_do_enter_write+0x53e #2 rrw_enter+0xf0 #3 VOP_LOCK+0x17e #4 vn_lock+0xca #5 vrele+0x113 #6 ktrsettrace+0x16c #7 ktrops+0x338 #8 doktrace+0xa72 #9 sys_ktrace+0x1f6 #10 syscall+0x1089 #11 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff85d52380) #0 witness_lock+0x632 #1 syscall+0x1048 #2 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11068 12461K 12461K 166960K 12164 0 pcb 17 24K 24K 166960K 18 0 rtable 237 12K 13K 166960K 351 0 pf 34 22K 22K 166960K 47 0 ifaddr 43 12K 12K 166960K 46 0 ifgroup 55 2K 2K 166960K 59 0 sysctl 1 1K 13K 166960K 5 0 counters 70 42K 43K 166960K 72 0 ioctlops 0 0K 4K 166960K 1483 0 iov 0 0K 4K 166960K 3 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1294 83K 83K 166960K 1367 0 UFS quota 1 36K 36K 166960K 1 0 UFS mount 5 44K 44K 166960K 5 0 shm 2 2K 2K 166960K 2 0 VM map 2 1K 1K 166960K 2 0 sem 4 0K 0K 166960K 5 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 292K 166960K 11964 0 file desc 18 65K 93K 166960K 154 0 sigio 0 0K 0K 166960K 1 0 proc 71 144K 209K 166960K 553 0 subproc 72 9K 9K 166960K 73 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 20K 20K 166960K 1 0 in_multi 99 7K 7K 166960K 99 0 ether_multi 1 0K 0K 166960K 1 0 mrt 0 0K 0K 166960K 1 0 ISOFS mount 1 36K 36K 166960K 1 0 MSDOSFS mount 1 20K 20K 166960K 1 0 ttys 31 222K 222K 166960K 31 0 exec 0 0K 2K 166960K 383 0 fusefs mount 1 36K 36K 166960K 1 0 tdb 3 1K 1K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 232 244K 261K 166960K 3233 0 UVM aobj 3 4K 4K 166960K 3 0 pinsyscall 1067 1722K 1727K 166960K 1310 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 1 0 NDP 26 1K 2K 166960K 29 0 temp 34 9162K 9182K 166960K 4081 0 kqueue 13 40K 40K 166960K 25 0 SYN cache 2 16K 16K 166960K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 28 0 0 1 0 1 1 0 8 0 rtpcb 120 34 0 31 1 0 1 1 0 8 0 rtentry 176 111 0 1 5 0 5 5 0 8 0 unpcb 144 48 0 29 1 0 1 1 0 8 0 syncache 336 4 0 4 2 1 1 1 0 8 1 tcpcb 736 8 0 4 1 0 1 1 0 8 0 arp 136 18 0 0 1 0 1 1 0 8 0 inpcb 328 66 0 59 2 0 2 2 0 8 1 nd6 152 24 0 0 1 0 1 1 0 8 0 kcovpl 48 8 0 0 1 0 1 1 0 8 0 pffrag 232 1 0 0 1 0 1 1 0 482 0 pffrnode 88 1 0 0 1 0 1 1 0 8 0 pffrent 40 1 0 0 1 0 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 18 0 0 1 0 1 1 0 8 0 pfstkey 128 18 0 0 1 0 1 1 0 8 0 pfstate 448 18 0 0 2 0 2 2 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 452 0 0 29 0 29 29 0 8 0 art_table 40 453 0 0 5 0 5 5 0 8 0 art_node 32 111 0 11 1 0 1 1 0 8 0 semapl 72 2 0 0 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1586 0 115 93 0 93 93 0 8 0 ffsino 296 1586 0 115 114 0 114 114 0 8 0 nchpl 144 1801 0 99 64 0 64 64 0 8 0 vnodes 216 1679 0 0 94 0 94 94 0 8 0 namei 1024 5508 0 5508 1 0 1 1 0 8 1 percpumem 16 52 0 1 1 0 1 1 0 8 0 kstatmem 264 29 0 2 2 0 2 2 0 8 0 scxspl 216 6783 0 6782 3 2 1 2 1 8 0 plimitpl 152 32 0 15 1 0 1 1 0 8 0 sigapl 424 471 0 423 7 0 7 7 0 8 1 knotepl 120 53 0 0 2 0 2 2 0 8 0 kqueuepl 224 22 0 13 1 0 1 1 0 8 0 pipepl 344 127 0 100 3 0 3 3 0 8 0 fdescpl 528 455 0 423 3 0 3 3 0 8 0 filepl 160 1615 0 1404 10 0 10 10 0 8 1 lockfpl 104 15 0 12 1 0 1 1 0 8 0 lockfspl 48 9 0 6 1 0 1 1 0 8 0 sessionpl 144 24 0 15 1 0 1 1 0 8 0 pgrppl 48 32 0 15 1 0 1 1 0 8 0 ucredpl 104 104 0 89 1 0 1 1 0 8 0 zombiepl 144 423 0 423 1 0 1 1 0 8 1 processpl 1232 471 0 423 5 0 5 5 0 8 0 procpl 664 500 0 443 5 0 5 5 0 8 0 sockpl 752 148 0 119 4 0 4 4 0 8 1 mcl64k 65536 5 0 0 1 0 1 1 0 8 0 mcl16k 16384 3 0 0 1 0 1 1 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 120 0 0 15 0 15 15 0 8 0 mcl2k 2048 25 0 0 4 0 4 4 0 8 0 mextrefs 64 22 0 0 1 0 1 1 0 8 0 mtagpl 96 1 0 0 1 0 1 1 0 8 0 mbufpl 256 129 0 0 9 0 9 9 0 8 0 bufpl 272 2406 0 105 154 0 154 154 0 8 0 anonpl 32 3853 0 0 32 0 32 32 0 222 0 amapchunkpl 152 8999 0 8517 19 0 19 19 0 158 0 amappl16 200 2000 0 1981 5 1 4 5 0 8 2 amappl15 192 10 0 10 1 1 0 1 0 8 0 amappl14 184 433 0 432 1 0 1 1 0 8 0 amappl13 176 126 0 114 1 0 1 1 0 8 0 amappl12 168 708 0 678 2 0 2 2 0 8 0 amappl11 160 9 0 8 1 0 1 1 0 8 0 amappl10 152 63 0 49 1 0 1 1 0 8 0 amappl9 144 278 0 278 1 1 0 1 0 8 0 amappl8 136 97 0 95 1 0 1 1 0 8 0 amappl7 128 147 0 133 1 0 1 1 0 8 0 amappl6 120 167 0 166 1 0 1 1 0 8 0 amappl5 112 107 0 97 1 0 1 1 0 8 0 amappl4 104 309 0 289 1 0 1 1 0 8 0 amappl3 96 1556 0 1443 3 0 3 3 0 8 0 amappl2 88 532 0 475 2 0 2 2 0 8 0 amappl1 80 10517 0 9908 15 0 15 15 0 8 1 amappl 88 2509 0 2348 4 0 4 4 0 92 0 uvmvnodes 80 98 0 0 2 0 2 2 0 8 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 253 0 253 1 1 0 1 0 8 0 dma64 64 6 0 6 1 1 0 1 0 8 0 dma32 32 7 0 7 1 1 0 1 0 8 0 dma16 16 18 0 17 1 0 1 1 0 8 0 aobjpl 72 2 0 0 1 0 1 1 0 8 0 uaddrrnd 24 455 0 423 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 455 0 423 1 0 1 1 0 8 0 vmmpekpl 168 5821 0 5790 2 0 2 2 0 8 0 vmmpepl 168 39030 0 37105 87 1 86 86 0 357 2 vmsppl 488 454 0 423 5 0 5 5 0 8 1 rwobjpl 80 14874 0 13863 24 0 24 24 0 8 1 pdppl 4096 918 0 846 96 12 84 86 0 8 12 pvpl 32 10668 0 0 89 2 87 87 0 265 0 pmappl 256 454 0 423 3 0 3 3 0 8 0 extentpl 40 46 0 28 1 0 1 1 0 8 0 phpool 120 421 0 16 13 0 13 13 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x17 panic(ffffffff84d8d160) at panic+0x270 sleep_setup(ffff800001bd5440,11,ffffffff84692f80) at sleep_setup+0x3b2 tsleep_nsec(ffff800001bd5440,11,ffffffff84692f80,ffffffffffffffff) at tsleep_nsec+0x29c biowait(ffff800001bd5440) at biowait+0xe6 bwrite(ffff800001bd5440) at bwrite+0x4e1 ffs_update(ffff8000016e2ac0,1) at ffs_update+0x619 ffs_truncate(ffff8000016e2ac0,0,0,ffffffffffffffff) at ffs_truncate+0x12f0 ufs_inactive(ffff80003b3341c0) at ufs_inactive+0x2cb VOP_INACTIVE(ffff800001ca61e8,ffff800045ff5778) at VOP_INACTIVE+0x1bb vrele(ffff800001ca61e8) at vrele+0x16a ktrsettrace(ffff8000299179d0,80000008,ffff800001c40708,ffff8000001193a8) at ktrsettrace+0x16c ktrops(ffff800045ff5778,ffff8000299179d0,0,80000008,ffff800001c40708,ffff8000001193a8) at ktrops+0x338 doktrace(ffff800001c40708,4,8,0,ffff800045ff5778) at doktrace+0xa72 sys_ktrace(ffff800045ff5778,ffff80003b334840,ffff80003b3347a0) at sys_ktrace+0x1f6 syscall(ffff80003b334840) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xa1994073670, count: -17 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x19: leave x86_ipi_db(ffff800028fe3ff0) at x86_ipi_db+0x19 x86_ipi_handler() at x86_ipi_handler+0x112 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x775a34d65260, count: 12 ddb{1}> trace x86_ipi_db(ffff800028fe3ff0) at x86_ipi_db+0x19 x86_ipi_handler() at x86_ipi_handler+0x112 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 end of kernel end trace frame: 0x775a34d65260, count: -3