'\FT.JSi[; YeBo ]EF0o݁7N./bus ./bus`Yj1IRd`Yj1IRdpanic: kernel diagnostic assertion "ifp != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/netinet/if_ether.c", line 716 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND 429829 98866 0 0x2 0x1 1 syz-executor.0 *138228 80191 0 0x14000 0x40000200 0K softclock db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 __assert(ffffffff82206a94,ffffffff822056f2,2cc,ffffffff8218d87e) at __assert+0x2b sys/kern/subr_prf.c:154 arptfree(fffffd807c5c14d8) at arptfree+0xfb sys/netinet/if_ether.c:716 arptimer(ffffffff825ff008) at arptimer+0x95 sys/netinet/if_ether.c:120 timeout_run(ffffffff825ff008) at timeout_run+0xc4 timeout_sync_leave sys/kern/kern_timeout.c:177 [inline] timeout_run(ffffffff825ff008) at timeout_run+0xc4 sys/kern/kern_timeout.c:474 softclock_thread(ffff800020a10c58) at softclock_thread+0x16a sys/kern/kern_timeout.c:553 end trace frame: 0x0, count: 8 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 kernel diagnostic assertion "ifp != NULL" failed: file "/syzkaller/managers/multicore/kernel/sys/netinet/if_ether.c", line 716 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 __assert(ffffffff82206a94,ffffffff822056f2,2cc,ffffffff8218d87e) at __assert+0x2b sys/kern/subr_prf.c:154 arptfree(fffffd807c5c14d8) at arptfree+0xfb sys/netinet/if_ether.c:716 arptimer(ffffffff825ff008) at arptimer+0x95 sys/netinet/if_ether.c:120 timeout_run(ffffffff825ff008) at timeout_run+0xc4 timeout_sync_leave sys/kern/kern_timeout.c:177 [inline] timeout_run(ffffffff825ff008) at timeout_run+0xc4 sys/kern/kern_timeout.c:474 softclock_thread(ffff800020a10c58) at softclock_thread+0x16a sys/kern/kern_timeout.c:553 end trace frame: 0x0, count: -7 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800020a25a00 rbx 0xffff800020a25ab0 rdx 0xffff800020a10c58 rcx 0 rax 0 r8 0xffffffff81a7d55f kprintf+0x16f r9 0x1 r10 0x25 r11 0x2c29b6e5ca85f045 r12 0x3000000008 r13 0xffff800020a25a10 r14 0x100 r15 0x1 rip 0xffffffff8151a108 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800020a259f0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (softclock) pid=138228 stat=onproc flags process=14000 proc=40000200 pri=0, usrpri=51, nice=20 forw=0xffffffffffffffff, list=0xffff800020a10ed0,0xffff800020a10778 process=0xffff800020a12000 user=0xffff800020a20000, vmspace=0xffffffff8264dc08 estcpu=1, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 22504 310318 98866 0 2 0x480 syz-executor.0 22504 82244 98866 0 3 0x4000080 fsleep syz-executor.0 22504 68112 98866 0 3 0x4000080 netcon syz-executor.0 22504 144424 98866 0 3 0x4000080 fsleep syz-executor.0 56091 389764 17109 60929 2 0x490 syz-executor.1 56091 120289 17109 60929 3 0x4000090 netcon syz-executor.1 56091 188884 17109 60929 3 0x4000090 fsleep syz-executor.1 17109 285725 15364 0 2 0x482 syz-executor.1 98866 429829 15364 0 7 0x3 syz-executor.0 28770 106710 1 0 3 0x100083 ttyin getty 36538 368948 0 0 3 0x14200 bored sosplice 15364 103943 70243 0 3 0x82 thrsleep syz-fuzzer 15364 79895 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 80788 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 360261 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 395216 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 52665 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 22841 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 358010 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 476608 70243 0 3 0x4000082 thrsleep syz-fuzzer 15364 386470 70243 0 3 0x4000082 kqread syz-fuzzer 70243 131408 84937 0 3 0x10008a pause ksh 84937 436178 73906 0 3 0x92 select sshd 73906 185221 1 0 3 0x80 select sshd 20052 52548 54865 74 3 0x100092 bpf pflogd 54865 52973 1 0 3 0x80 netio pflogd 93816 308743 52651 73 3 0x100090 kqread syslogd 52651 379367 1 0 3 0x100082 netio syslogd 28146 504960 1 77 3 0x100090 poll dhclient 89901 421819 1 0 3 0x80 poll dhclient 89038 18305 0 0 3 0x14200 pgzero zerothread 94452 102615 0 0 3 0x14200 aiodoned aiodoned 68215 412578 0 0 3 0x14200 syncer update 18288 167650 0 0 3 0x14200 cleaner cleaner 35841 380799 0 0 3 0x14200 reaper reaper 95335 459043 0 0 3 0x14200 pgdaemon pagedaemon 54238 131226 0 0 3 0x14200 bored crynlk 18243 315573 0 0 3 0x14200 bored crypto 45212 290233 0 0 3 0x40014200 acpi0 acpi0 36736 335144 0 0 3 0x40014200 idle1 31554 358401 0 0 3 0x14200 bored softnet 48970 45877 0 0 3 0x14200 bored systqmp 69244 34679 0 0 3 0x14200 bored systq *80191 138228 0 0 7 0x40014200 softclock 31783 473222 0 0 3 0x40014200 idle0 68970 306987 0 0 3 0x14200 bored smr 1 18916 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 80191 (softclock) thread 0xffff800020a10c58 (138228) exclusive rwlock netlock r = 0 (0xffffffff82487d08) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 arptimer+0x22 sys/netinet/if_ether.c:119 #2 timeout_run+0xc4 timeout_sync_leave sys/kern/kern_timeout.c:177 [inline] #2 timeout_run+0xc4 sys/kern/kern_timeout.c:474 #3 softclock_thread+0x16a sys/kern/kern_timeout.c:553 #4 proc_trampoline+0x1c shared rwlock timeout r = 0 (0xffffffff8247d568) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 timeout_run+0xb9 sys/kern/kern_timeout.c:473 #2 softclock_thread+0x16a sys/kern/kern_timeout.c:553 #3 proc_trampoline+0x1c exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82644840) #0 witness_lock+0x52e sys/kern/subr_witness.c:1163 #1 __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 #2 mi_switch+0x392 sys/kern/sched_bsd.c:441 #3 sleep_finish+0x113 sys/kern/kern_synch.c:373 #4 softclock_thread+0x103 sys/kern/kern_timeout.c:548 #5 proc_trampoline+0x1c ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9573 6426K 6873K 78643K 13935 0 0 pcb 13 8K 8K 78643K 364 0 0 rtable 102 8K 9K 78643K 1097 0 0 ifaddr 80 17K 19K 78643K 381 0 0 counters 39 33K 33K 78643K 39 0 0 ioctlops 0 0K 4K 78643K 1565 0 0 iov 0 0K 24K 78643K 313 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1215 76K 77K 78643K 2411 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 2 1K 5K 78643K 20 0 0 VM map 11 5K 6K 78643K 14 0 0 sem 12 0K 0K 78643K 747 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1808 196K 290K 78643K 12765 0 0 file desc 6 17K 25K 78643K 1472 0 0 sigio 0 0K 0K 78643K 36 0 0 proc 61 63K 95K 78643K 899 0 0 subproc 32 2K 2K 78643K 170 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 1K 78643K 808 0 0 in_multi 24 1K 2K 78643K 215 0 0 ether_multi 1 0K 0K 78643K 24 0 0 mrt 2 0K 0K 78643K 19 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 472 0 0 pagedep 1 8K 8K 78643K 1 0 0 inodedep 1 32K 32K 78643K 1 0 0 newblk 1 0K 0K 78643K 1 0 0 VM swap 7 26K 26K 78643K 7 0 0 UVM amap 128 103K 111K 78643K 7169 0 0 UVM aobj 115 4K 4K 78643K 121 0 0 memdesc 1 4K 4K 78643K 1 0 0 crypto data 1 1K 1K 78643K 1 0 0 ip6_options 0 0K 0K 78643K 315 0 0 NDP 19 0K 0K 78643K 116 0 0 temp 222 3560K 3629K 78643K 53655 0 0 kqueue 0 0K 0K 78643K 16 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb{0}> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 32 0 26 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 125 0 123 1 0 1 1 0 8 0 rtentry 112 179 0 141 2 0 2 2 0 8 0 unpcb 120 766 0 755 1 0 1 1 0 8 0 syncache 264 18 0 18 8 8 0 1 0 8 0 tcpqe 32 22 0 22 5 5 0 1 0 8 0 tcpcb 544 2917 0 2908 10 8 2 2 0 8 1 inpcb 280 4302 0 4290 7 5 2 3 0 8 1 rttmr 72 8 0 7 3 2 1 1 0 8 0 ip6q 72 3 0 3 1 1 0 1 0 8 0 ip6af 40 7 0 7 1 1 0 1 0 8 0 nd6 48 24 0 22 1 0 1 1 0 8 0 pkpcb 40 7 0 7 4 4 0 1 0 8 0 ppxss 1128 50 0 50 12 12 0 1 0 8 0 pffrag 232 49 0 49 12 11 1 1 0 482 1 pffrnode 88 49 0 49 12 11 1 1 0 8 1 pffrent 40 1312 0 1312 12 11 1 1 0 8 1 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 153 0 124 1 0 1 1 0 8 0 pfstkey 112 153 0 124 2 0 2 2 0 8 0 pfstate 328 153 0 124 4 1 3 4 0 8 0 pfrule 1360 21 0 16 2 1 1 2 0 8 0 art_heap8 4096 7 0 6 6 5 1 3 0 8 0 art_heap4 256 872 0 673 22 7 15 17 0 8 0 art_table 32 879 0 679 4 1 3 3 0 8 0 art_node 16 178 0 143 1 0 1 1 0 8 0 sysvmsgpl 40 22 0 8 1 0 1 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 745 0 735 1 0 1 1 0 8 0 shmpl 112 119 0 6 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 3609 0 2201 46 0 46 46 0 8 0 ffsino 272 3609 0 2201 95 0 95 95 0 8 0 nchpl 144 5947 0 4332 61 0 61 61 0 8 0 uvmvnodes 72 4516 0 0 83 0 83 83 0 8 0 vnodes 208 4516 0 0 238 0 238 238 0 8 0 namei 1024 19784 0 19784 1 0 1 1 0 8 1 percpumem 16 30 0 0 1 0 1 1 0 8 0 vcpupl 1984 9 0 0 2 0 2 2 0 8 0 vmpool 552 12 0 3 1 0 1 1 0 8 0 scsiplug 64 5 0 5 3 3 0 1 0 8 0 scxspl 192 19486 0 19486 24 23 1 5 0 8 1 plimitpl 152 130 0 122 1 0 1 1 0 8 0 sigapl 432 1649 0 1633 3 1 2 3 0 8 0 futexpl 56 40145 0 40142 1 0 1 1 0 8 0 knotepl 112 452 0 433 3 2 1 3 0 8 0 kqueuepl 104 395 0 393 1 0 1 1 0 8 0 pipepl 112 1620 0 1599 6 5 1 2 0 8 0 fdescpl 488 1650 0 1633 3 0 3 3 0 8 0 filepl 152 16493 0 16380 18 13 5 7 0 8 0 lockfpl 104 567 0 566 1 0 1 1 0 8 0 lockfspl 48 188 0 187 1 0 1 1 0 8 0 sessionpl 112 27 0 16 1 0 1 1 0 8 0 pgrppl 48 37 0 26 1 0 1 1 0 8 0 ucredpl 96 1362 0 1352 1 0 1 1 0 8 0 zombiepl 144 1634 0 1634 1 0 1 1 0 8 1 processpl 896 1667 0 1634 4 0 4 4 0 8 0 procpl 632 6005 0 5958 5 0 5 5 0 8 0 srpgc 64 10 0 10 5 5 0 1 0 8 0 sosppl 128 17 0 17 7 7 0 1 0 8 0 sockpl 384 5214 0 5189 15 11 4 5 0 8 1 mcl64k 65536 25 0 0 3 0 3 3 0 8 0 mcl16k 16384 13 0 0 2 0 2 2 0 8 0 mcl12k 12288 18 0 0 2 0 2 2 0 8 0 mcl9k 9216 3 0 0 1 0 1 1 0 8 0 mcl8k 8192 17 0 0 3 0 3 3 0 8 0 mcl4k 4096 17 0 0 3 0 3 3 0 8 0 mcl2k2 2112 4 0 0 1 0 1 1 0 8 0 mcl2k 2048 164 0 0 20 1 19 20 0 8 0 mtagpl 80 38 0 0 1 0 1 1 0 8 0 mbufpl 256 542 0 0 23 0 23 23 0 8 0 bufpl 256 10967 0 3919 441 0 441 441 0 8 0 anonpl 16 178583 0 160070 85 7 78 80 0 124 0 amapchunkpl 152 12829 0 12698 10 3 7 9 0 158 0 amappl16 192 7848 0 6785 64 10 54 55 0 8 0 amappl14 176 231 0 229 1 0 1 1 0 8 0 amappl13 168 241 0 241 2 2 0 1 0 8 0 amappl12 160 19 0 16 1 0 1 1 0 8 0 amappl11 152 463 0 442 1 0 1 1 0 8 0 amappl10 144 274 0 270 1 0 1 1 0 8 0 amappl9 136 727 0 720 1 0 1 1 0 8 0 amappl8 128 288 0 253 2 0 2 2 0 8 0 amappl7 120 333 0 327 1 0 1 1 0 8 0 amappl6 112 460 0 444 1 0 1 1 0 8 0 amappl5 104 207 0 193 1 0 1 1 0 8 0 amappl4 96 1838 0 1805 1 0 1 1 0 8 0 amappl3 88 422 0 416 1 0 1 1 0 8 0 amappl2 80 12030 0 11947 3 1 2 3 0 8 0 amappl1 72 48734 0 48267 26 16 10 20 0 8 0 amappl 80 6375 0 6326 2 0 2 2 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 17 0 17 1 1 0 1 0 8 0 aobjpl 64 120 0 6 2 0 2 2 0 8 0 uaddrrnd 24 1662 0 1633 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1662 0 1633 1 0 1 1 0 8 0 vmmpekpl 168 20845 0 20811 2 0 2 2 0 8 0 vmmpepl 168 217110 0 214745 287 150 137 144 0 357 33 vmsppl 368 1649 0 1633 2 0 2 2 0 8 0 pdppl 4096 3331 0 3281 7 0 7 7 0 8 0 pvpl 32 535836 0 514242 216 35 181 190 0 265 0 pmappl 232 1661 0 1636 3 1 2 2 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 645 0 24 18 0 18 18 0 8 0