uvm_fault(0xfffffd806e8f12e8, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at ifa_update_broadaddr+0x1f: movzbl 0(%r15),%r12d ddb{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic kernel page fault uvm_fault(0xfffffd806e8f12e8, 0x0, 0, 1) -> e ifa_update_broadaddr(ffff800000af4000,ffff800000b1de00,ffff8000252f8420) at ifa_update_broadaddr+0x1f sys/net/if.c:2969 end trace frame: 0xffff8000252f82d0, count: 0 ddb{0}> trace ifa_update_broadaddr(ffff800000af4000,ffff800000b1de00,ffff8000252f8420) at ifa_update_broadaddr+0x1f sys/net/if.c:2969 in_ioctl(80206913,ffff8000252f8410,ffff800000af4000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8064241350,80206913,ffff8000252f8410,ffff800020eb6b00) at ifioctl+0xe70 sys/net/if.c:2181 soo_ioctl(fffffd8078bf87b8,80206913,ffff8000252f8410,ffff800020eb6b00) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020eb6b00,ffff8000252f8528,ffff8000252f8570) at sys_ioctl+0x4a5 syscall(ffff8000252f85f0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000252f85f0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x889bd4b4620, count: -7 ddb{0}> show registers rdi 0xffffffff821eb12b ifa_update_broadaddr+0x1b rsi 0xd9 rbp 0xffff8000252f8230 rbx 0x10 rdx 0xda rcx 0xffff800022ef3000 rax 0xffff800022ef3000 r8 0xffffffff811e2017 in_ioctl+0x387 r9 0x7 r10 0x3 r11 0x1e273ed46f09a466 r12 0xffff8000252f8420 r13 0xaa0114ac r14 0xffff8000252f8420 r15 0 rip 0xffffffff821eb12f ifa_update_broadaddr+0x1f cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff8000252f81f0 ss 0x10 ifa_update_broadaddr+0x1f: movzbl 0(%r15),%r12d ddb{0}> show proc PROC (syz-executor.1) pid=353821 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=80, nice=20 forw=0xffffffffffffffff, list=0xffff800020eb6890,0xffffffff82928bc8 process=0xffff800021f62038 user=0xffff8000252f3000, vmspace=0xfffffd806e8f12e8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 42173 366858 97935 0 2 0 syz-executor.1 *42173 353821 97935 0 7 0x4000000 syz-executor.1 29872 189493 1 0 3 0x100083 ttyin getty 33767 4518 0 0 3 0x14200 acct acct 52330 90485 0 0 3 0x14200 bored sosplice 97935 203332 37984 0 3 0x82 nanosleep syz-executor.1 94482 202775 0 0 3 0x14280 nfsidl nfsio 49904 317587 0 0 3 0x14280 nfsidl nfsio 41804 273315 0 0 3 0x14280 nfsidl nfsio 37734 272476 0 0 3 0x14280 nfsidl nfsio 99306 412904 0 0 3 0x14280 nfsidl nfsio 76598 315970 0 0 3 0x14280 nfsidl nfsio 79071 439070 0 0 3 0x14280 nfsidl nfsio 87535 218673 0 0 3 0x14280 nfsidl nfsio 57673 234071 0 0 3 0x14280 nfsidl nfsio 81069 162574 0 0 3 0x14280 nfsidl nfsio 72164 350631 0 0 3 0x14280 nfsidl nfsio 60243 82028 0 0 3 0x14280 nfsidl nfsio 83153 223254 0 0 3 0x14280 nfsidl nfsio 63482 400628 0 0 3 0x14280 nfsidl nfsio 78938 399217 0 0 3 0x14280 nfsidl nfsio 36706 455115 0 0 3 0x14280 nfsidl nfsio 53066 128315 0 0 3 0x14280 nfsidl nfsio 11419 238486 0 0 3 0x14280 nfsidl nfsio 100 50575 0 0 3 0x14280 nfsidl nfsio 23081 87604 0 0 3 0x14280 nfsidl nfsio 93638 89380 37984 0 3 0x82 piperd syz-executor.0 37984 338723 40500 0 3 0x82 thrsleep syz-fuzzer 37984 208850 40500 0 7 0x4000482 syz-fuzzer 37984 62491 40500 0 3 0x4000082 thrsleep syz-fuzzer 37984 454308 40500 0 3 0x4000082 kqread syz-fuzzer 37984 93751 40500 0 2 0x4000002 syz-fuzzer 37984 6831 40500 0 3 0x4000082 thrsleep syz-fuzzer 37984 89319 40500 0 3 0x4000082 thrsleep syz-fuzzer 37984 519927 40500 0 3 0x4000082 thrsleep syz-fuzzer 37984 196527 40500 0 3 0x4000082 thrsleep syz-fuzzer 37984 118865 40500 0 3 0x4000082 thrsleep syz-fuzzer 40500 33225 88180 0 3 0x10008a pause ksh 88180 161740 81999 0 3 0x92 select sshd 81999 426735 1 0 3 0x80 select sshd 61934 454030 97116 74 3 0x100092 bpf pflogd 97116 312842 1 0 3 0x80 netio pflogd 82415 511397 6279 73 3 0x100090 kqread syslogd 6279 274397 1 0 3 0x100082 netio syslogd 42636 60291 1 77 3 0x100090 poll dhclient 89277 13042 1 0 3 0x80 poll dhclient 5648 123131 0 0 3 0x14200 bored smr 44488 213057 0 0 2 0x14200 zerothread 15083 54552 0 0 3 0x14200 aiodoned aiodoned 90437 198876 0 0 3 0x14200 syncer update 50894 319413 0 0 3 0x14200 cleaner cleaner 49910 104016 0 0 3 0x14200 reaper reaper 60270 461542 0 0 3 0x14200 pgdaemon pagedaemon 30403 348967 0 0 3 0x14200 bored crynlk 11598 424572 0 0 3 0x14200 bored crypto 26112 495851 0 0 3 0x40014200 acpi0 acpi0 99734 47161 0 0 3 0x40014200 idle1 15312 206165 0 0 3 0x14200 bored softnet 72061 463568 0 0 3 0x14200 bored systqmp 76960 169515 0 0 3 0x14200 bored systq 470 194600 0 0 2 0x40014200 softclock 19221 484479 0 0 3 0x40014200 idle0 1 517937 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 42173 (syz-executor.1) thread 0xffff800020eb6b00 (353821) exclusive rwlock netlock r = 0 (0xffffffff827a56b8) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 in_ioctl+0x1f5 #2 ifioctl+0xe70 sys/net/if.c:2181 #3 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #4 sys_ioctl+0x4a5 #5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #6 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 1 (0xffffffff8292f068) #0 witness_lock+0x4c7 stacktrace_save sys/sys/stacktrace.h:36 [inline] #0 witness_lock+0x4c7 sys/kern/subr_witness.c:1164 #1 soo_ioctl+0x26a sys/kern/sys_socket.c:138 #2 sys_ioctl+0x4a5 #3 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #3 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #4 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9544 6483K 6803K 78643K 11576 0 pcb 13 8K 8K 78643K 108 0 rtable 101 9K 10K 78643K 659 0 ifaddr 106 21K 22K 78643K 269 0 counters 43 33K 34K 78643K 89 0 ioctlops 0 0K 4K 78643K 2064 0 iov 0 0K 16K 78643K 111 0 mount 1 1K 1K 78643K 1 0 vnodes 1216 76K 77K 78643K 1544 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 17 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 231 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 1083 0 sigio 0 0K 0K 78643K 10 0 proc 61 63K 95K 78643K 585 0 subproc 32 2K 2K 78643K 51 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 78 0 in_multi 74 3K 4K 78643K 221 0 ether_multi 1 0K 0K 78643K 13 0 mrt 0 0K 0K 78643K 2 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 55 254K 254K 78643K 55 0 exec 0 0K 1K 78643K 292 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 135 72K 76K 78643K 4187 0 UVM aobj 33 6K 6K 78643K 51 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 76 0 NDP 15 0K 0K 78643K 59 0 temp 154 3888K 3952K 78643K 8466 0 kqueue 3 4K 10K 78643K 36 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 arp 64 11 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 67 0 65 1 0 1 1 0 8 0 rtentry 112 117 0 89 2 0 2 2 0 8 0 unpcb 120 594 0 584 1 0 1 1 0 8 0 syncache 264 6 0 6 2 2 0 1 0 8 0 tcpqe 32 707 0 707 1 1 0 1 0 8 0 tcpcb 544 201 0 196 3 2 1 2 0 8 0 ipq 40 1 0 1 1 1 0 1 0 8 0 ipqe 40 2 0 2 1 1 0 1 0 8 0 inpcb 296 787 0 777 5 3 2 2 0 8 1 nd6 48 36 0 34 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 4 0 4 4 4 0 1 0 8 0 pfstscr 40 1 0 1 1 1 0 1 0 8 0 pffrag 232 9 0 9 1 1 0 1 0 482 0 pffrnode 88 9 0 9 1 1 0 1 0 8 0 pffrent 40 234 0 234 2 2 0 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 pfrktable 1344 46 0 35 2 1 1 2 0 8 0 pftag 88 4 0 4 1 1 0 1 0 8 0 pfstitem 24 50 0 45 1 0 1 1 0 8 0 pfstkey 112 52 0 47 2 0 2 2 0 8 0 pfstate 328 51 0 46 4 1 3 4 0 8 0 pfrule 1360 168 0 24 14 1 13 13 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 511 0 400 15 4 11 13 0 8 0 art_table 32 512 0 400 2 0 2 2 0 8 0 art_node 16 114 0 92 1 0 1 1 0 8 0 sysvmsgpl 40 18 0 6 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 221 0 211 1 0 1 1 0 8 0 shmpl 112 48 0 18 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 3168 0 1763 89 0 89 89 0 8 0 ffsino 272 3168 0 1763 96 2 94 95 0 8 0 nchpl 144 5210 0 3612 60 0 60 60 0 8 0 uvmvnodes 72 3438 0 0 63 0 63 63 0 8 0 vnodes 208 3438 0 0 181 0 181 181 0 8 0 namei 1024 15106 0 15106 2 1 1 1 0 8 1 percpumem 16 55 0 23 1 0 1 1 0 8 0 vcpupl 1984 5 0 0 1 0 1 1 0 8 0 vmpool 560 11 0 6 1 0 1 1 0 8 0 pfiaddrpl 120 48 0 10 2 0 2 2 0 8 0 scxspl 192 17622 0 17622 16 15 1 7 0 8 1 plimitpl 152 77 0 69 1 0 1 1 0 8 0 sigapl 424 1318 0 1265 6 0 6 6 0 8 0 futexpl 56 16457 0 16457 2 1 1 1 0 8 1 knotepl 112 113 0 94 1 0 1 1 0 8 0 kqueuepl 144 102 0 97 1 0 1 1 0 8 0 pipepl 304 223 0 213 6 5 1 2 0 8 0 fdescpl 496 1281 0 1265 3 0 3 3 0 8 0 filepl 152 8073 0 7970 8 3 5 6 0 8 1 lockfpl 104 245 0 244 1 0 1 1 0 8 0 lockfspl 48 78 0 77 1 0 1 1 0 8 0 sessionpl 112 20 0 9 1 0 1 1 0 8 0 pgrppl 48 45 0 34 1 0 1 1 0 8 0 ucredpl 96 646 0 637 1 0 1 1 0 8 0 zombiepl 144 1265 0 1265 3 2 1 1 0 8 1 processpl 992 1318 0 1265 8 1 7 7 0 8 0 procpl 624 3330 0 3267 7 1 6 6 0 8 0 sosppl 128 5 0 5 2 2 0 1 0 8 0 sockpl 400 1451 0 1430 8 4 4 4 0 8 1 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl16k 16384 15 0 0 2 0 2 2 0 8 0 mcl12k 12288 19 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 5 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 2 0 0 1 0 1 1 0 8 0 mcl2k 2048 219 0 0 27 0 27 27 0 8 0 mtagpl 96 63 0 0 2 0 2 2 0 8 0 mbufpl 256 455 0 0 27 0 27 27 0 8 0 bufpl 280 6040 0 133 422 0 422 422 0 8 0 anonpl 16 138055 0 120906 106 21 85 86 0 124 15 amapchunkpl 152 7602 0 7446 25 17 8 20 0 158 0 amappl16 192 6069 0 5150 71 18 53 58 0 8 7 amappl15 184 36 0 34 1 0 1 1 0 8 0 amappl14 176 31 0 26 1 0 1 1 0 8 0 amappl13 168 36 0 33 1 0 1 1 0 8 0 amappl12 160 12 0 9 1 0 1 1 0 8 0 amappl11 152 284 0 268 1 0 1 1 0 8 0 amappl10 144 53 0 48 1 0 1 1 0 8 0 amappl9 136 1163 0 1160 1 0 1 1 0 8 0 amappl8 128 1168 0 1123 2 0 2 2 0 8 0 amappl7 120 124 0 111 1 0 1 1 0 8 0 amappl6 112 252 0 245 1 0 1 1 0 8 0 amappl5 104 1195 0 1178 1 0 1 1 0 8 0 amappl4 96 551 0 518 1 0 1 1 0 8 0 amappl3 88 167 0 161 1 0 1 1 0 8 0 amappl2 80 9298 0 9227 2 0 2 2 0 8 0 amappl1 72 45417 0 44973 23 13 10 18 0 8 0 amappl 80 3598 0 3547 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 18 0 17 1 0 1 1 0 8 0 aobjpl 64 50 0 18 1 0 1 1 0 8 0 uaddrrnd 24 1292 0 1271 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1292 0 1271 1 0 1 1 0 8 0 vmmpekpl 168 11705 0 11661 3 0 3 3 0 8 0 vmmpepl 168 168996 0 166879 158 55 103 128 0 357 8 vmsppl 368 1291 0 1271 2 0 2 2 0 8 0 pdppl 4096 2591 0 2547 7 1 6 6 0 8 0 pvpl 32 418799 0 398314 229 27 202 203 0 265 35 pmappl 232 1291 0 1271 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 310 0 18 9 0 9 9 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace ifa_update_broadaddr(ffff800000af4000,ffff800000b1de00,ffff8000252f8420) at ifa_update_broadaddr+0x1f sys/net/if.c:2969 in_ioctl(80206913,ffff8000252f8410,ffff800000af4000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8064241350,80206913,ffff8000252f8410,ffff800020eb6b00) at ifioctl+0xe70 sys/net/if.c:2181 soo_ioctl(fffffd8078bf87b8,80206913,ffff8000252f8410,ffff800020eb6b00) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020eb6b00,ffff8000252f8528,ffff8000252f8570) at sys_ioctl+0x4a5 syscall(ffff8000252f85f0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff8000252f85f0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x889bd4b4620, count: -7 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{1}> trace x86_ipi_db(ffff800020d70ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:352 x86_ipi_handler() at x86_ipi_handler+0xc6 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __mp_lock(ffffffff8292ee60) at __mp_lock+0x12e __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8292ee60) at __mp_lock+0x12e sys/kern/kern_lock.c:147 __mp_acquire_count(ffffffff8292ee60,1) at __mp_acquire_count+0x51 sys/kern/kern_lock.c:227 mi_switch() at mi_switch+0x392 sys/kern/sched_bsd.c:435 sleep_finish(ffff800020e7a9d0,1) at sleep_finish+0x113 sys/kern/kern_synch.c:418 sleep_finish_all(ffff800020e7a9d0,1) at sleep_finish_all+0x32 sleep_finish_timeout sys/kern/kern_synch.c:447 [inline] sleep_finish_all(ffff800020e7a9d0,1) at sleep_finish_all+0x32 sys/kern/kern_synch.c:393 tsleep(ffffffff8288dc04,120,ffffffff823f65d7,2) at tsleep+0x1cc sys/kern/kern_synch.c:155 sys_nanosleep(ffff800020e4e600,ffff800020e7ab00,ffff800020e7ab50) at sys_nanosleep+0x205 sys/kern/kern_time.c:297 syscall(ffff800020e7abd0) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800020e7abd0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xc00004ff38, count: -12