uvm_fault(0xfffffd806e8e95c8, 0x0, 0, 1) -> e kernel: page fault trap, code=0 Stopped at ifa_update_broadaddr+0x1f: movzbl 0(%r15),%r12d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic kernel page fault uvm_fault(0xfffffd806e8e95c8, 0x0, 0, 1) -> e ifa_update_broadaddr(ffff800000af5000,ffff800000af7500,ffff800021ee1c60) at ifa_update_broadaddr+0x1f sys/net/if.c:3070 end trace frame: 0xffff800021ee1b10, count: 0 ddb{1}> trace ifa_update_broadaddr(ffff800000af5000,ffff800000af7500,ffff800021ee1c60) at ifa_update_broadaddr+0x1f sys/net/if.c:3070 in_ioctl(80206913,ffff800021ee1c50,ffff800000af5000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8067914660,80206913,ffff800021ee1c50,ffff800020e094f8) at ifioctl+0xe70 sys/net/if.c:2282 soo_ioctl(fffffd80667183a8,80206913,ffff800021ee1c50,ffff800020e094f8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e094f8,ffff800021ee1d68,ffff800021ee1db0) at sys_ioctl+0x4a5 syscall(ffff800021ee1e30) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021ee1e30) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4018ff339d0, count: -7 ddb{1}> show registers rdi 0xffffffff810e4bbb ifa_update_broadaddr+0x1b rsi 0xd8 rbp 0xffff800021ee1a70 rbx 0x10 rdx 0xd9 rcx 0xffff80002310f000 rax 0xffff80002310f000 r8 0xffffffff82330fe7 in_ioctl+0x387 r9 0x7 r10 0x3 r11 0x9cf5bade7f4cd51c r12 0xffff800021ee1c60 r13 0xaa0114ac r14 0xffff800021ee1c60 r15 0 rip 0xffffffff810e4bbf ifa_update_broadaddr+0x1f cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021ee1a30 ss 0x10 ifa_update_broadaddr+0x1f: movzbl 0(%r15),%r12d ddb{1}> show proc PROC (syz-executor.1) pid=396809 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=67, nice=20 forw=0xffffffffffffffff, list=0xffff800020e09288,0xffffffff82902280 process=0xffff800020eb67e0 user=0xffff800021edc000, vmspace=0xfffffd806e8e95c8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=1, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 15356 421516 2044 0 7 0 syz-executor.1 *15356 396809 2044 0 7 0x4000000 syz-executor.1 86922 221666 27377 0 3 0x82 nanosleep syz-executor.0 73433 446425 0 0 3 0x14200 bored sosplice 2044 3293 27377 0 3 0x82 nanosleep syz-executor.1 27377 348052 16098 0 3 0x82 kqread syz-fuzzer 27377 428450 16098 0 3 0x4000082 nanosleep syz-fuzzer 27377 271462 16098 0 3 0x4000082 thrsleep syz-fuzzer 27377 269493 16098 0 3 0x4000082 thrsleep syz-fuzzer 27377 239165 16098 0 3 0x4000082 thrsleep syz-fuzzer 27377 56091 16098 0 3 0x4000082 thrsleep syz-fuzzer 27377 330581 16098 0 3 0x4000082 thrsleep syz-fuzzer 27377 377856 16098 0 3 0x4000082 thrsleep syz-fuzzer 27377 212243 16098 0 3 0x4000082 thrsleep syz-fuzzer 27377 266625 16098 0 3 0x4000082 thrsleep syz-fuzzer 16098 483625 65623 0 3 0x10008a pause ksh 65623 512021 83430 0 3 0x92 select sshd 30151 244324 1 0 3 0x100083 ttyin getty 83430 400760 1 0 3 0x80 select sshd 51042 326017 16277 74 3 0x100092 bpf pflogd 16277 446598 1 0 3 0x80 netio pflogd 74546 258015 81890 73 3 0x100090 kqread syslogd 81890 335428 1 0 3 0x100082 netio syslogd 57216 280689 1 77 3 0x100090 poll dhclient 71608 130311 1 0 3 0x80 poll dhclient 11205 171192 0 0 3 0x14200 bored smr 41263 491234 0 0 3 0x14200 pgzero zerothread 72293 147167 0 0 3 0x14200 aiodoned aiodoned 20392 461729 0 0 3 0x14200 syncer update 93298 135354 0 0 3 0x14200 cleaner cleaner 26582 237536 0 0 3 0x14200 reaper reaper 6113 140403 0 0 3 0x14200 pgdaemon pagedaemon 29322 507018 0 0 3 0x14200 bored crynlk 64726 5576 0 0 3 0x14200 bored crypto 73677 236038 0 0 3 0x40014200 acpi0 acpi0 82464 432191 0 0 3 0x40014200 idle1 42770 161119 0 0 3 0x14200 bored softnet 48720 454256 0 0 3 0x14200 bored systqmp 55011 487471 0 0 3 0x14200 bored systq 1378 172608 0 0 3 0x40014200 bored softclock 92614 236191 0 0 3 0x40014200 idle0 1 516800 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 15356 (syz-executor.1) thread 0xffff800020e094f8 (396809) exclusive rwlock netlock r = 0 (0xffffffff826ebad8) #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:2282 #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 (0xffffffff8290c8b8) #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{1}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 9525 6419K 6854K 78643K 11157 0 pcb 13 8K 8K 78643K 73 0 rtable 133 7K 9K 78643K 416 0 ifaddr 83 16K 17K 78643K 142 0 counters 43 33K 34K 78643K 55 0 ioctlops 0 0K 4K 78643K 1518 0 iov 0 0K 16K 78643K 41 0 mount 1 1K 1K 78643K 1 0 vnodes 1223 77K 77K 78643K 1421 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 7 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 1K 78643K 67 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 5 13K 25K 78643K 378 0 sigio 0 0K 0K 78643K 7 0 proc 62 63K 83K 78643K 508 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 19 0 in_multi 51 3K 3K 78643K 100 0 ether_multi 1 0K 0K 78643K 8 0 mrt 0 0K 0K 78643K 3 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 43 201K 201K 78643K 43 0 exec 0 0K 1K 78643K 241 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 112 22K 31K 78643K 2210 0 UVM aobj 27 4K 4K 78643K 28 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 52 0 NDP 13 0K 0K 78643K 32 0 temp 105 3862K 3927K 78643K 6856 0 kqueue 3 4K 12K 78643K 28 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 11 0 3 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 80 25 0 23 1 0 1 1 0 8 0 rtentry 112 81 0 31 2 0 2 2 0 8 0 unpcb 120 215 0 204 1 0 1 1 0 8 0 syncache 264 7 0 7 2 2 0 1 0 8 0 tcpqe 32 39 0 39 1 1 0 1 0 8 0 tcpcb 544 667 0 659 3 1 2 2 0 8 1 inpcb 296 1479 0 1466 3 0 3 3 0 8 1 nd6 48 23 0 14 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 pfstscr 40 4 0 4 1 1 0 1 0 8 0 pffrag 232 1 0 1 1 1 0 1 0 482 0 pffrnode 88 1 0 1 1 1 0 1 0 8 0 pffrent 40 45 0 45 1 1 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 34 0 27 2 1 1 2 0 8 0 pfstitem 24 52 0 16 1 0 1 1 0 8 0 pfstkey 112 54 0 18 2 0 2 2 0 8 0 pfstate 328 52 0 16 4 0 4 4 0 8 0 pfrule 1360 31 0 21 2 1 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 379 0 128 20 1 19 19 0 8 2 art_table 32 380 0 128 3 0 3 3 0 8 0 art_node 16 80 0 37 1 0 1 1 0 8 0 sysvmsgpl 40 29 0 24 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 60 0 50 1 0 1 1 0 8 0 shmpl 112 25 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1885 0 483 89 1 88 89 0 8 0 ffsino 272 1885 0 483 94 0 94 94 0 8 0 nchpl 144 2581 0 981 60 0 60 60 0 8 0 uvmvnodes 72 2076 0 0 38 0 38 38 0 8 0 vnodes 208 2076 0 0 110 0 110 110 0 8 0 namei 1024 7150 0 7150 1 0 1 1 0 8 1 percpumem 16 38 0 6 1 0 1 1 0 8 0 vcpupl 1984 2 0 0 1 0 1 1 0 8 0 vmpool 560 4 0 2 1 0 1 1 0 8 0 pfiaddrpl 120 10 0 6 1 0 1 1 0 8 0 scsiplug 64 3 0 3 2 2 0 1 0 8 0 scxspl 192 7907 0 7907 8 7 1 7 0 8 1 plimitpl 152 33 0 25 1 0 1 1 0 8 0 sigapl 424 591 0 559 4 0 4 4 0 8 0 futexpl 56 6034 0 6034 1 0 1 1 0 8 1 knotepl 112 109 0 90 1 0 1 1 0 8 0 kqueuepl 144 60 0 58 1 0 1 1 0 8 0 pipepl 304 116 0 106 2 0 2 2 0 8 1 fdescpl 496 575 0 559 3 0 3 3 0 8 0 filepl 152 3997 0 3894 6 0 6 6 0 8 2 lockfpl 104 76 0 75 1 0 1 1 0 8 0 lockfspl 48 31 0 30 1 0 1 1 0 8 0 sessionpl 112 19 0 8 1 0 1 1 0 8 0 pgrppl 48 25 0 14 1 0 1 1 0 8 0 ucredpl 96 290 0 281 1 0 1 1 0 8 0 zombiepl 144 559 0 558 1 0 1 1 0 8 0 processpl 992 591 0 558 5 0 5 5 0 8 0 procpl 624 1388 0 1345 4 0 4 4 0 8 0 sosppl 128 13 0 13 2 1 1 1 0 8 1 sockpl 400 1721 0 1698 5 0 5 5 0 8 2 mcl64k 65536 14 0 0 2 0 2 2 0 8 0 mcl12k 12288 3 0 0 1 0 1 1 0 8 0 mcl9k 9216 2 0 0 1 0 1 1 0 8 0 mcl8k 8192 6 0 0 1 0 1 1 0 8 0 mcl4k 4096 5 0 0 1 0 1 1 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 191 0 0 23 0 23 23 0 8 0 mtagpl 96 48 0 0 2 0 2 2 0 8 0 mbufpl 256 294 0 0 17 0 17 17 0 8 0 bufpl 280 4309 0 139 298 0 298 298 0 8 0 anonpl 16 82252 0 65371 85 1 84 84 0 124 14 amapchunkpl 152 3774 0 3629 19 8 11 14 0 158 4 amappl16 192 3106 0 2192 62 8 54 58 0 8 8 amappl15 184 70 0 70 2 2 0 1 0 8 0 amappl14 176 34 0 29 1 0 1 1 0 8 0 amappl13 168 35 0 32 1 0 1 1 0 8 0 amappl12 160 6 0 5 2 1 1 1 0 8 0 amappl11 152 63 0 48 1 0 1 1 0 8 0 amappl10 144 19 0 14 1 0 1 1 0 8 0 amappl9 136 646 0 642 1 0 1 1 0 8 0 amappl8 128 526 0 501 1 0 1 1 0 8 0 amappl7 120 126 0 112 1 0 1 1 0 8 0 amappl6 112 28 0 23 2 1 1 1 0 8 0 amappl5 104 475 0 459 1 0 1 1 0 8 0 amappl4 96 517 0 486 1 0 1 1 0 8 0 amappl3 88 116 0 110 1 0 1 1 0 8 0 amappl2 80 3699 0 3626 2 0 2 2 0 8 0 amappl1 72 22676 0 22236 23 13 10 18 0 8 0 amappl 80 1662 0 1618 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 27 0 1 1 0 1 1 0 8 0 uaddrrnd 24 579 0 561 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 579 0 561 1 0 1 1 0 8 0 vmmpekpl 168 8508 0 8469 2 0 2 2 0 8 0 vmmpepl 168 78567 0 76495 141 28 113 125 0 357 17 vmsppl 368 578 0 561 2 0 2 2 0 8 0 pdppl 4096 1165 0 1124 6 0 6 6 0 8 0 pvpl 32 233969 0 213944 200 1 199 199 0 265 35 pmappl 232 578 0 561 2 0 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 276 0 6 8 0 8 8 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82765ff0) 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(ffffffff8290c6b0) at __mp_lock+0x127 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff8290c6b0) at __mp_lock+0x127 sys/kern/kern_lock.c:147 softintr_dispatch(0) at softintr_dispatch+0x4e sys/arch/amd64/amd64/softintr.c:89 Xsoftclock() at Xsoftclock+0x1f clock_gettime(ffff800020e09288,0,ffff800023f36c58) at clock_gettime+0x90 sys/kern/kern_time.c:116 sys_clock_gettime(ffff800020e09288,ffff800023f36cc0,ffff800023f36d10) at sys_clock_gettime+0x4c sys/kern/kern_time.c:165 syscall(ffff800023f36d90) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800023f36d90) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7ffffe8c20, count: -10 ddb{0}> machine ddbcpu 1 Stopped at ifa_update_broadaddr+0x1f: movzbl 0(%r15),%r12d ddb{1}> trace ifa_update_broadaddr(ffff800000af5000,ffff800000af7500,ffff800021ee1c60) at ifa_update_broadaddr+0x1f sys/net/if.c:3070 in_ioctl(80206913,ffff800021ee1c50,ffff800000af5000,1) at in_ioctl+0x5eb sys/netinet/in.c:320 ifioctl(fffffd8067914660,80206913,ffff800021ee1c50,ffff800020e094f8) at ifioctl+0xe70 sys/net/if.c:2282 soo_ioctl(fffffd80667183a8,80206913,ffff800021ee1c50,ffff800020e094f8) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020e094f8,ffff800021ee1d68,ffff800021ee1db0) at sys_ioctl+0x4a5 syscall(ffff800021ee1e30) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021ee1e30) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4018ff339d0, count: -7