"*"*panic: kernel diagnostic assertion "ifp != NULL" failed: file "/syzkaller/managers/main/kernel/sys/netinet/if_ether.c", line 716 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *156033 72844 0 0x14000 0x40000200 0 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(ffffffff821e45b1,ffffffff821fdbcd,2cc,ffffffff8216e6db) at __assert+0x2b sys/kern/subr_prf.c:154 arptfree(fffffd802dc591c8) at arptfree+0xfb sys/netinet/if_ether.c:716 arptimer(ffffffff8251e700) at arptimer+0x95 sys/netinet/if_ether.c:120 softclock_thread(ffff8000ffffec58) at softclock_thread+0x145 timeout_run sys/kern/kern_timeout.c:475 [inline] softclock_thread(ffff8000ffffec58) at softclock_thread+0x145 sys/kern/kern_timeout.c:552 end trace frame: 0x0, count: 9 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> ddb> set $lines = 0 ddb> set $maxwidth = 0 ddb> show panic kernel diagnostic assertion "ifp != NULL" failed: file "/syzkaller/managers/main/kernel/sys/netinet/if_ether.c", line 716 ddb> 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(ffffffff821e45b1,ffffffff821fdbcd,2cc,ffffffff8216e6db) at __assert+0x2b sys/kern/subr_prf.c:154 arptfree(fffffd802dc591c8) at arptfree+0xfb sys/netinet/if_ether.c:716 arptimer(ffffffff8251e700) at arptimer+0x95 sys/netinet/if_ether.c:120 softclock_thread(ffff8000ffffec58) at softclock_thread+0x145 timeout_run sys/kern/kern_timeout.c:475 [inline] softclock_thread(ffff8000ffffec58) at softclock_thread+0x145 sys/kern/kern_timeout.c:552 end trace frame: 0x0, count: -6 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff8000148128f0 rbx 0xffff8000148129a0 rdx 0x2 rcx 0 rax 0 r8 0xffff8000148128b0 r9 0x1 r10 0 r11 0xe2ec71d3ca3be711 r12 0x3000000008 r13 0xffff800014812900 r14 0x100 r15 0x1 rip 0xffffffff81269658 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff8000148128e0 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (softclock) pid=156033 stat=onproc flags process=14000 proc=40000200 pri=0, usrpri=50, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffffeed0,0xffff8000ffffe9f0 process=0xffff8000ffffc360 user=0xffff80001480d000, vmspace=0xffffffff825659c0 estcpu=0, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 47916 249970 34338 0 2 0x480 syz-executor.1 47916 348958 34338 0 3 0x4000080 netio syz-executor.1 47916 52522 34338 0 3 0x4000080 fsleep syz-executor.1 34338 381826 41201 0 2 0x482 syz-executor.1 18581 119585 41201 0 3 0x82 piperd syz-executor.0 25336 515226 0 0 3 0x14200 acct acct 17864 371971 1 0 3 0x100083 ttyin getty 69756 298493 0 0 3 0x14200 bored sosplice 41201 215769 21376 0 3 0x82 thrsleep syz-fuzzer 41201 177438 21376 0 2 0x4000482 syz-fuzzer 41201 96766 21376 0 3 0x4000082 thrsleep syz-fuzzer 41201 326724 21376 0 3 0x4000082 thrsleep syz-fuzzer 41201 155309 21376 0 3 0x4000082 thrsleep syz-fuzzer 41201 468203 21376 0 3 0x4000082 kqread syz-fuzzer 41201 187571 21376 0 3 0x4000082 thrsleep syz-fuzzer 41201 210672 21376 0 3 0x4000082 thrsleep syz-fuzzer 21376 23439 26936 0 3 0x10008a pause ksh 26936 234150 8650 0 3 0x92 select sshd 8650 235592 1 0 3 0x80 select sshd 91447 71232 37678 73 3 0x100090 kqread syslogd 37678 148905 1 0 3 0x100082 netio syslogd 6329 123082 1 77 3 0x100090 poll dhclient 69782 265506 1 0 3 0x80 poll dhclient 74568 472225 0 0 3 0x14200 pgzero zerothread 13465 332373 0 0 3 0x14200 aiodoned aiodoned 53244 367191 0 0 3 0x14200 syncer update 26859 414456 0 0 3 0x14200 cleaner cleaner 87805 331866 0 0 3 0x14200 reaper reaper 24117 520921 0 0 3 0x14200 pgdaemon pagedaemon 82953 308829 0 0 3 0x14200 bored crynlk 52297 508223 0 0 3 0x14200 bored crypto 44898 480003 0 0 3 0x40014200 acpi0 acpi0 44232 377218 0 0 3 0x14200 bored softnet 36459 228770 0 0 3 0x14200 bored systqmp 98283 73494 0 0 3 0x14200 bored systq *72844 156033 0 0 7 0x40014200 softclock 79562 230309 0 0 3 0x40014200 idle0 69651 476206 0 0 2 0x14200 smr 1 472548 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim Kern Lim devbuf 9580 6445K 14671K 78643K 19140 0 0 pcb 13 10K 12K 78643K 615 0 0 rtable 139 13K 14K 78643K 2310 0 0 ifaddr 86 20K 22K 78643K 689 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 285 0 0 iov 0 0K 24K 78643K 819 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1225 77K 78K 78643K 4433 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 39 0 0 VM map 29 7K 7K 78643K 50 0 0 sem 12 1K 1K 78643K 401 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1793 195K 288K 78643K 12645 0 0 file desc 5 13K 25K 78643K 3940 0 0 sigio 0 0K 0K 78643K 61 0 0 proc 50 38K 55K 78643K 1332 0 0 subproc 32 2K 2K 78643K 308 0 0 NFS srvsock 1 0K 0K 78643K 1 0 0 NFS daemon 1 16K 16K 78643K 1 0 0 ip_moptions 0 0K 0K 78643K 237 0 0 in_multi 35 2K 2K 78643K 324 0 0 ether_multi 1 0K 0K 78643K 28 0 0 mrt 0 0K 0K 78643K 25 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 84 371K 371K 78643K 84 0 0 exec 0 0K 1K 78643K 792 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 140 249K 250K 78643K 10390 0 0 UVM aobj 130 6K 6K 78643K 140 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 648 0 0 NDP 20 0K 0K 78643K 214 0 0 temp 227 3544K 3620K 78643K 207212 0 0 kqueue 0 0K 0K 78643K 39 0 0 SYN cache 2 16K 16K 78643K 2 0 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle arp 64 87 0 75 1 0 1 1 0 8 0 rtpcb 80 690 0 688 1 0 1 1 0 8 0 rtentry 112 372 0 317 2 0 2 2 0 8 0 unpcb 120 2371 0 2359 1 0 1 1 0 8 0 syncache 264 17 0 17 7 7 0 1 0 8 0 tcpqe 32 46 0 46 6 6 0 1 0 8 0 tcpcb 544 1856 0 1851 28 27 1 15 0 8 0 ipq 40 41 0 41 15 14 1 1 0 8 1 ipqe 40 739 0 739 15 14 1 1 0 8 1 inpcb 280 20272 0 20263 25 21 4 9 0 8 3 rttmr 72 11 0 10 5 4 1 1 0 8 0 ip6q 72 4 0 4 2 2 0 1 0 8 0 ip6af 40 12 0 12 2 2 0 1 0 8 0 nd6 48 40 0 36 3 2 1 1 0 8 0 pkpcb 40 26 0 26 9 9 0 1 0 8 0 swfcl 56 2 0 0 1 0 1 1 0 8 0 ppxss 1128 74 0 74 11 11 0 1 0 8 0 art_heap8 4096 14 0 13 7 6 1 4 0 8 0 art_heap4 256 1474 0 1206 38 21 17 17 0 8 0 art_table 32 1488 0 1219 4 1 3 3 0 8 0 art_node 16 370 0 321 1 0 1 1 0 8 0 sysvmsgpl 40 40 0 29 1 0 1 1 0 8 0 semupl 112 3 0 3 2 2 0 1 0 8 0 semapl 112 398 0 388 1 0 1 1 0 8 0 shmpl 112 138 0 10 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 7425 0 6027 46 0 46 46 0 8 0 ffsino 240 7425 0 6027 83 0 83 83 0 8 0 nchpl 144 13021 0 11397 61 0 61 61 0 8 0 uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0 vnodes 208 5926 0 0 312 0 312 312 0 8 0 namei 1024 42076 0 42076 1 0 1 1 0 8 1 vcpupl 1984 27 0 0 4 0 4 4 0 8 0 vmpool 520 48 0 21 3 1 2 2 0 8 0 scsiplug 64 9 0 9 5 5 0 1 0 8 0 scxspl 192 44053 0 44053 21 20 1 7 0 8 1 plimitpl 152 300 0 293 1 0 1 1 0 8 0 sigapl 432 4065 0 4052 2 0 2 2 0 8 0 futexpl 56 128271 0 128270 1 0 1 1 0 8 0 knotepl 112 889 0 870 2 1 1 2 0 8 0 kqueuepl 104 1257 0 1255 7 6 1 4 0 8 0 pipepl 112 1942 0 1923 6 5 1 2 0 8 0 fdescpl 424 4066 0 4052 2 0 2 2 0 8 0 filepl 120 43389 0 43289 26 21 5 11 0 8 1 lockfpl 104 1235 0 1234 1 0 1 1 0 8 0 lockfspl 48 427 0 426 1 0 1 1 0 8 0 sessionpl 112 35 0 25 1 0 1 1 0 8 0 pgrppl 48 75 0 65 1 0 1 1 0 8 0 ucredpl 96 4002 0 3994 1 0 1 1 0 8 0 zombiepl 144 4054 0 4054 1 0 1 1 0 8 1 processpl 864 4084 0 4054 4 0 4 4 0 8 0 procpl 632 8764 0 8725 5 1 4 5 0 8 0 sosppl 128 59 0 59 13 12 1 1 0 8 1 sockpl 384 23406 0 23383 35 29 6 14 0 8 3 mcl64k 65536 1501 0 1501 143 131 12 64 0 8 12 mcl16k 16384 44 0 44 12 11 1 1 0 8 1 mcl12k 12288 121 0 121 5 4 1 1 0 8 1 mcl9k 9216 59 0 59 12 11 1 1 0 8 1 mcl8k 8192 185 0 185 5 4 1 1 0 8 1 mcl4k 4096 409 0 409 2 1 1 1 0 8 1 mcl2k2 2112 42 0 42 13 12 1 1 0 8 1 mcl2k 2048 72530 0 72491 16 10 6 12 0 8 0 mtagpl 80 338 0 337 10 9 1 5 0 8 0 mbufpl 256 161088 0 160980 153 140 13 41 0 8 5 bufpl 256 18743 0 13177 348 0 348 348 0 8 0 anonpl 16 469196 0 453712 163 81 82 92 0 62 4 amapchunkpl 152 20689 0 20564 68 60 8 19 0 158 3 amappl16 192 23741 0 22690 169 106 63 66 0 8 9 amappl15 184 22 0 22 6 6 0 1 0 8 0 amappl14 176 1491 0 1489 1 0 1 1 0 8 0 amappl13 168 171 0 171 3 3 0 1 0 8 0 amappl12 160 134 0 130 1 0 1 1 0 8 0 amappl11 152 310 0 299 1 0 1 1 0 8 0 amappl10 144 1050 0 1046 1 0 1 1 0 8 0 amappl9 136 1243 0 1237 1 0 1 1 0 8 0 amappl8 128 809 0 777 3 1 2 2 0 8 0 amappl7 120 1129 0 1122 1 0 1 1 0 8 0 amappl6 112 293 0 283 1 0 1 1 0 8 0 amappl5 104 395 0 385 1 0 1 1 0 8 0 amappl4 96 4234 0 4207 1 0 1 1 0 8 0 amappl3 88 1220 0 1213 1 0 1 1 0 8 0 amappl2 80 30796 0 30730 3 1 2 3 0 8 0 amappl1 72 82476 0 82059 27 18 9 20 0 8 0 amappl 80 9314 0 9262 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 139 0 10 3 0 3 3 0 8 0 uaddrrnd 24 4114 0 4052 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 4114 0 4052 1 0 1 1 0 8 0 vmmpekpl 168 24383 0 24345 2 0 2 2 0 8 0 vmmpepl 168 490309 0 488150 270 136 134 134 0 357 32 vmsppl 272 4065 0 4052 2 1 1 2 0 8 0 pdppl 4096 8234 0 8173 9 1 8 8 0 8 0 pvpl 32 1153040 0 1134507 323 131 192 215 0 265 13 pmappl 200 4113 0 4073 3 0 3 3 0 8 0 extentpl 40 41 0 26 1 0 1 1 0 8 0 phpool 112 852 0 355 16 0 16 16 0 8 0