last executing test programs: 59.856647ms ago: executing program 6 (id=7): mkdir(&(0x7f0000000400)='./file0\x00', 0x150) unveil(&(0x7f00000002c0)='./file0/file0\x00', &(0x7f0000000280)='r\x00') chroot(&(0x7f0000000000)='./file0\x00') writev(0xffffffffffffffff, &(0x7f0000000240)=[{&(0x7f0000000140)="abd7453f9950b84fba95b1b61c60075cc39796a11012ada0e0c3c9396b6f8cbd63e10842750ec4f55b1fa662e657103d5890ab8dc4aed3a9f3299eb13292cc984adf77932110f25b7b468f0f33bf3be0d978a872ee2bf014773bfd80c5921ba7f32c7c3374b6e4c8cba3721f117a5b51b43393950b024f68e1a0d073088b14502e2e", 0x82}], 0x1) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) r0 = dup(0xffffffffffffff9c) ioctl$DRM_IOCTL_SYNCOBJ_DESTROY(0xffffffffffffff9c, 0xc00864c0, &(0x7f0000000200)={0x0}) ioctl$DRM_IOCTL_SYNCOBJ_CREATE(0xffffffffffffff9c, 0xc00864bf, &(0x7f00000003c0)={0x0}) ioctl$DRM_IOCTL_SYNCOBJ_CREATE(0xffffffffffffff9c, 0xc00864bf, &(0x7f0000000440)={0x0, 0x1}) ioctl$DRM_IOCTL_SYNCOBJ_FD_TO_HANDLE(0xffffffffffffffff, 0xc01864c2, &(0x7f0000000480)={0x0, 0x3, 0xffffffffffffff9c, 0x0, 0xb66}) r5 = getthrid() fcntl$lock(r0, 0x8, &(0x7f0000001140)={0x3, 0x0, 0x2af9, 0xec8a, r5}) ioctl$DRM_IOCTL_SYNCOBJ_CREATE(0xffffffffffffff9c, 0xc00864bf, &(0x7f00000004c0)={0x0, 0x1}) ioctl$VMM_IOC_CREATE(r0, 0xca605601, &(0x7f00000005c0)={0x10, 0x100000001, [{&(0x7f00002a1000/0x1000)=nil, &(0x7f00001fe000/0x3000)=nil, 0x7}, {&(0x7f000020d000/0x2000)=nil, &(0x7f0000328000/0x1000)=nil, 0x3}, {&(0x7f0000235000/0xf000)=nil, &(0x7f0000083000/0x4000)=nil, 0x8}, {&(0x7f0000257000/0x2000)=nil, &(0x7f0000207000/0x2000)=nil, 0x8}, {&(0x7f00001b6000/0x3000)=nil, &(0x7f00002d5000/0x1000)=nil}, {&(0x7f00001bf000/0x1000)=nil, &(0x7f0000074000/0x2000)=nil, 0x5}, {&(0x7f0000fec000/0x11000)=nil, &(0x7f0000237000/0x3000)=nil, 0xfffffffffffffff7}, {&(0x7f0000ffc000/0x4000)=nil, &(0x7f00001f6000/0x2000)=nil, 0x6c23}, {&(0x7f000028e000/0x4000)=nil, &(0x7f0000ff9000/0x4000)=nil, 0xfffffffffffffffa}, {&(0x7f0000168000/0x4000)=nil, &(0x7f00003c4000/0x1000)=nil, 0x7}, {&(0x7f00003cf000/0x3000)=nil, &(0x7f0000035000/0x2000)=nil}, {&(0x7f0000ffd000/0x1000)=nil, &(0x7f0000224000/0x4000)=nil, 0x6}, {&(0x7f0000ffe000/0x2000)=nil, &(0x7f0000354000/0x2000)=nil, 0x80000001}, {&(0x7f0000ffd000/0x3000)=nil, &(0x7f0000ffd000/0x3000)=nil, 0x9be}, {&(0x7f0000ffa000/0x4000)=nil, &(0x7f00000ac000/0x1000)=nil, 0xd881}, {&(0x7f00000a6000/0x4000)=nil, &(0x7f000024c000/0x3000)=nil}], './file0/file0\x00', 0x9, 0x4, 0xffffffff, 0x1000, [0xb, 0x4, 0x0, 0x202000, 0xbfa, 0x10, 0x87f, 0x10001, 0x0, 0x4, 0x4, 0x8, 0x80, 0x4, 0x10000, 0x9, 0x5, 0x3, 0x4, 0x2, 0x9, 0xffffffff, 0xfb6a, 0x2dc5, 0xed, 0x1, 0xe, 0x7, 0xffffff5e, 0x1, 0x1, 0xfffffffd, 0xf, 0x26de, 0x2, 0x5, 0x4, 0x1ff, 0xd7, 0x3, 0x1, 0x3ff, 0x3, 0xff, 0x9, 0x59, 0x3, 0x4, 0x9, 0x80000001, 0x6, 0x4, 0x8, 0x52, 0x9, 0x5, 0xdf, 0x7, 0xc40, 0x9, 0x90, 0x406, 0xba, 0x9, 0x9, 0xa28, 0xfffffffe, 0x1d80, 0x8, 0x2, 0x4, 0x4, 0x6, 0x10001, 0x1, 0xe4db, 0x2, 0x0, 0x80, 0x3, 0x358, 0xe93c, 0x5, 0xcf, 0x8d, 0x7, 0xfffffc00, 0x9, 0x5, 0x9, 0x4, 0x80, 0x213e, 0xffffffff, 0x3, 0x8, 0xffffffff, 0x9, 0x1b5, 0x4, 0x3, 0xfa, 0x5, 0xffffffc0, 0x3, 0xfffffff9, 0x400, 0x200, 0x9, 0x1, 0x71c, 0x2, 0x6d, 0x3, 0x2000, 0x1, 0x8001, 0x6, 0x1, 0x8, 0xe, 0xfffffff8, 0x0, 0x9661, 0x718, 0x28, 0x0, 0x80, 0x9, 0x25c, 0x3, 0x8, 0x4000000, 0x8, 0xb, 0xffff, 0x10000, 0x48635f39, 0x0, 0x1ff, 0x4, 0x80, 0x9, 0x80000000, 0x40, 0x2, 0x1, 0x9, 0xa, 0x9, 0xd498, 0x80, 0xfffff801, 0x9, 0x2, 0x100, 0x81, 0x9001, 0x3, 0x8, 0xfffffffe, 0x0, 0x9, 0x2473, 0x2, 0x4, 0x1, 0x8, 0x59, 0x4, 0x7, 0xe, 0x4, 0xfffffff7, 0x1cff, 0x4, 0x0, 0x0, 0x2, 0x3, 0x401, 0x5, 0x40, 0x2, 0x7ff, 0x10000000, 0xfffff801, 0xff, 0xc, 0x6, 0x1, 0x80000000, 0x4, 0x2, 0x37, 0x5, 0x7, 0x2, 0x1, 0x7, 0x40, 0xf, 0x6, 0x9, 0x4, 0x9, 0x8, 0x80000000, 0x6, 0x8, 0x2, 0x7, 0x4, 0x7, 0x2, 0x3, 0x4, 0x7, 0x40, 0x4, 0xfa13, 0x0, 0x8, 0xfffffff2, 0x9, 0x6, 0x4, 0x5, 0x6, 0x7, 0x5, 0x200, 0x5, 0x6000000, 0x3, 0x1, 0x8000, 0x9, 0x0, 0x0, 0x5, 0x1, 0x9, 0xf, 0x8, 0x2, 0x6, 0x1, 0x1, 0x8, 0xc, 0x6, 0x8, 0xfffffff3, 0x9, 0xfffffff9, 0x7, 0x3, 0x401, 0x3273b814, 0x8, 0x5, 0x35, 0x3, 0x4, 0x8, 0x7f, 0x5, 0x9, 0x7fffffff, 0x4, 0x2, 0x8, 0x7, 0xc9, 0x200, 0x6, 0x5, 0x7fff, 0x3, 0xa876, 0x3, 0x3, 0x6, 0xeea2, 0x8001, 0x9, 0xd997, 0x2, 0x7, 0x0, 0x5, 0x81, 0xc, 0x101, 0x0, 0x2, 0x8, 0x0, 0x3, 0x6cc80, 0x1, 0xffff, 0xff, 0x2, 0x2, 0x7, 0xff, 0x7e3, 0x6, 0x400, 0x7, 0x2, 0x8, 0x80000000, 0x81, 0x801, 0x8, 0xf3c6, 0x10001, 0x8, 0x7ff, 0x1, 0x5, 0x9, 0x200, 0x0, 0x400006, 0x10001, 0x6, 0x1, 0xc536, 0x44, 0x4, 0x4, 0x5, 0x6, 0x3, 0x3, 0x9, 0x4, 0x652a, 0x2497, 0x101, 0xffffffff, 0x8, 0x401, 0x375, 0x7fffffff, 0x7, 0x0, 0x8, 0x0, 0xfffffff0, 0x9, 0x680, 0x3, 0x7, 0x80000000, 0x6, 0x0, 0x9, 0x8, 0x1, 0x100, 0x7, 0x50e, 0x8001, 0x400, 0x4, 0x800, 0x8, 0x1, 0xffff, 0x4, 0x3, 0x4, 0x3, 0x220, 0x200, 0x101, 0x8, 0x101, 0x1, 0x0, 0xee, 0x39, 0x6, 0x9, 0x8eb, 0x8, 0x7, 0x0, 0x4, 0x8f, 0x7f800, 0x1, 0x7, 0xfffffffd, 0x7, 0x40, 0xfffffff8, 0x3, 0x401, 0xffff0000, 0x9, 0xe3, 0x1, 0x2, 0x8, 0xea, 0x0, 0x800, 0xd, 0x101, 0x41, 0x9, 0xb, 0xc0, 0x19, 0x2, 0x7, 0x83, 0x2, 0xfffffff8, 0x2, 0x7, 0x2, 0xffffc123, 0xffff, 0x3, 0x0, 0x2, 0xc, 0x4, 0x5, 0x4, 0x60, 0x0, 0x0, 0x1, 0x5, 0x2, 0x1, 0x80000001, 0x7, 0x6000, 0x9, 0x1da0, 0x7, 0x7f, 0x7, 0x36a, 0xf559, 0x6, 0x4, 0x1, 0x800, 0xf, 0x4, 0x9, 0x2, 0x0, 0xf6, 0x5, 0x9, 0xfffffff9, 0x8, 0x9, 0xa4e3, 0x50, 0x0, 0x6, 0x1000, 0xefd237d, 0x6, 0x2, 0x2, 0x4, 0x3, 0xff, 0xc0e2, 0xa84, 0x3, 0x2, 0x3, 0x5, 0x3, 0x7, 0x35db33f7, 0x7, 0x55af, 0x101, 0x8, 0x8, 0x7ff, 0x400, 0x8, 0x1, 0x3eba, 0x8, 0x401, 0x6, 0x5, 0x1, 0xfffffffc, 0xa, 0x60c206f, 0x80000000, 0xfffffffa, 0xcb2, 0x100]}) ioctl$DRM_IOCTL_SYNCOBJ_CREATE(0xffffffffffffff9c, 0xc00864bf, &(0x7f0000000500)={0x0}) ioctl$DRM_IOCTL_SYNCOBJ_SIGNAL(r0, 0xc01064c5, &(0x7f0000000580)={&(0x7f0000000540)=[r1, r2, r3, r4, 0x0, r6, r7], 0x7}) recvfrom(r0, &(0x7f0000000fc0)=""/235, 0xeb, 0x1800, &(0x7f0000001100)=@in={0x10, 0x2, 0x0, 0x8}, 0x10) openat$wsmouse(0xffffffffffffff9c, &(0x7f0000000080), 0x20, 0x0) r8 = openat$wskbd(0xffffffffffffff9c, &(0x7f0000000040), 0x1, 0x0) ioctl$WSKBDIO_GETENCODINGS(r8, 0xc0105715, &(0x7f00000000c0)={0x400000000000038c, &(0x7f00000010c0)=[0x0]}) r9 = syz_open_pts() openat$bpf(0xffffffffffffff9c, &(0x7f0000001ec0), 0x2, 0x0) r10 = socket$unix(0x1, 0x5, 0x0) closefrom(r10) setrlimit(0x8, &(0x7f0000001ec0)={0x9, 0x9}) r11 = syz_open_pts() ioctl$TIOCSTOP(r9, 0x2000746f) ioctl$TIOCSETAW(r11, 0x802c7415, &(0x7f0000000000)={0x0, 0x1, 0xffffffc4, 0x2526, "fe450b0002ff00e3ffffff000017b8e16f05fe00", 0x1000006, 0x7}) write(r9, &(0x7f0000000240)="cc6362280f390365aa39ba8a1545790deb24680d79a1b55b02d07dae983dff2cc59c7eb0b42e56e656dfaeb13a5d4a96aa6151471557b50203000000", 0x3c) openat$wsmuxmouse(0xffffffffffffff9c, &(0x7f0000000040), 0x9, 0x0) 0s ago: executing program 1 (id=2): ioctl$TIOCSDTR(0xffffffffffffff9c, 0x20007479) r0 = openat$klog(0xffffffffffffff9c, &(0x7f00000002c0), 0x20, 0x0) write(r0, &(0x7f0000000300)="ac427a5918290c6142c88b07839994ca23f06517b7ca1ac85eaf489e8a160e9cfb13f918824157adb774153ad1780c71b09efdc6934565a99977d9", 0x3b) mknod(&(0x7f0000000340)='./file0\x00', 0x2000, 0x7fff) r1 = open(&(0x7f0000000180)='./file0\x00', 0x80, 0x89) open$dir(&(0x7f00000005c0)='./file0\x00', 0x200, 0x4) pselect(0x40, &(0x7f0000000080)={0x9, 0xc43d, 0xa, 0xfd, 0x7, 0xfff, 0x7, 0x1}, &(0x7f00000001c0)={0x3, 0x1, 0x2, 0xc, 0x41, 0x804}, &(0x7f0000000200)={0x4, 0x67, 0x9ee, 0x8, 0x6, 0x8000000000000001, 0x81, 0x7}, &(0x7f0000000240)={0xa, 0x8}, &(0x7f0000000280)={0xa}) r2 = socket$unix(0x1, 0x5, 0x0) r3 = kqueue1(0x10000) kevent(r3, 0x0, 0x0, 0x0, 0x40, 0x0) closefrom(r2) mknodat(r1, &(0x7f0000000040)='./file0\x00', 0x2, 0x6) open$dir(&(0x7f0000002340)='./file0\x00', 0x80, 0x0) setsockopt$sock_timeval(r2, 0xffff, 0x1006, &(0x7f0000000000)={0xf, 0x6}, 0x10) ioctl$BIOCSETIF(0xffffffffffffffff, 0x8020426c, &(0x7f0000000580)={'tap', 0x0}) mprotect(&(0x7f0000000000/0x400000)=nil, 0x400000, 0x4) r4 = socket$inet(0x2, 0x3, 0x14) ioctl$FIOASYNC(r4, 0xc0206911, &(0x7f0000000580)=0x7) read(r1, &(0x7f00000000c0)=""/159, 0x9f) kernel console output (not intermixed with test programs): Warning: Permanently added '10.128.1.103' (ED25519) to the list of known hosts. KASAN: invalid read of 4 bytes at 0xffffffff851ea3b4 from pc 0xffffffff8402397d KASAN: first bad byte at 0xffffffff851ea3b4 (+0); shadow 0xfa: global redzone (out-of-bounds) KASAN: 0xffffffff851ea3b4 is 16 bytes to the right of the 4-byte global 'mem_no' (/syzkaller/managers/kasan/kernel/sys/arch/amd64/amd64/conf.c) KASAN: pc: checkalias+0x47d KASAN: call trace: #0 __asan_load4_noabort+0x82 #1 checkalias+0x47d #2 ffs_vinit+0x227 #3 ffs_vget+0x748 #4 ufs_lookup+0x15c1 #5 VOP_LOOKUP+0xda #6 vfs_lookup+0xfbd #7 namei+0xe19 #8 vn_open+0x240 #9 doopenat+0x460 #10 sys_open+0x86 #11 syscall+0x1089 #12 Xsyscall+0x128 KASAN: shadow of 0xffffffff851ea280..0xffffffff851ea500 (1 cell = 8 bytes): 0xffffffff851ea280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0xffffffff851ea300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa >0xffffffff851ea380: 00 fa fa fa 00 fa[fa]fa 00 fa fa fa 00 00 00 00 0xffffffff851ea400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0xffffffff851ea480: 00 fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 KASAN: legend: 00 valid; 01..07 partial; fb malloc redzone; fc malloc freed; fd pool freed; fe kmem; fa global; f1..f4/f8 stack/scope panic: Caught invalid memory access at ffffffff851ea3b4 size 4 op 0 Stopped at db_enter+0x17: popq %rbp TID PID UID PRFLAGS PFLAGS CPU COMMAND *488492 79540 0 0 0x4000000 0K syz-executor 44973 9422 0 0x2 0 1 ifconfig db_enter() at db_enter+0x17 panic(ffffffff846365a7) at panic+0x270 __asan_load4_noabort(ffffffff851ea3b4) at __asan_load4_noabort+0xa3 checkalias(ffff800001c9e548,7fff) at checkalias+0x47d ffs_vinit(ffff800000d7d800,ffff80003a74f440) at ffs_vinit+0x227 ffs_vget(ffff800000d7d800,6654,ffff80003a74f600) at ffs_vget+0x748 ufs_lookup() at ufs_lookup+0x15c1 VOP_LOOKUP(ffff800001c9e398,ffff80003a74fee0,ffff80003a74ff10) at VOP_LOOKUP+0xda vfs_lookup(ffff80003a74feb0) at vfs_lookup+0xfbd namei(ffff80003a74feb0) at namei+0xe19 vn_open(ffff80003a74feb0,81,0) at vn_open+0x240 doopenat(ffff800045ffdca0,ffffff9c,200000000180,80,0,0,ffff80003a750210) at doopenat+0x460 sys_open(ffff800045ffdca0,ffff80003a750210,ffff80003a750180) at sys_open+0x86 syscall(ffff80003a750210) at syscall+0x1089 end trace frame: 0xffff80003a750290, 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: Caught invalid memory access at ffffffff851ea3b4 size 4 op 0 ddb{0}> show kasan KASAN: invalid read of 4 bytes at 0xffffffff851ea3b4 from pc 0xffffffff8402397d KASAN: first bad byte at 0xffffffff851ea3b4 (+0); shadow 0xfa: global redzone (out-of-bounds) KASAN: 0xffffffff851ea3b4 is 16 bytes to the right of the 4-byte global 'mem_no' (/syzkaller/managers/kasan/kernel/sys/arch/amd64/amd64/conf.c) KASAN: pc: checkalias+0x47d KASAN: call trace: #0 __asan_load4_noabort+0x82 #1 checkalias+0x47d #2 ffs_vinit+0x227 #3 ffs_vget+0x748 #4 ufs_lookup+0x15c1 #5 VOP_LOOKUP+0xda #6 vfs_lookup+0xfbd #7 namei+0xe19 #8 vn_open+0x240 #9 doopenat+0x460 #10 sys_open+0x86 #11 syscall+0x1089 #12 Xsyscall+0x128 KASAN: shadow of 0xffffffff851ea280..0xffffffff851ea500 (1 cell = 8 bytes): 0xffffffff851ea280: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa 0xffffffff851ea300: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa >0xffffffff851ea380: 00 fa fa fa 00 fa[fa]fa 00 fa fa fa 00 00 00 00 0xffffffff851ea400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0xffffffff851ea480: 00 fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 KASAN: legend: 00 valid; 01..07 partial; fb malloc redzone; fc malloc freed; fd pool freed; fe kmem; fa global; f1..f4/f8 stack/scope ddb{0}> trace db_enter() at db_enter+0x17 panic(ffffffff846365a7) at panic+0x270 __asan_load4_noabort(ffffffff851ea3b4) at __asan_load4_noabort+0xa3 checkalias(ffff800001c9e548,7fff) at checkalias+0x47d ffs_vinit(ffff800000d7d800,ffff80003a74f440) at ffs_vinit+0x227 ffs_vget(ffff800000d7d800,6654,ffff80003a74f600) at ffs_vget+0x748 ufs_lookup() at ufs_lookup+0x15c1 VOP_LOOKUP(ffff800001c9e398,ffff80003a74fee0,ffff80003a74ff10) at VOP_LOOKUP+0xda vfs_lookup(ffff80003a74feb0) at vfs_lookup+0xfbd namei(ffff80003a74feb0) at namei+0xe19 vn_open(ffff80003a74feb0,81,0) at vn_open+0x240 doopenat(ffff800045ffdca0,ffffff9c,200000000180,80,0,0,ffff80003a750210) at doopenat+0x460 sys_open(ffff800045ffdca0,ffff80003a750210,ffff80003a750180) at sys_open+0x86 syscall(ffff80003a750210) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x300dadf49f0, count: -15 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff80003a74f0d0 rbx 0xffff80003a74f140 rdx 0 rcx 0xffffffff85373ff0 cpu_info_full_primary+0x1ff0 rax 0xffff80000016ca00 r8 0x101010101010101 r9 0x8080808080808080 r10 0xffff80003a74eeb8 r11 0xffffffff831b6f90 x86_bus_space_io_read_1 r12 0xffffffff846365a7 .str.1+0x9e147 r13 0xffffffff85374c08 cpu_info_full_primary+0x2c08 r14 0xffffffff85374e07 cpu_info_full_primary+0x2e07 r15 0x1 rip 0xffffffff830fa4f7 db_enter+0x17 cs 0x8 rflags 0x246 rsp 0xffff80003a74f0d0 ss 0x10 db_enter+0x17: popq %rbp ddb{0}> show proc PROC (syz-executor) tid=488492 pid=79540 tcnt=2 stat=onproc flags process=0 proc=4000000 runpri=32, usrpri=86, slppri=32, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff800045ffd4d8,0xffff800045ffc028 process=0xffff80003ab58e90 user=0xffff80003a745000, vmspace=0xffff800001c943f0 estcpu=36, cpticks=18, pctcpu=0.0, user=0, sys=18, intr=0 ddb{0}> ps PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND 93927 52088 99934 0 2 0x100000 0 sh 96231 271161 14554 0 2 0x40 0 syz-executor 79540 372351 70314 0 2 0 0 syz-executor *79540 488492 70314 0 7 0 0x4000000 syz-executor 9422 44973 39588 0 7 0x2 0 ifconfig 39588 33418 48437 0 3 0x100002 0x88 sigsusp sh 6207 25674 14927 0 2 0 0 syz-executor 6207 14744 14927 0 3 0 0x4000080 fsleep syz-executor 99934 33525 11494 0 2 0x100002 0 sh 38885 286687 69400 0 2 0x100002 0 sh 44419 442208 53675 0 2 0x100000 0 sh 53675 82984 50139 0 3 0x100002 0x88 sigsusp sh 46273 287586 27423 0 2 0x100002 0 sh 11494 188679 76106 0 3 0x2 0x80 wait syz-executor 14927 439940 76106 0 2 0x2 0xc80 syz-executor 14554 125538 76106 0 3 0x82 0 ppwait syz-executor 50139 219906 76106 0 3 0x2 0x80 wait syz-executor 27423 337616 76106 0 3 0x2 0x80 wait syz-executor 69400 379727 76106 0 3 0x2 0x80 wait syz-executor 70314 141970 76106 0 2 0x2 0 syz-executor 48437 519253 76106 0 3 0x2 0x80 wait syz-executor 76106 489141 44407 0 3 0x2 0x80 kqread syz-executor 44407 280077 99864 0 3 0x100002 0x88 sigsusp ksh 99864 355230 39082 0 3 0x10 0x88 kqread sshd-session 39082 465881 65460 0 3 0x12 0x80 kqread sshd-session 69040 168889 1 0 3 0x100003 0x80 ttyin getty 65460 394856 1 0 3 0 0x88 kqread sshd 35989 471691 43184 74 2 0x1100012 0x80 pflogd 43184 419317 1 0 3 0 0x80 sbwait pflogd 4326 437604 165 73 2 0x1100010 0x80 syslogd 165 215821 1 0 3 0x100002 0x80 sbwait syslogd 70558 84024 1 0 3 0x100000 0x80 kqread resolvd 99331 353545 46352 77 3 0x100012 0x80 kqread dhcpleased 89160 513378 46352 77 3 0x100012 0x80 kqread dhcpleased 46352 7110 1 0 3 0 0x80 kqread dhcpleased 49882 511440 0 0 2 0x14000 0x200 smr 66960 140527 0 0 2 0x14000 0x200 zerothread 55886 181526 0 0 3 0x14000 0x200 aiodoned aiodoned 59601 155191 0 0 3 0x14000 0x200 syncer update 53550 54775 0 0 3 0x14000 0x200 cleaner cleaner 85552 361535 0 0 3 0x14000 0x200 reaper reaper 85758 317791 0 0 3 0x14000 0x200 pgdaemon pagedaemon 40735 49727 0 0 3 0x14000 0x200 bored viomb 25777 513980 0 0 3 0x14000 0x40000200 acpi0 acpi0 62291 298475 0 0 3 0x14000 0x40000200 idle1 33570 330792 0 0 3 0x14000 0x200 bored softnet1 23892 511056 0 0 3 0x14000 0x200 bored softnet0 50883 457345 0 0 3 0x14000 0x200 smrbar systqmp 74234 148391 0 0 3 0x14000 0x200 bored systq 27900 405578 0 0 2 0x14000 0x200 softclockmp 87534 361130 0 0 3 0x14000 0x40000200 tmoslp softclock 77375 46247 0 0 3 0x14000 0x40000200 idle0 1 109726 0 0 3 0x2 0x80 wait init 0 0 -1 0 3 0x10000 0x200 scheduler swapper ddb{0}> show all locks Process 79540 (syz-executor) thread 0xffff800045ffdca0 (488492) exclusive rrwlock inode r = 0 (0xffff800001c7c590) #0 witness_lock+0x632 #1 rw_do_enter_write+0x53e #2 rrw_enter+0xf0 #3 VOP_LOCK+0x17e #4 ufs_ihashins+0xda #5 ffs_vget+0x2e9 #6 ufs_lookup+0x15c1 #7 VOP_LOOKUP+0xda #8 vfs_lookup+0xfbd #9 namei+0xe19 #10 vn_open+0x240 #11 doopenat+0x460 #12 sys_open+0x86 #13 syscall+0x1089 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xffff800001c7c468) #0 witness_lock+0x632 #1 rw_do_enter_write+0x53e #2 rrw_enter+0xf0 #3 VOP_LOCK+0x17e #4 vn_lock+0xca #5 vfs_lookup+0x1f7 #6 namei+0xe19 #7 vn_open+0x240 #8 doopenat+0x460 #9 sys_open+0x86 #10 syscall+0x1089 #11 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff854ee7c0) #0 witness_lock+0x632 #1 doopenat+0x445 #2 sys_open+0x86 #3 syscall+0x1089 #4 Xsyscall+0x128 Process 50883 (systqmp) thread 0xffff800045ffe7c8 (457345) shared rwlock systqmp r = 0 (0xffffffff85151698) #0 witness_lock+0x632 #1 taskq_thread+0x1ba #2 proc_trampoline+0x10 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11050 12242K 12242K 166960K 12141 0 pcb 17 24K 24K 166960K 17 0 rtable 161 8K 8K 166960K 251 0 pf 34 22K 22K 166960K 45 0 ifaddr 33 7K 7K 166960K 35 0 ifgroup 55 2K 2K 166960K 55 0 sysctl 1 1K 13K 166960K 5 0 counters 70 42K 42K 166960K 70 0 ioctlops 0 0K 4K 166960K 1478 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1291 83K 83K 166960K 1362 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 2 0K 0K 166960K 2 0 dirhash 12 2K 2K 166960K 12 0 ACPI 1734 201K 292K 166960K 11964 0 file desc 21 77K 93K 166960K 115 0 proc 69 128K 209K 166960K 516 0 subproc 72 9K 9K 166960K 72 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 20K 20K 166960K 1 0 in_multi 49 3K 3K 166960K 49 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 25 182K 182K 166960K 25 0 exec 0 0K 2K 166960K 374 0 fusefs mount 1 36K 36K 166960K 1 0 tdb 3 1K 1K 166960K 3 0 VM swap 14 124K 124K 166960K 15 0 UVM amap 208 241K 250K 166960K 3047 0 UVM aobj 3 4K 4K 166960K 3 0 pinsyscall 1070 1716K 1722K 166960K 1263 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 NDP 18 0K 0K 166960K 18 0 temp 34 9162K 9172K 166960K 3811 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 29 0 26 1 0 1 1 0 8 0 rtentry 176 73 0 1 4 0 4 4 0 8 0 unpcb 144 39 0 22 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 16 0 0 1 0 1 1 0 8 0 inpcb 328 60 0 53 2 0 2 2 0 8 1 nd6 152 8 0 0 1 0 1 1 0 8 0 kcovpl 48 8 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 14 0 0 1 0 1 1 0 8 0 pfstkey 128 14 0 0 1 0 1 1 0 8 0 pfstate 448 14 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 250 0 0 16 0 16 16 0 8 0 art_table 40 251 0 0 3 0 3 3 0 8 0 art_node 32 73 0 5 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1561 0 97 92 0 92 92 0 8 0 ffsino 296 1561 0 97 113 0 113 113 0 8 0 nchpl 144 1749 0 54 63 0 63 63 0 8 0 vnodes 216 1647 0 0 92 0 92 92 0 8 0 namei 1024 5297 0 5296 1 0 1 1 0 8 0 percpumem 16 51 0 0 1 0 1 1 0 8 0 kstatmem 264 27 0 0 2 0 2 2 0 8 0 scxspl 216 6590 0 6590 4 2 2 2 1 8 2 plimitpl 152 29 0 12 1 0 1 1 0 8 0 sigapl 424 444 0 393 7 0 7 7 0 8 0 knotepl 120 53 0 0 2 0 2 2 0 8 0 kqueuepl 224 21 0 12 1 0 1 1 0 8 0 pipepl 344 130 0 103 3 0 3 3 0 8 0 fdescpl 528 428 0 393 3 0 3 3 0 8 0 filepl 160 1534 0 1325 9 0 9 9 0 8 0 lockfpl 104 6 0 4 1 0 1 1 0 8 0 lockfspl 48 4 0 2 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 82 0 69 1 0 1 1 0 8 0 zombiepl 144 393 0 393 1 0 1 1 0 8 1 processpl 1232 444 0 393 5 0 5 5 0 8 0 procpl 664 446 0 393 5 0 5 5 0 8 0 sockpl 752 128 0 101 4 0 4 4 0 8 1 mcl8k 8192 2 0 0 1 0 1 1 0 8 0 mcl4k 4096 124 0 0 16 0 16 16 0 8 0 mcl2k 2048 13 0 0 2 0 2 2 0 8 0 mextrefs 64 13 0 0 1 0 1 1 0 8 0 mtagpl 96 3 0 0 1 0 1 1 0 8 0 mbufpl 256 136 0 0 9 0 9 9 0 8 0 bufpl 272 2286 0 106 146 0 146 146 0 8 0 anonpl 32 3838 0 0 31 0 31 31 0 222 0 amapchunkpl 152 8272 0 7898 15 0 15 15 0 158 0 amappl16 200 1869 0 1861 5 0 5 5 0 8 4 amappl15 192 10 0 10 1 0 1 1 0 8 1 amappl14 184 423 0 416 1 0 1 1 0 8 0 amappl13 176 141 0 129 1 0 1 1 0 8 0 amappl12 168 673 0 643 2 0 2 2 0 8 0 amappl11 160 6 0 6 1 0 1 1 0 8 1 amappl10 152 64 0 50 1 0 1 1 0 8 0 amappl9 144 274 0 273 1 0 1 1 0 8 0 amappl8 136 100 0 97 1 0 1 1 0 8 0 amappl7 128 178 0 164 1 0 1 1 0 8 0 amappl6 120 143 0 136 1 0 1 1 0 8 0 amappl5 112 107 0 97 1 0 1 1 0 8 0 amappl4 104 302 0 283 1 0 1 1 0 8 0 amappl3 96 1380 0 1289 3 0 3 3 0 8 0 amappl2 88 537 0 479 2 0 2 2 0 8 0 amappl1 80 10247 0 9632 15 0 15 15 0 8 0 amappl 88 2341 0 2208 4 0 4 4 0 92 1 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 428 0 393 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 428 0 393 1 0 1 1 0 8 0 vmmpekpl 168 5629 0 5597 2 0 2 2 0 8 0 vmmpepl 168 37010 0 35193 84 0 84 84 0 357 4 vmsppl 488 427 0 393 5 0 5 5 0 8 0 rwobjpl 80 14335 0 13318 23 0 23 23 0 8 0 pdppl 4096 864 0 786 98 12 86 86 0 8 8 pvpl 32 9105 0 0 74 0 74 74 0 265 0 pmappl 256 427 0 393 3 0 3 3 0 8 0 extentpl 40 47 0 29 1 0 1 1 0 8 0 phpool 120 398 0 16 12 0 12 12 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x17 panic(ffffffff846365a7) at panic+0x270 __asan_load4_noabort(ffffffff851ea3b4) at __asan_load4_noabort+0xa3 checkalias(ffff800001c9e548,7fff) at checkalias+0x47d ffs_vinit(ffff800000d7d800,ffff80003a74f440) at ffs_vinit+0x227 ffs_vget(ffff800000d7d800,6654,ffff80003a74f600) at ffs_vget+0x748 ufs_lookup() at ufs_lookup+0x15c1 VOP_LOOKUP(ffff800001c9e398,ffff80003a74fee0,ffff80003a74ff10) at VOP_LOOKUP+0xda vfs_lookup(ffff80003a74feb0) at vfs_lookup+0xfbd namei(ffff80003a74feb0) at namei+0xe19 vn_open(ffff80003a74feb0,81,0) at vn_open+0x240 doopenat(ffff800045ffdca0,ffffff9c,200000000180,80,0,0,ffff80003a750210) at doopenat+0x460 sys_open(ffff800045ffdca0,ffff80003a750210,ffff80003a750180) at sys_open+0x86 syscall(ffff80003a750210) at syscall+0x1089 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x300dadf49f0, count: -15 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x19: leave x86_ipi_db(ffff800028ff3ff0) at x86_ipi_db+0x19 x86_ipi_handler() at x86_ipi_handler+0x112 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff854edfc0) at __mp_lock+0x272 syscall(ffff8000336e4d80) at syscall+0x1048 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x788796631de0, count: 9 ddb{1}> trace x86_ipi_db(ffff800028ff3ff0) at x86_ipi_db+0x19 x86_ipi_handler() at x86_ipi_handler+0x112 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27 __mp_lock(ffffffff854edfc0) at __mp_lock+0x272 syscall(ffff8000336e4d80) at syscall+0x1048 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x788796631de0, count: -6