panic: Assertion done != job_total_nbytes failed at /syzkaller/managers/ci-freebsd-i386/kernel/sys/kern/sys_socket.c:690 cpuid = 0 time = 1794978455 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0xc6/frame 0xfffffe00570968d0 kdb_backtrace() at kdb_backtrace+0xd0/frame 0xfffffe0057096a30 vpanic() at vpanic+0x257/frame 0xfffffe0057096bf0 panic() at panic+0xb5/frame 0xfffffe0057096cb0 soaio_process_sb() at soaio_process_sb+0x1179/frame 0xfffffe0057096e90 soaio_kproc_loop() at soaio_kproc_loop+0x17b/frame 0xfffffe0057096ee0 fork_exit() at fork_exit+0x10c/frame 0xfffffe0057096f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0057096f30 --- trap 0, rip = 0x11f1be389348, rsp = 0, rbp = 0x11f1be513f90 --- KDB: enter: panic [ thread pid 1714 tid 100247 ] Stopped at kdb_enter+0x6e: movq $0,0x26b8d77(%rip) db> db> set $lines = 0 db> set $maxwidth = 0 db> show registers cs 0x20 ds 0x3b es 0x3b fs 0x13 gs 0x1b ss 0 rax 0x12 rcx 0xfffffe0002befac0 rdx 0xdffff7c000000000 rbx 0xffffffff82a285c0 .str.27 rsp 0xfffffe0057096a10 rbp 0xfffffe0057096a30 rsi 0 rdi 0xffffffff832004e0 panicstr r8 0 r9 0xffffffff r10 0x1 r11 0x973379b0 r12 0xfffffe0059342780 r13 0xfffffffffffffffe r14 0xffffffff82a285c0 .str.27 r15 0 rip 0xffffffff8176295e kdb_enter+0x6e rflags 0x46 kdb_enter+0x6e: movq $0,0x26b8d77(%rip) db> show proc Process 1714 (soaiod2) at 0xfffffe00593955d8: state: NORMAL uid: 0 gid: 0 supp gids: 0 parent: pid 0 at 0xffffffff83da6020 ABI: null flag: 0x10000204 flag2: 0 reaper: 0xffffffff83da6020 reapsubtree: 1714 sigparent: 20 vmspace: 0xfffffe0059326248 (map 0xfffffe0059326248) (map.pmap 0xfffffe00593262e8) (pmap 0xfffffe0059326358) threads: 1 100247 Run CPU 0 [soaiod2] db> ps pid ppid pgrp uid state wmesg wchan cmd 1760 1675 982 0 S nanslp 0xffffffff83dfc701 sleep 1716 0 0 0 DL - 0xffffffff83eb1140 [soaiod4] 1715 0 0 0 DL - 0xffffffff83eb1140 [soaiod3] 1714 0 0 0 RL CPU 0 [soaiod2] 1713 0 0 0 DL - 0xffffffff83eb1140 [soaiod1] 1712 0 0 0 DL aiordy 0xfffffe0059351568 [aiod4] 1711 0 0 0 DL aiordy 0xfffffe0059351ad0 [aiod3] 1710 0 0 0 DL aiordy 0xfffffe005931c038 [aiod2] 1709 0 0 0 DL aiordy 0xfffffe0059352038 [aiod1] 1702 1673 1673 0 T (threaded) syz-executor 100091 RunQ syz-executor 1675 1639 982 0 S wait 0xfffffe005932d5a0 sh 1673 1587 1673 0 S nanslp 0xffffffff83dfc701 syz-executor 1639 982 982 0 S wait 0xfffffe00593525a0 sh 1587 1560 1560 0 S select 0xfffffe0058f78840 syz-executor 1560 1559 1560 0 Ss (threaded) syz-execprog 100087 S uwait 0xfffffe0058e6cc00 syz-execprog 100156 S uwait 0xfffffe0058b8fc00 syz-execprog 100157 S uwait 0xfffffe0058b8fe00 syz-execprog 100158 S uwait 0xfffffe005aa8dc00 syz-execprog 100159 S uwait 0xfffffe005aa8da00 syz-execprog 100161 S uwait 0xfffffe0058b90200 syz-execprog 100162 S uwait 0xfffffe0074a34600 syz-execprog 100163 S uwait 0xfffffe0074a34800 syz-execprog 100167 S uwait 0xfffffe0074a35000 syz-execprog 100168 S kqread 0xfffffe00087a5e00 syz-execprog 100169 S uwait 0xfffffe0074a35400 syz-execprog 100170 S uwait 0xfffffe0074a33200 syz-execprog 100194 S uwait 0xfffffe0074a3a500 syz-execprog 100195 S uwait 0xfffffe0074a3a300 syz-execprog 1559 1557 1557 0 S select 0xfffffe0058f77940 sshd-session 1557 1457 1557 0 Ss select 0xfffffe005a5ffb40 sshd-session 1528 1 1528 0 Ss+ ttyin 0xfffffe0058bc00b0 getty 1527 1 1527 0 Ss+ ttyin 0xfffffe005a37f8b0 getty 1526 1 1526 0 Ss+ ttyin 0xfffffe005a3808b0 getty 1525 1 1525 0 Ss+ ttyin 0xfffffe005a3818b0 getty 1524 1 1524 0 Ss+ ttyin 0xfffffe005a3828b0 getty 1523 1 1523 0 Ss+ ttyin 0xfffffe0057eda8b0 getty 1522 1 1522 0 Ss+ ttyin 0xfffffe0057ee08b0 getty 1521 1 1521 0 Ss+ ttyin 0xfffffe0057ee18b0 getty 1520 1 1520 0 Ss+ ttyin 0xfffffe0057ee38b0 getty 1516 1 1516 0 Ss select 0xfffffe0058f76c40 logger 1511 1 17 0 S+ piperd 0xfffffe005a9fc2e8 logger 1510 1509 17 0 S+ nanslp 0xffffffff83dfc700 sleep 1509 1 17 0 S+ wait 0xfffffe00592ed5d8 sh 1498 1 1498 0 Ss nanslp 0xffffffff83dfc700 cron 1457 1 1457 0 Ss select 0xfffffe0058f76b40 sshd 1280 1 1280 0 Ss select 0xfffffe005a5fde40 syslogd 1279 1 1276 0 S select 0xfffffe005a5fdd40 syslogd 1276 1 1276 0 Ss kqread 0xfffffe005a6f3400 syslogd 982 1 982 0 Ss wait 0xfffffe0059200568 devd 981 1 981 65 Ss select 0xfffffe005a603440 dhclient 829 1 829 0 Ss select 0xfffffe005a5fca40 dhclient 826 1 826 0 Ss select 0xfffffe005a5fcc40 dhclient 406 0 0 0 DL - 0xffffffff83a2b900 [busdma] 16 0 0 0 DL syncer 0xffffffff83ebeb80 [syncer] 15 0 0 0 DL vlruwt 0xfffffe00592085a0 [vnlru] 14 0 0 0 DL (threaded) [bufdaemon] 100079 D psleep 0xffffffff83ebd0e0 [bufdaemon] 100082 D - 0xffffffff83202740 [bufspacedaemon-0] 100096 D sdflush 0xfffffe00087798e8 [/ worker] 9 0 0 0 DL psleep 0xffffffff83effbe0 [vmdaemon] 8 0 0 0 DL (threaded) [pagedaemon] 100077 D psleep 0xffffffff83ee5cc8 [dom0] 100083 D launds 0xffffffff83ee5cd4 [laundry: dom0] 100084 D umarcl 0xffffffff81f9faa0 [uma] 7 0 0 0 DL - 0xffffffff83b75530 [rand_harvestq] 6 0 0 0 DL pftm 0xffffffff847ca5c0 [pf purge] 5 0 0 0 DL waiting 0xffffffff84ad88c0 [sctp_iterator] 4 0 0 0 DL (threaded) [cam] 100045 D - 0xffffffff83b3f340 [doneq0] 100046 D - 0xffffffff83b3f2c0 [async] 100075 D - 0xffffffff83b3f140 [scanner] 3 0 0 0 DL (threaded) [crypto] 100042 D crypto_ 0xffffffff83ee1440 [crypto] 100043 D crypto_ 0xfffffe005815f830 [crypto returns 0] 100044 D crypto_ 0xfffffe005815f880 [crypto returns 1] 13 0 0 0 DL (threaded) [geom] 100037 D - 0xffffffff83da55e0 [g_event] 100038 D - 0xffffffff83da5600 [g_up] 100039 D - 0xffffffff83da5620 [g_down] 2 0 0 0 WL (threaded) [clock] 100031 I [clock (0)] 100032 I [clock (1)] 12 0 0 0 WL (threaded) [intr] 100013 I [swi6: task queue] 100014 I [swi6: Giant taskq] 100016 I [swi5: fast taskq] 100033 I [swi1: netisr 0] 100034 I [swi1: hpts] 100035 I [swi1: hpts] 100047 I [irq24: virtio_pci0] 100048 I [irq25: virtio_pci0] 100049 I [irq26: virtio_pci0] 100050 I [irq27: virtio_pci0] 100051 I [irq28: virtio_pci1] 100052 I [irq29: virtio_pci1] 100053 I [irq30: virtio_pci1] 100054 I [irq31: virtio_pci1] 100055 I [irq32: virtio_pci1] 100060 I [irq10: virtio_pci2] 100062 I