panic: kernel diagnostic assertion "len >= 0 && !M_READONLY(m)" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/uipc_mbuf.c", line 1384 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *482655 55486 0 0 0x4000000 0K syz-executor.3 133258 21681 0 0x14000 0x200 1 reaper db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff82576625) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff825e9a2c,ffffffff8255f03b,568,ffffffff8258d88a) at __assert+0x25 sys/kern/subr_prf.c:161 m_align(fffffd8065f4e900,ffffffcb) at m_align+0x1a0 sys/kern/uipc_mbuf.c:1385 bpf_movein(ffff8000252afb30,ffff800000c45c00,ffff8000252af898,ffff8000252af798) at bpf_movein+0x25e sys/net/bpf.c:228 bpfwrite(31700,ffff8000252afb30,1) at bpfwrite+0x169 sys/net/bpf.c:644 spec_write(ffff8000252af990) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8067fc3430,ffff8000252afb30,1,fffffd807f7d83c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8065dde318,ffff8000252afb30,1) at vn_write+0x1a1 sys/kern/vfs_vnops.c:414 dofilewritev(ffff800029522010,3,ffff8000252afb30,1,ffff8000252afc30) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_pad_pwrite(ffff800029522010,ffff8000252afbd8,ffff8000252afc30) at sys_pad_pwrite+0x92 sys_pwrite sys/kern/vfs_syscalls.c:3354 [inline] sys_pad_pwrite(ffff800029522010,ffff8000252afbd8,ffff8000252afc30) at sys_pad_pwrite+0x92 sys/kern/vfs_syscalls.c:3426 syscall(ffff8000252afca0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000252afca0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf29b6343720, count: 2 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: kernel diagnostic assertion "len >= 0 && !M_READONLY(m)" failed: file "/syzkaller/managers/multicore/kernel/sys/kern/uipc_mbuf.c", line 1384 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff82576625) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff825e9a2c,ffffffff8255f03b,568,ffffffff8258d88a) at __assert+0x25 sys/kern/subr_prf.c:161 m_align(fffffd8065f4e900,ffffffcb) at m_align+0x1a0 sys/kern/uipc_mbuf.c:1385 bpf_movein(ffff8000252afb30,ffff800000c45c00,ffff8000252af898,ffff8000252af798) at bpf_movein+0x25e sys/net/bpf.c:228 bpfwrite(31700,ffff8000252afb30,1) at bpfwrite+0x169 sys/net/bpf.c:644 spec_write(ffff8000252af990) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8067fc3430,ffff8000252afb30,1,fffffd807f7d83c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8065dde318,ffff8000252afb30,1) at vn_write+0x1a1 sys/kern/vfs_vnops.c:414 dofilewritev(ffff800029522010,3,ffff8000252afb30,1,ffff8000252afc30) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_pad_pwrite(ffff800029522010,ffff8000252afbd8,ffff8000252afc30) at sys_pad_pwrite+0x92 sys_pwrite sys/kern/vfs_syscalls.c:3354 [inline] sys_pad_pwrite(ffff800029522010,ffff8000252afbd8,ffff8000252afc30) at sys_pad_pwrite+0x92 sys/kern/vfs_syscalls.c:3426 syscall(ffff8000252afca0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000252afca0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf29b6343720, count: -13 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff8000252af5b0 rbx 0xffffffff82967bff cpu_info_full_primary+0x2bff rdx 0xffff800000bee500 rcx 0 rax 0xffff800029522010 r8 0 r9 0x8080808080808080 r10 0x142b9971904fc738 r11 0xf5890663b0550270 r12 0xffffffff82967a00 cpu_info_full_primary+0x2a00 r13 0 r14 0 r15 0x1 rip 0xffffffff822e6308 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000252af5a0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=482655 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=82, nice=20 forw=0xffffffffffffffff, list=0xffff800029523a50,0xffff800021234a90 process=0xffff80002e3cc448 user=0xffff8000252aa000, vmspace=0xfffffd8066df9020 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 54131 165129 41334 0 2 0 syz-executor.4 62506 27705 17973 0 2 0 syz-executor.5 60805 137531 62126 0 2 0x480 syz-executor.0 60805 245103 62126 0 3 0x4000080 fsleep syz-executor.0 60805 42019 62126 0 3 0x4000080 fsleep syz-executor.0 55486 203601 72659 0 2 0 syz-executor.3 *55486 482655 72659 0 7 0x4000000 syz-executor.3 41334 506496 49820 0 3 0x82 nanoslp syz-executor.4 40622 166664 49820 0 2 0x482 syz-executor.6 22858 449506 1 0 3 0x100083 ttyin getty 62126 44671 49820 0 2 0x482 syz-executor.0 98353 125355 0 0 3 0x14200 bored sosplice 1888 185557 49820 0 2 0x482 syz-executor.2 83229 494231 0 0 3 0x14280 nfsidl nfsio 16234 166400 0 0 3 0x14280 nfsidl nfsio 52446 17280 0 0 3 0x14280 nfsidl nfsio 26640 724 0 0 3 0x14280 nfsidl nfsio 41840 211988 0 0 3 0x14280 nfsidl nfsio 90814 250769 0 0 3 0x14280 nfsidl nfsio 58313 508946 0 0 3 0x14280 nfsidl nfsio 4239 252088 0 0 3 0x14280 nfsidl nfsio 98160 60457 0 0 3 0x14280 nfsidl nfsio 50177 266897 0 0 3 0x14280 nfsidl nfsio 71011 3527 0 0 3 0x14280 nfsidl nfsio 98758 23513 0 0 3 0x14280 nfsidl nfsio 10532 341687 0 0 3 0x14280 nfsidl nfsio 13691 509106 0 0 3 0x14280 nfsidl nfsio 29315 375375 0 0 3 0x14280 nfsidl nfsio 83287 22528 0 0 3 0x14280 nfsidl nfsio 58873 394740 0 0 3 0x14280 nfsidl nfsio 50055 306130 0 0 3 0x14280 nfsidl nfsio 36212 173721 0 0 3 0x14280 nfsidl nfsio 44161 412306 0 0 3 0x14280 nfsidl nfsio 95758 81527 49820 0 2 0x482 syz-executor.7 17973 512589 49820 0 2 0x482 syz-executor.5 72659 136978 49820 0 2 0x482 syz-executor.3 46816 421649 49820 0 2 0x2 syz-executor.1 49820 111182 46783 0 3 0x82 kqread syz-fuzzer 49820 455184 46783 0 2 0x4000482 syz-fuzzer 49820 509989 46783 0 3 0x4000082 thrsleep syz-fuzzer 49820 34696 46783 0 3 0x4000082 thrsleep syz-fuzzer 49820 499539 46783 0 3 0x4000082 thrsleep syz-fuzzer 49820 317596 46783 0 3 0x4000082 thrsleep syz-fuzzer 49820 424074 46783 0 3 0x4000082 thrsleep syz-fuzzer 49820 511304 46783 0 3 0x4000082 thrsleep syz-fuzzer 49820 383167 46783 0 2 0x4000482 syz-fuzzer 46783 373886 50520 0 3 0x10008a sigsusp ksh 50520 442107 67795 0 3 0x9a kqread sshd 67795 204974 1 0 3 0x88 kqread sshd 99265 63206 44504 74 3 0x100092 bpf pflogd 44504 429757 1 0 3 0x80 netio pflogd 20554 105142 42536 73 3 0x100090 kqread syslogd 42536 100804 1 0 3 0x100082 netio syslogd 34340 103239 1 0 3 0x100080 kqread resolvd 69205 408235 15020 77 3 0x100092 kqread dhcpleased 75618 443303 15020 77 3 0x100092 kqread dhcpleased 15020 274058 1 0 3 0x80 kqread dhcpleased 47143 243542 0 0 3 0x14200 bored smr 46989 115532 0 0 2 0x14200 zerothread 55851 26277 0 0 3 0x14200 aiodoned aiodoned 89712 106677 0 0 3 0x14200 syncer update 74652 170560 0 0 3 0x14200 cleaner cleaner 21681 133258 0 0 7 0x14200 reaper 67462 151276 0 0 3 0x14200 pgdaemon pagedaemon 47687 521150 0 0 3 0x14200 bored viomb 11996 251344 0 0 3 0x40014200 acpi0 acpi0 98066 256099 0 0 3 0x40014200 idle1 55308 262232 0 0 3 0x14200 bored softnet 37526 37224 0 0 3 0x14200 bored systqmp 13571 433487 0 0 3 0x14200 bored systq 12129 475809 0 0 2 0x40014200 softclock 85150 337505 0 0 3 0x40014200 idle0 1 403878 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks CPU 1: exclusive mutex anonpl r = 0 (0xffffffff82b66f60) #0 witness_lock+0x44d #1 mtx_enter_try+0x100 #2 mtx_enter+0x4b sys/kern/kern_lock.c:266 #3 pool_put+0x8a sys/kern/subr_pool.c:799 #4 amap_wipeout+0x1b1 sys/uvm/uvm_amap.c:504 #5 uvm_unmap_detach+0x7d sys/uvm/uvm_map.c:1599 #6 uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 #7 uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 #8 reaper+0x18b sys/kern/kern_exit.c:462 #9 proc_trampoline+0x1c Process 55486 (syz-executor.3) thread 0xffff800029522010 (482655) exclusive kernel_lock &kernel_lock r = 0 (0xffffffff829c5fa0) #0 witness_lock+0x44d #1 vn_write+0x42 sys/kern/vfs_vnops.c:399 #2 dofilewritev+0x19c sys/kern/sys_generic.c:381 #3 sys_pad_pwrite+0x92 sys_pwrite sys/kern/vfs_syscalls.c:3354 [inline] #3 sys_pad_pwrite+0x92 sys/kern/vfs_syscalls.c:3426 #4 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #4 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #5 Xsyscall+0x128 Process 46816 (syz-executor.1) thread 0xffff800021235260 (421649) exclusive rrwlock inode r = 0 (0xfffffd8066b46928) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 ufs_ihashins+0x42 sys/ufs/ufs/ufs_ihash.c:140 #5 ffs_vget+0x141 sys/ufs/ffs/ffs_vfsops.c:1347 #6 ffs_inode_alloc+0x1be sys/ufs/ffs/ffs_alloc.c:394 #7 ufs_mkdir+0xf4 sys/ufs/ufs/ufs_vnops.c:1162 #8 VOP_MKDIR+0xbf sys/kern/vfs_vops.c:404 #9 domkdirat+0x121 sys/kern/vfs_syscalls.c:3100 #10 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #10 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #11 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806d404a38) #0 witness_lock+0x44d #1 rw_enter+0x3e1 sys/kern/kern_rwlock.c:310 #2 rrw_enter+0x8b sys/kern/kern_rwlock.c:461 #3 VOP_LOCK+0x87 sys/kern/vfs_vops.c:534 #4 vn_lock+0x84 sys/kern/vfs_vnops.c:579 #5 vfs_lookup+0xd1 sys/kern/vfs_lookup.c:413 #6 namei+0x36a sys/kern/vfs_lookup.c:245 #7 domkdirat+0x75 sys/kern/vfs_syscalls.c:3085 #8 syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] #8 syscall+0x489 sys/arch/amd64/amd64/trap.c:585 #9 Xsyscall+0x128 Process 21681 (reaper) thread 0xffff8000210f97a0 (133258) exclusive kernel: protection fault trap, code=0 Faulted in DDB; continuing... ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10224 6640K 7278K 78643K 19308 0 pcb 13 14K 16K 78643K 408 0 rtable 260 20K 20K 78643K 794 0 ifaddr 95 20K 21K 78643K 544 0 sysctl 2 0K 0K 78643K 2 0 counters 56 35K 36K 78643K 104 0 ioctlops 0 0K 8K 78643K 2156 0 iov 0 0K 20K 78643K 172 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 5 0 vnodes 1340 84K 84K 78643K 3664 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 27 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 146 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 93K 78643K 2805 0 sigio 0 0K 0K 78643K 11 0 proc 70 87K 124K 78643K 836 0 subproc 104 6K 6K 78643K 208 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 757 0 in_multi 95 6K 7K 78643K 303 0 ether_multi 1 0K 0K 78643K 40 0 mrt 1 0K 0K 78643K 6 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 247 1102K 1102K 78643K 247 0 exec 0 0K 2K 78643K 1144 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 7 26K 26K 78643K 7 0 UVM amap 347 155K 164K 78643K 37347 0 UVM aobj 129 6K 6K 78643K 138 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 266 0 NDP 12 0K 2K 78643K 75 0 temp 147 4727K 4792K 78643K 19949 0 kqueue 12 18K 22K 78643K 167 0 SYN cache 2 16K 16K 78643K 2 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 170 0 167 3 2 1 3 0 8 0 rtentry 112 252 0 144 4 0 4 4 0 8 0 unpcb 136 1775 0 1760 22 21 1 6 0 8 0 syncache 296 11 0 11 4 4 0 1 0 8 0 tcpcb 736 1580 0 1576 55 52 3 17 0 8 2 arp 120 38 0 19 1 0 1 1 0 8 0 inpcb 304 3719 0 3707 42 36 6 11 0 8 5 nd6 48 61 0 34 1 0 1 1 0 8 0 pkpcb 40 38 0 38 1 1 0 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1248 6 0 6 1 1 0 1 0 8 0 pfstscr 40 3 0 3 1 1 0 1 0 8 0 pffrag 232 10 0 10 2 2 0 1 0 482 0 pffrnode 88 10 0 10 2 2 0 1 0 8 0 pffrent 40 70 0 70 2 2 0 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 pfrke_plain 168 2 0 0 1 0 1 1 0 8 0 pfrktable 1344 23 0 14 1 0 1 1 0 8 0 pftag 88 11 0 4 1 0 1 1 0 8 0 pfstitem 24 31 0 29 1 0 1 1 0 8 0 pfstkey 112 39 0 37 1 0 1 1 0 8 0 pfstate 320 31 0 29 2 1 1 2 0 8 0 pfrule 1360 292 0 258 4 1 3 3 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 1062 0 586 33 3 30 30 0 8 0 art_table 32 1063 0 586 4 0 4 4 0 8 0 art_node 16 249 0 153 1 0 1 1 0 8 0 sysvmsgpl 40 17 0 13 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 143 0 133 1 0 1 1 0 8 0 shmpl 112 135 0 9 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 5076 0 3632 91 0 91 91 0 8 0 ffsino 272 5076 0 3632 97 0 97 97 0 8 0 nchpl 144 8804 0 7169 63 0 63 63 0 8 0 rtmask 32 4 0 2 1 0 1 1 0 8 0 uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0 vnodes 224 5926 0 0 349 0 349 349 0 8 0 namei 1024 31183 0 31182 3 2 1 2 0 8 0 percpumem 16 64 0 24 1 0 1 1 0 8 0 vcpupl 2048 4 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 4 2 1 1 1 0 8 0 pfiaddrpl 120 15 0 2 1 0 1 1 0 8 0 scxspl 216 25333 0 25333 13 12 1 8 0 8 1 plimitpl 152 240 0 224 1 0 1 1 0 8 0 sigapl 424 3112 0 3050 8 0 8 8 0 8 0 futexpl 64 24652 0 24650 4 3 1 1 0 8 0 knotepl 120 173 0 0 5 0 5 5 0 8 0 kqueuepl 216 760 0 752 15 12 3 5 0 8 2 pipepl 336 695 0 665 8 5 3 8 0 8 0 fdescpl 496 3077 0 3050 5 1 4 5 0 8 0 filepl 152 21181 0 20934 47 33 14 20 0 8 4 lockfpl 104 2734 0 2732 6 5 1 2 0 8 0 lockfspl 48 1299 0 1297 1 0 1 1 0 8 0 sessionpl 144 33 0 16 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 96 2610 0 2598 1 0 1 1 0 8 0 zombiepl 144 3050 0 3047 2 1 1 1 0 8 0 processpl 1064 3112 0 3047 5 0 5 5 0 8 0 procpl 672 8496 0 8416 12 4 8 9 0 8 0 srpgc 96 13 0 13 3 3 0 1 0 8 0 sosppl 168 8 0 8 3 2 1 1 0 8 1 sockpl 480 5702 0 5677 122 110 12 28 0 8 8 mcl64k 65536 18 0 0 3 0 3 3 0 8 0 mcl16k 16384 11 0 0 2 0 2 2 0 8 0 mcl12k 12288 14 0 0 2 0 2 2 0 8 0 mcl9k 9216 5 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 40 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 231 0 0 23 0 23 23 0 8 0 mtagpl 96 1079 0 0 26 0 26 26 0 8 0 mbufpl 256 1363 0 0 80 0 80 80 0 8 0 bufpl 288 7131 0 795 453 0 453 453 0 8 0 anonpl 24 885042 0 866013 197 68 129 150 0 186 4 amapchunkpl 152 96425 0 95613 60 23 37 49 0 158 1 amappl16 200 11167 0 10571 99 66 33 47 0 8 1 amappl15 192 865 0 859 1 0 1 1 0 8 0 amappl14 184 633 0 625 1 0 1 1 0 8 0 amappl13 176 165 0 163 1 0 1 1 0 8 0 amappl12 168 416 0 412 1 0 1 1 0 8 0 amappl11 160 61 0 46 1 0 1 1 0 8 0 amappl10 152 391 0 383 1 0 1 1 0 8 0 amappl9 144 503 0 499 1 0 1 1 0 8 0 amappl8 136 1647 0 1570 3 0 3 3 0 8 0 amappl7 128 996 0 981 1 0 1 1 0 8 0 amappl6 120 247 0 226 2 1 1 2 0 8 0 amappl5 112 2674 0 2655 1 0 1 1 0 8 0 amappl4 104 1442 0 1414 1 0 1 1 0 8 0 amappl3 96 785 0 773 1 0 1 1 0 8 0 amappl2 88 967 0 917 3 1 2 3 0 8 0 amappl1 80 58863 0 58304 19 5 14 19 0 8 0 amappl 88 36679 0 36440 7 0 7 7 0 92 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 137 0 9 3 0 3 3 0 8 0 uaddrrnd 24 3085 0 3053 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 3085 0 3053 1 0 1 1 0 8 0 vmmpekpl 168 28971 0 28896 4 0 4 4 0 8 0 vmmpepl 168 291278 0 288787 167 45 122 142 0 357 0 vmsppl 368 3084 0 3052 5 1 4 4 0 8 0 rwobjpl 56 79028 0 71391 112 2 110 112 0 8 0 pdppl 4096 6177 0 6108 196 123 73 83 0 8 4 pvpl 32 1567610 0 1544285 328 111 217 245 0 265 17 pmappl 248 3084 0 3052 4 1 3 3 0 8 0 extentpl 40 58 0 38 1 0 1 1 0 8 0 phpool 112 1067 0 189 26 0 26 26 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:440 panic(ffffffff82576625) at panic+0x177 sys/kern/subr_prf.c:202 __assert(ffffffff825e9a2c,ffffffff8255f03b,568,ffffffff8258d88a) at __assert+0x25 sys/kern/subr_prf.c:161 m_align(fffffd8065f4e900,ffffffcb) at m_align+0x1a0 sys/kern/uipc_mbuf.c:1385 bpf_movein(ffff8000252afb30,ffff800000c45c00,ffff8000252af898,ffff8000252af798) at bpf_movein+0x25e sys/net/bpf.c:228 bpfwrite(31700,ffff8000252afb30,1) at bpfwrite+0x169 sys/net/bpf.c:644 spec_write(ffff8000252af990) at spec_write+0xd4 sys/kern/spec_vnops.c:309 VOP_WRITE(fffffd8067fc3430,ffff8000252afb30,1,fffffd807f7d83c0) at VOP_WRITE+0xbf sys/kern/vfs_vops.c:245 vn_write(fffffd8065dde318,ffff8000252afb30,1) at vn_write+0x1a1 sys/kern/vfs_vnops.c:414 dofilewritev(ffff800029522010,3,ffff8000252afb30,1,ffff8000252afc30) at dofilewritev+0x19c sys/kern/sys_generic.c:381 sys_pad_pwrite(ffff800029522010,ffff8000252afbd8,ffff8000252afc30) at sys_pad_pwrite+0x92 sys_pwrite sys/kern/vfs_syscalls.c:3354 [inline] sys_pad_pwrite(ffff800029522010,ffff8000252afbd8,ffff8000252afc30) at sys_pad_pwrite+0x92 sys/kern/vfs_syscalls.c:3426 syscall(ffff8000252afca0) at syscall+0x489 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000252afca0) at syscall+0x489 sys/arch/amd64/amd64/trap.c:585 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xf29b6343720, count: -13 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff829c5d98) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829c5d98) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff8000211356d0,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1615 uvm_map_teardown(fffffd8066df95e0) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 uvmspace_free(fffffd8066df95e0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 reaper(ffff8000210f97a0) at reaper+0x18b sys/kern/kern_exit.c:462 end trace frame: 0x0, count: 7 ddb{1}> trace x86_ipi_db(ffff800020ce8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff829c5d98) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff829c5d98) at __mp_lock+0x122 sys/kern/kern_lock.c:147 uvm_unmap_detach(ffff8000211356d0,1) at uvm_unmap_detach+0x113 sys/uvm/uvm_map.c:1615 uvm_map_teardown(fffffd8066df95e0) at uvm_map_teardown+0x262 sys/uvm/uvm_map.c:2789 uvmspace_free(fffffd8066df95e0) at uvmspace_free+0xa6 sys/uvm/uvm_map.c:3685 reaper(ffff8000210f97a0) at reaper+0x18b sys/kern/kern_exit.c:462 end trace frame: 0x0, count: -8