bX,gh
WX�aE-G뿳pxkrY8럣panic: kernel diagnostic assertion "la != NULL" failed: file "/syzkaller/managers/main/kernel/sys/netinet/if_ether.c", line 342
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*421961 28991 0 0 0x4000000 0 syz-executor.0
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic() at panic+0x15c sys/kern/subr_prf.c:212
__assert(ffffffff81f7d667,ffffffff81f9487f,156,ffffffff81f59cb3) at __assert+0x2e sys/kern/subr_prf.c:159
arpresolve(ffff8000001722a8,fffffd8030101938,fffffd803702c200,fffffd803ebb3a58,ffff80001493c9b8) at arpresolve+0x839 sys/netinet/if_ether.c:342
ether_resolve(ffff8000001722a8,fffffd803702c200,fffffd803ebb3a58,fffffd8030101938,ffff80001493c9b8) at ether_resolve+0x20d sys/net/if_ethersubr.c:211
ether_output(ffff8000001722a8,fffffd803702c200,fffffd803ebb3a58,fffffd8030101938) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:307 [inline]
ether_output(ffff8000001722a8,fffffd803702c200,fffffd803ebb3a58,fffffd8030101938) at ether_output+0x47 sys/net/if_ethersubr.c:336
ip_output(fffffd803702c200,0,fffffd803ebb3a48,800,0,fffffd803ebb39d8) at ip_output+0x10be sys/netinet/ip_output.c:470
tcp_output(ffff800000990660) at tcp_output+0x2544 sys/netinet/tcp_output.c:1040
tcp_usrreq(fffffd803ebb4a80,4,0,fffffd803f02f000,0,ffff800015a152d8) at tcp_usrreq+0x23b
sys_connect(ffff800015a152d8,ffff80001493ce28,ffff80001493ce90) at sys_connect+0x3dc sys/kern/uipc_syscalls.c:388
syscall(ffff80001493cf00) at syscall+0x511
Xsyscall(6,0,fffffffffffffee1,0,3,fad76e21010) at Xsyscall+0x128
end of kernel
end trace frame: 0xfafee6ed270, count: 3
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 "la != NULL" failed: file "/syzkaller/managers/main/kernel/sys/netinet/if_ether.c", line 342
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:212
__assert(ffffffff81f7d667,ffffffff81f9487f,156,ffffffff81f59cb3) at __assert+0x2e sys/kern/subr_prf.c:159
arpresolve(ffff8000001722a8,fffffd8030101938,fffffd803702c200,fffffd803ebb3a58,ffff80001493c9b8) at arpresolve+0x839 sys/netinet/if_ether.c:342
ether_resolve(ffff8000001722a8,fffffd803702c200,fffffd803ebb3a58,fffffd8030101938,ffff80001493c9b8) at ether_resolve+0x20d sys/net/if_ethersubr.c:211
ether_output(ffff8000001722a8,fffffd803702c200,fffffd803ebb3a58,fffffd8030101938) at ether_output+0x47 ether_encap sys/net/if_ethersubr.c:307 [inline]
ether_output(ffff8000001722a8,fffffd803702c200,fffffd803ebb3a58,fffffd8030101938) at ether_output+0x47 sys/net/if_ethersubr.c:336
ip_output(fffffd803702c200,0,fffffd803ebb3a48,800,0,fffffd803ebb39d8) at ip_output+0x10be sys/netinet/ip_output.c:470
tcp_output(ffff800000990660) at tcp_output+0x2544 sys/netinet/tcp_output.c:1040
tcp_usrreq(fffffd803ebb4a80,4,0,fffffd803f02f000,0,ffff800015a152d8) at tcp_usrreq+0x23b
sys_connect(ffff800015a152d8,ffff80001493ce28,ffff80001493ce90) at sys_connect+0x3dc sys/kern/uipc_syscalls.c:388
syscall(ffff80001493cf00) at syscall+0x511
Xsyscall(6,0,fffffffffffffee1,0,3,fad76e21010) at Xsyscall+0x128
end of kernel
end trace frame: 0xfafee6ed270, count: -12
ddb> show registers
rdi 0xffffffff81386407 db_enter+0x17
rsi 0x3cdc __ALIGN_SIZE+0x2cdc
rbp 0xffff80001493c780
rbx 0xffff80001493c830
rdx 0x3cdd __ALIGN_SIZE+0x2cdd
rcx 0xffff800016bf5000
rax 0xffff800016bf5000
r8 0xffff80001493c740
r9 0x1
r10 0xffff800000994b00
r11 0x4c7257848869cb01
r12 0x3000000008
r13 0xffff80001493c790
r14 0x100
r15 0x1
rip 0xffffffff81386408 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff80001493c770
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb> show proc
PROC (syz-executor.0) pid=421961 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=76, usrpri=76, nice=20
forw=0xffffffffffffffff, list=0xffff800015a14720,0xffffffff822a6460
process=0xffff8000ffff7708 user=0xffff800014937000, vmspace=0xfffffd803f013840
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
28991 401248 57601 0 2 0 syz-executor.0
*28991 421961 57601 0 7 0x4000000 syz-executor.0
30527 287439 1 0 3 0x100083 ttyin getty
76301 261277 0 0 3 0x14200 bored sosplice
68530 165357 5501 0 2 0x2 syz-executor.1
57601 107511 5501 0 2 0x482 syz-executor.0
5501 38207 36459 0 3 0x82 thrsleep syz-fuzzer
5501 438276 36459 0 3 0x4000082 nanosleep syz-fuzzer
5501 231237 36459 0 3 0x4000082 thrsleep syz-fuzzer
5501 481922 36459 0 3 0x4000082 thrsleep syz-fuzzer
5501 373250 36459 0 3 0x4000082 thrsleep syz-fuzzer
5501 472164 36459 0 3 0x4000082 kqread syz-fuzzer
5501 316156 36459 0 3 0x4000082 thrsleep syz-fuzzer
5501 46160 36459 0 3 0x4000082 thrsleep syz-fuzzer
36459 259510 70511 0 3 0x10008a pause ksh
70511 86492 5399 0 3 0x92 select sshd
5399 458604 1 0 3 0x80 select sshd
65989 93055 95005 73 3 0x100090 kqread syslogd
95005 443145 1 0 3 0x100082 netio syslogd
14629 490564 1 77 3 0x100090 poll dhclient
81051 421652 1 0 3 0x80 poll dhclient
75176 480244 0 0 2 0x14200 zerothread
71285 97928 0 0 3 0x14200 aiodoned aiodoned
98605 439580 0 0 3 0x14200 syncer update
31082 302421 0 0 3 0x14200 cleaner cleaner
51588 436657 0 0 3 0x14200 reaper reaper
18305 190706 0 0 3 0x14200 pgdaemon pagedaemon
48529 430971 0 0 3 0x14200 bored crynlk
32290 368381 0 0 3 0x14200 bored crypto
83135 515132 0 0 3 0x40014200 acpi0 acpi0
93181 372724 0 0 3 0x14200 bored softnet
96348 336310 0 0 3 0x14200 bored systqmp
27891 71547 0 0 3 0x14200 bored systq
57432 116888 0 0 3 0x40014200 bored softclock
95840 35377 0 0 3 0x40014200 idle0
16216 238998 0 0 3 0x14200 bored smr
1 118005 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 9510 6365K 7001K 78643K 17235 0 0
pcb 23 9K 10K 78643K 15028 0 0
rtable 990 65K 66K 78643K 30789 0 0
ifaddr 59 14K 15K 78643K 299 0 0
counters 19 16K 16K 78643K 19 0 0
ioctlops 0 0K 2K 78643K 135 0 0
iov 0 0K 32K 78643K 389 0 0
mount 1 1K 1K 78643K 1 0 0
vnodes 1204 76K 76K 78643K 3835 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 29 0 0
VM map 2 0K 0K 78643K 2 0 0
sem 12 0K 0K 78643K 244 0 0
dirhash 12 2K 2K 78643K 12 0 0
ACPI 1793 195K 288K 78643K 12537 0 0
file desc 5 13K 25K 78643K 10799 0 0
sigio 0 0K 0K 78643K 68 0 0
proc 42 30K 54K 78643K 622 0 0
subproc 32 2K 2K 78643K 34 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 301 0 0
in_multi 33 2K 2K 78643K 120 0 0
ether_multi 1 0K 0K 78643K 13 0 0
mrt 0 0K 0K 78643K 8 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 387 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 86 20K 29K 78643K 23594 0 0
UVM aobj 113 3K 3K 78643K 123 0 0
memdesc 1 4K 4K 78643K 1 0 0
crypto data 1 1K 1K 78643K 1 0 0
ip6_options 0 0K 1K 78643K 93 0 0
NDP 12 0K 0K 78643K 79 0 0
temp 985 2724K 2796K 78643K 28453 0 0
kqueue 0 0K 0K 78643K 25 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 6 0 0 1 0 1 1 0 8 0
inpcbpl 280 2652 0 2644 1 0 1 1 0 8 0
plimitpl 152 93 0 86 1 0 1 1 0 8 0
rtentry 112 821 0 756 2 0 2 2 0 8 0
syncache 264 4 0 4 1 1 0 1 0 8 0
sackhl 24 1 0 1 1 1 0 1 0 8 0
tcpcb 544 1555 0 1550 1 0 1 1 0 8 0
nd6 48 6 0 0 1 0 1 1 0 8 0
ppxss 1128 49 0 49 9 9 0 1 0 8 0
art_heap8 4096 19 0 0 19 0 19 19 0 8 0
art_heap4 256 189 0 0 12 0 12 12 0 8 0
art_table 32 208 0 0 2 0 2 2 0 8 0
art_node 16 65 0 6 1 0 1 1 0 8 0
sysvmsgpl 40 11 0 0 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 242 0 232 1 0 1 1 0 8 0
shmpl 112 121 0 10 5 1 4 4 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino1pl 128 14106 0 12665 47 0 47 47 0 8 0
ffsino 240 14106 0 12665 86 0 86 86 0 8 0
nchpl 144 26644 0 25019 61 0 61 61 0 8 0
uvmvnodes 72 5926 0 0 108 0 108 108 0 8 0
vnodes 200 5926 0 0 312 0 312 312 0 8 0
namei 1024 65350 0 65350 2 1 1 1 0 8 1
scsiplug 64 9 0 9 5 4 1 1 0 8 1
scxspl 192 81290 0 81290 13 10 3 6 0 8 3
sigapl 432 10973 0 10960 2 0 2 2 0 8 0
futexpl 56 88621 0 88621 1 0 1 1 0 8 1
knotepl 112 519 0 500 1 0 1 1 0 8 0
kqueuepl 104 654 0 652 1 0 1 1 0 8 0
pipepl 112 2302 0 2283 5 4 1 2 0 8 0
fdescpl 424 10974 0 10960 2 0 2 2 0 8 0
filepl 120 42669 0 42574 9 5 4 4 0 8 1
lockfpl 104 1043 0 1043 7 6 1 1 0 8 1
lockfspl 48 376 0 376 7 6 1 1 0 8 1
sessionpl 112 20 0 10 1 0 1 1 0 8 0
pgrppl 48 72 0 62 1 0 1 1 0 8 0
ucredpl 96 4080 0 4073 1 0 1 1 0 8 0
zombiepl 144 10960 0 10960 2 1 1 1 0 8 1
processpl 840 10989 0 10960 4 0 4 4 0 8 0
procpl 600 22798 0 22761 4 0 4 4 0 8 0
sosppl 128 46 0 46 11 11 0 1 0 8 0
sockpl 384 17495 0 17477 3 0 3 3 0 8 1
mcl64k 65536 335 0 335 41 40 1 29 0 8 1
mcl16k 16384 10 0 10 7 7 0 1 0 8 0
mcl12k 12288 70 0 70 12 11 1 1 0 8 1
mcl9k 9216 40 0 40 14 13 1 1 0 8 1
mcl8k 8192 80 0 80 15 15 0 1 0 8 0
mcl4k 4096 185 0 185 8 7 1 1 0 8 1
mcl2k2 2112 33 0 33 8 8 0 1 0 8 0
mcl2k 2048 71609 0 71570 14 8 6 9 0 8 0
mtagpl 80 12 0 12 3 3 0 1 0 8 0
mbufpl 256 194199 0 194012 34 20 14 19 0 8 0
bufpl 256 20588 0 16043 285 0 285 285 0 8 0
anonpl 16 687430 0 677301 106 61 45 58 0 62 0
amapchunkpl 152 35820 0 35719 17 12 5 9 0 158 0
amappl16 192 42143 0 41592 88 59 29 40 0 8 0
amappl15 184 10771 0 10769 1 0 1 1 0 8 0
amappl14 176 5390 0 5387 2 1 1 1 0 8 0
amappl12 160 12 0 11 1 0 1 1 0 8 0
amappl11 152 51 0 37 1 0 1 1 0 8 0
amappl10 144 63 0 62 2 1 1 1 0 8 0
amappl9 136 547 0 543 1 0 1 1 0 8 0
amappl8 128 131 0 117 1 0 1 1 0 8 0
amappl7 120 33 0 28 1 0 1 1 0 8 0
amappl6 112 53 0 45 1 0 1 1 0 8 0
amappl5 104 165 0 155 1 0 1 1 0 8 0
amappl4 96 5789 0 5768 1 0 1 1 0 8 0
amappl3 88 10997 0 10983 1 0 1 1 0 8 0
amappl2 80 92440 0 92373 4 2 2 3 0 8 0
amappl1 72 207259 0 206850 24 15 9 19 0 8 0
amappl 80 23052 0 23018 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
dma64 64 259 0 259 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 122 0 10 2 0 2 2 0 8 0
uaddrrnd 24 10974 0 10960 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 10974 0 10960 1 0 1 1 0 8 0
vmmpekpl 168 45494 0 45469 2 0 2 2 0 8 0
vmmpepl 168 1066320 0 1064808 122 49 73 81 0 357 0
vmsppl 264 10973 0 10960 2 1 1 2 0 8 0
pdppl 4096 21954 0 21920 6 1 5 6 0 8 0
pvpl 32 1942052 0 1928877 243 112 131 147 0 265 19
pmappl 200 10973 0 10960 1 0 1 1 0 8 0
extentpl 40 41 0 26 1 0 1 1 0 8 0
phpool 112 535 0 101 13 0 13 13 0 8 0