kern.securelevel: 0 -> 1 creating runtime link editor directory cache. preserving editor files. starting network daemons: sshd. starting local daemons:. Fri May 29 09:18:20 PDT 2020 OpenBSD/amd64 (ci-openbsd-multicore-6.c.syzkaller.internal) (tty00) Warning: Permanently added '10.128.0.25' (ECDSA) to the list of known hosts. 2020/05/29 09:19:06 parsed 1 programs 2020/05/29 09:19:11 executed programs: 0 login: panic: pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd806b5c9900+16 0x0!=0x79d66ea9ac3af5cf Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 50197 39978 0 0 0 1K syz-executor.0 db_enter() at db_enter+0x18 panic(ffffffff821fa52f) at panic+0x15c pool_cache_get(ffffffff82679378) at pool_cache_get+0x323 pool_get(ffffffff82679378,2) at pool_get+0x91 m_get(2,3) at m_get+0x4c rt_ifa_del(ffff800000a0ca00,800100,ffff800000a0ca40,0) at rt_ifa_del+0xa1 in6_unlink_ifa(ffff800000a0ca00,ffff8000009d5000) at in6_unlink_ifa+0x571 in6_update_ifa(ffff8000009d5000,ffff800020f5fbc0,0) at in6_update_ifa+0x13f7 in6_ioctl_change_ifaddr(8080691a,ffff800020f5fbc0,ffff8000009d5000) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd806f6e2960,8080691a,ffff800020f5fbc0,ffff800020ec7608) at ifioctl+0xe70 soo_ioctl(fffffd806d0b6438,8080691a,ffff800020f5fbc0,ffff800020ec7608) at soo_ioctl+0x27c sys_ioctl(ffff800020ec7608,ffff800020f5fcd8,ffff800020f5fd20) at sys_ioctl+0x4a5 syscall(ffff800020f5fda0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7af0, count: 1 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{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic pool_cache_item_magic_check: mbufpl cpu free list modified: item addr 0xfffffd806b5c9900+16 0x0!=0x79d66ea9ac3af5cf ddb{1}> trace db_enter() at db_enter+0x18 panic(ffffffff821fa52f) at panic+0x15c pool_cache_get(ffffffff82679378) at pool_cache_get+0x323 pool_get(ffffffff82679378,2) at pool_get+0x91 m_get(2,3) at m_get+0x4c rt_ifa_del(ffff800000a0ca00,800100,ffff800000a0ca40,0) at rt_ifa_del+0xa1 in6_unlink_ifa(ffff800000a0ca00,ffff8000009d5000) at in6_unlink_ifa+0x571 in6_update_ifa(ffff8000009d5000,ffff800020f5fbc0,0) at in6_update_ifa+0x13f7 in6_ioctl_change_ifaddr(8080691a,ffff800020f5fbc0,ffff8000009d5000) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd806f6e2960,8080691a,ffff800020f5fbc0,ffff800020ec7608) at ifioctl+0xe70 soo_ioctl(fffffd806d0b6438,8080691a,ffff800020f5fbc0,ffff800020ec7608) at soo_ioctl+0x27c sys_ioctl(ffff800020ec7608,ffff800020f5fcd8,ffff800020f5fd20) at sys_ioctl+0x4a5 syscall(ffff800020f5fda0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7af0, count: -14 ddb{1}> show registers rdi 0 rsi 0x1 rbp 0xffff800020f5f430 rbx 0xffff800020f5f4e0 rdx 0x8b rcx 0x2 rax 0x1 r8 0xffffffff8212b2ff kprintf+0x16f r9 0x1 r10 0x2 r11 0xcbb3bc3afdd2bc0c r12 0x3000000008 r13 0xffff800020f5f440 r14 0x100 r15 0x1 rip 0xffffffff81cb79c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020f5f420 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{1}> show proc PROC (syz-executor.0) pid=50197 stat=onproc flags process=0 proc=0 pri=53, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec7ae8,0xffffffff826aa8a0 process=0xffff800020e93b08 user=0xffff800020f5a000, vmspace=0xfffffd807f000000 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=2, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND *39978 50197 1851 0 7 0 syz-executor.0 28616 312919 57712 0 3 0x2 biowait syz-executor.1 1851 482239 57712 0 3 0x82 nanosleep syz-executor.0 57712 453437 21157 0 3 0x82 kqread syz-execprog 57712 232069 21157 0 3 0x4000082 nanosleep syz-execprog 57712 130245 21157 0 3 0x4000082 thrsleep syz-execprog 57712 517879 21157 0 3 0x4000082 nanosleep syz-execprog 57712 506727 21157 0 3 0x4000082 thrsleep syz-execprog 57712 206778 21157 0 3 0x4000082 thrsleep syz-execprog 57712 449815 21157 0 3 0x4000082 thrsleep syz-execprog 57712 169468 21157 0 3 0x4000082 thrsleep syz-execprog 57712 189123 21157 0 3 0x4000082 thrsleep syz-execprog 57712 183924 21157 0 3 0x4000082 thrsleep syz-execprog 21157 84289 23536 0 3 0x10008a pause ksh 23536 248899 69520 0 3 0x92 select sshd 9646 283733 1 0 3 0x100083 ttyin getty 69520 255958 1 0 3 0x80 select sshd 14292 84676 18896 74 3 0x100092 bpf pflogd 18896 387766 1 0 3 0x80 netio pflogd 34951 123932 57758 73 3 0x100090 kqread syslogd 57758 322432 1 0 3 0x100082 netio syslogd 67172 38875 1 77 3 0x100090 poll dhclient 9579 25988 1 0 3 0x80 poll dhclient 82074 416328 0 0 3 0x14200 bored smr 55991 86101 0 0 3 0x14200 pgzero zerothread 82903 19046 0 0 3 0x14200 aiodoned aiodoned 14889 522821 0 0 3 0x14200 syncer update 828 134787 0 0 3 0x14200 cleaner cleaner 49888 457801 0 0 3 0x14200 reaper reaper 63187 241171 0 0 3 0x14200 pgdaemon pagedaemon 91668 268806 0 0 3 0x14200 bored crynlk 65066 243626 0 0 3 0x14200 bored crypto 32416 215807 0 0 3 0x40014200 acpi0 acpi0 5999 218525 0 0 3 0x40014200 idle1 77812 518633 0 0 3 0x14200 bored softnet 28415 436860 0 0 3 0x14200 bored systqmp 68496 188887 0 0 3 0x14200 bored systq 12100 471245 0 0 3 0x40014200 bored softclock 51916 134948 0 0 7 0x40014200 idle0 1 294182 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 39978 (syz-executor.0) thread 0xffff800020ec7608 (50197) exclusive rwlock netlock r = 0 (0xffffffff82502378) #0 witness_lock+0x4c7 #1 in6_ioctl_change_ifaddr+0x155 #2 ifioctl+0xe70 #3 soo_ioctl+0x27c #4 sys_ioctl+0x4a5 #5 syscall+0x4a4 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff826906e8) #0 witness_lock+0x4c7 #1 soo_ioctl+0x26a #2 sys_ioctl+0x4a5 #3 syscall+0x4a4 #4 Xsyscall+0x128 Process 28616 (syz-executor.1) thread 0xffff800020e6dd48 (312919) exclusive rrwlock inode r = 0 (0xfffffd806b91cc48) #0 witness_lock+0x4c7 #1 rw_enter+0x453 #2 rrw_enter+0x88 #3 VOP_LOCK+0x4b #4 vn_lock+0x81 #5 vget+0x1c8 #6 ufs_ihashget+0x141 #7 ffs_vget+0x74 #8 ufs_lookup+0x14b7 #9 VOP_LOOKUP+0x5b #10 vfs_lookup+0x7a6 #11 namei+0x63c #12 dounlinkat+0x99 #13 syscall+0x4a4 #14 Xsyscall+0x128 exclusive rrwlock inode r = 0 (0xfffffd806b91c3c8) #0 witness_lock+0x4c7 #1 rw_enter+0x453 #2 rrw_enter+0x88 #3 VOP_LOCK+0x4b #4 vn_lock+0x81 #5 vfs_lookup+0xe6 #6 namei+0x63c #7 dounlinkat+0x99 #8 syscall+0x4a4 #9 Xsyscall+0x128 ddb{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9471 6398K 6398K 78643K 10564 0 pcb 13 8K 8K 78643K 13 0 rtable 105 3K 3K 78643K 199 0 ifaddr 45 10K 10K 78643K 352 0 counters 43 33K 33K 78643K 43 0 ioctlops 0 0K 4K 78643K 1469 0 mount 1 1K 1K 78643K 1 0 vnodes 1183 74K 75K 78643K 1188 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 1K 78643K 2 0 VM map 2 1K 1K 78643K 2 0 sem 2 0K 0K 78643K 2 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 4 12K 24K 78643K 340 0 proc 59 63K 95K 78643K 438 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 in_multi 33 2K 2K 78643K 33 0 ether_multi 1 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 19 95K 95K 78643K 19 0 exec 0 0K 1K 78643K 210 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 80 20K 21K 78643K 1311 0 UVM aobj 2 2K 2K 78643K 2 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 NDP 6 0K 0K 78643K 10 0 temp 33 3029K 3093K 78643K 2580 0 kqueue 3 4K 4K 78643K 3 0 SYN cache 2 16K 16K 78643K 2 0 ddb{1}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 6 0 0 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 19 0 17 1 0 1 1 0 8 0 rtentry 112 45 0 1 2 0 2 2 0 8 0 unpcb 120 29 0 19 1 0 1 1 0 8 0 syncache 264 5 0 5 2 2 0 1 0 8 0 tcpcb 544 8 0 5 1 0 1 1 0 8 0 inpcb 280 344 0 337 1 0 1 1 0 8 0 nd6 48 6 0 0 1 0 1 1 0 8 0 pfosfp 40 846 0 423 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfstitem 24 12 0 2 1 0 1 1 0 8 0 pfstkey 112 12 0 2 1 0 1 1 0 8 0 pfstate 328 12 0 2 1 0 1 1 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 188 0 0 12 0 12 12 0 8 0 art_table 32 189 0 0 2 0 2 2 0 8 0 art_node 16 44 0 4 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1734 0 327 88 0 88 88 0 8 0 ffsino 272 1734 0 327 94 0 94 94 0 8 0 nchpl 144 2260 0 652 60 0 60 60 0 8 0 uvmvnodes 72 1744 0 0 32 0 32 32 0 8 0 vnodes 208 1744 0 0 92 0 92 92 0 8 0 namei 1024 5538 0 5538 2 1 1 1 0 8 1 percpumem 16 32 0 0 1 0 1 1 0 8 0 scxspl 192 5860 0 5859 9 8 1 7 0 8 0 plimitpl 152 16 0 8 1 0 1 1 0 8 0 sigapl 424 560 0 529 4 0 4 4 0 8 0 knotepl 112 59 0 42 1 0 1 1 0 8 0 kqueuepl 144 2 0 0 1 0 1 1 0 8 0 pipelkpl 48 81 0 71 2 1 1 1 0 8 0 pipepl 120 162 0 143 2 1 1 1 0 8 0 fdescpl 496 545 0 529 3 0 3 3 0 8 0 filepl 152 1757 0 1689 3 0 3 3 0 8 0 lockfpl 104 5 0 4 1 0 1 1 0 8 0 lockfspl 48 3 0 2 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 62 0 53 1 0 1 1 0 8 0 zombiepl 144 529 0 529 2 1 1 1 0 8 1 processpl 984 560 0 529 5 0 5 5 0 8 0 procpl 624 569 0 529 4 0 4 4 0 8 0 sockpl 400 392 0 373 3 0 3 3 0 8 1 mcl4k 4096 3 0 0 1 0 1 1 0 8 0 mcl2k 2048 72 0 0 9 0 9 9 0 8 0 mtagpl 80 1 0 0 1 0 1 1 0 8 0 mbufpl 256 165 0 0 9 0 9 9 0 8 0 bufpl 280 3301 0 133 227 0 227 227 0 8 0 anonpl 16 30874 0 28971 14 2 12 12 0 124 4 amapchunkpl 152 1263 0 1195 6 0 6 6 0 158 2 amappl16 192 1430 0 1375 3 0 3 3 0 8 0 amappl15 184 2 0 1 2 1 1 1 0 8 0 amappl14 176 36 0 31 1 0 1 1 0 8 0 amappl13 168 29 0 26 2 1 1 1 0 8 0 amappl12 160 7 0 6 2 1 1 1 0 8 0 amappl11 152 56 0 41 1 0 1 1 0 8 0 amappl10 144 328 0 319 1 0 1 1 0 8 0 amappl9 136 231 0 230 1 0 1 1 0 8 0 amappl8 128 290 0 282 1 0 1 1 0 8 0 amappl7 120 428 0 415 1 0 1 1 0 8 0 amappl6 112 23 0 20 1 0 1 1 0 8 0 amappl5 104 437 0 422 1 0 1 1 0 8 0 amappl4 96 515 0 487 1 0 1 1 0 8 0 amappl3 88 106 0 100 1 0 1 1 0 8 0 amappl2 80 1557 0 1495 3 1 2 2 0 8 0 amappl1 72 18231 0 17794 23 5 18 18 0 8 8 amappl 80 810 0 779 1 0 1 1 0 84 0 dma4096 4096 1 0 1 1 1 0 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 64 1 0 0 1 0 1 1 0 8 0 uaddrrnd 24 545 0 529 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 545 0 529 1 0 1 1 0 8 0 vmmpekpl 168 7045 0 7021 2 0 2 2 0 8 0 vmmpepl 168 46837 0 45812 84 12 72 72 0 357 25 vmsppl 368 544 0 529 2 0 2 2 0 8 0 pdppl 4096 1098 0 1058 6 0 6 6 0 8 0 pvpl 32 150096 0 145686 110 6 104 104 0 265 68 pmappl 232 544 0 529 2 0 2 2 0 8 1 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 239 0 4 7 0 7 7 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffffffff82519ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff826904e0) at __mp_lock+0x127 intr_handler(ffff800020e21890,ffff80000006ba00) at intr_handler+0x5e Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x19f acpicpu_idle() at acpicpu_idle+0x331 sched_idle(ffffffff82519ff0) at sched_idle+0x3f7 end trace frame: 0x0, count: 7 ddb{0}> trace x86_ipi_db(ffffffff82519ff0) at x86_ipi_db+0x1a x86_ipi_handler() at x86_ipi_handler+0xc6 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff826904e0) at __mp_lock+0x127 intr_handler(ffff800020e21890,ffff80000006ba00) at intr_handler+0x5e Xintr_ioapic_edge17_untramp() at Xintr_ioapic_edge17_untramp+0x19f acpicpu_idle() at acpicpu_idle+0x331 sched_idle(ffffffff82519ff0) at sched_idle+0x3f7 end trace frame: 0x0, count: -8 ddb{0}> machine ddbcpu 1 Stopped at db_enter+0x18: addq $0x8,%rsp db_enter() at db_enter+0x18 panic(ffffffff821fa52f) at panic+0x15c pool_cache_get(ffffffff82679378) at pool_cache_get+0x323 pool_get(ffffffff82679378,2) at pool_get+0x91 m_get(2,3) at m_get+0x4c rt_ifa_del(ffff800000a0ca00,800100,ffff800000a0ca40,0) at rt_ifa_del+0xa1 in6_unlink_ifa(ffff800000a0ca00,ffff8000009d5000) at in6_unlink_ifa+0x571 in6_update_ifa(ffff8000009d5000,ffff800020f5fbc0,0) at in6_update_ifa+0x13f7 in6_ioctl_change_ifaddr(8080691a,ffff800020f5fbc0,ffff8000009d5000) at in6_ioctl_change_ifaddr+0x40c ifioctl(fffffd806f6e2960,8080691a,ffff800020f5fbc0,ffff800020ec7608) at ifioctl+0xe70 soo_ioctl(fffffd806d0b6438,8080691a,ffff800020f5fbc0,ffff800020ec7608) at soo_ioctl+0x27c sys_ioctl(ffff800020ec7608,ffff800020f5fcd8,ffff800020f5fd20) at sys_ioctl+0x4a5 syscall(ffff800020f5fda0) at syscall+0x4a4 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe7af0, count: 1 ddb{1}>