kernel: protection fault trap, code=0 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> ddb{1}> set $lines = 0 ddb{1}> set $maxwidth = 0 ddb{1}> show panic the kernel did not panic ddb{1}> trace in_delmulti(fffdfffbffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b11400) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ioctl_change_ifaddr(80206919,ffff800021f88030,ffff800000ac6000,1) at in_ioctl_change_ifaddr+0x1c2 in_ioctl(80206919,ffff800021f88030,ffff800000ac6000,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd8067a4e348,80206919,ffff800021f88030,ffff800020ec9668) at ifioctl+0xe70 sys/net/if.c:2174 soo_ioctl(fffffd8066effab0,80206919,ffff800021f88030,ffff800020ec9668) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020ec9668,ffff800021f88148,ffff800021f88190) at sys_ioctl+0x4a5 syscall(ffff800021f88210) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f88210) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f39177550, count: -9 ddb{1}> show registers rdi 0xffff800020ed1000 rsi 0x2bd2 __ALIGN_SIZE+0x1bd2 rbp 0xffff800021f87d80 rbx 0 rdx 0xffff800020ed1000 rcx 0x2bd1 __ALIGN_SIZE+0x1bd1 rax 0xffffffff823bf7bd in_delmulti+0x8d r8 0xffff800000b11400 r9 0xffffffff81e56833 rt_ifa_purge+0x153 r10 0x5 r11 0x631925c838218c35 r12 0 r13 0x3 r14 0xfffdfffbffffffff r15 0x1 rip 0xffffffff823bf7bd in_delmulti+0x8d cs 0x8 rflags 0x10246 __ALIGN_SIZE+0xf246 rsp 0xffff800021f87d20 ss 0x10 in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> show proc PROC (syz-executor.0) pid=333151 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=73, nice=20 forw=0xffffffffffffffff, list=0xffff800020ec8030,0xffff800020ec9400 process=0xffff800020ec6fc8 user=0xffff800021f83000, vmspace=0xfffffd806e90acf8 estcpu=36, cpticks=1, pctcpu=0.0 user=0, sys=0, intr=0 ddb{1}> ps PID TID PPID UID S FLAGS WAIT COMMAND 11562 296423 84349 0 2 0 syz-executor.0 *11562 333151 84349 0 7 0x4000000 syz-executor.0 11562 280630 84349 0 7 0x4000000 syz-executor.0 41990 330285 24569 60928 3 0x90 nanosleep syz-executor.1 41990 90662 24569 60928 3 0x4000090 nanosleep syz-executor.1 93864 55312 0 0 3 0x14280 nfsidl nfsio 2527 483406 0 0 3 0x14280 nfsidl nfsio 61681 152108 0 0 3 0x14280 nfsidl nfsio 33156 239600 0 0 3 0x14280 nfsidl nfsio 5332 191044 0 0 3 0x14280 nfsidl nfsio 10168 318603 0 0 3 0x14280 nfsidl nfsio 35670 78266 0 0 3 0x14280 nfsidl nfsio 20192 441588 0 0 3 0x14280 nfsidl nfsio 17842 215656 0 0 3 0x14280 nfsidl nfsio 77498 452172 0 0 3 0x14280 nfsidl nfsio 33200 496094 0 0 3 0x14280 nfsidl nfsio 79780 258785 0 0 3 0x14280 nfsidl nfsio 54516 235872 0 0 3 0x14280 nfsidl nfsio 73906 499994 0 0 3 0x14280 nfsidl nfsio 4164 485761 0 0 3 0x14280 nfsidl nfsio 45059 296484 0 0 3 0x14280 nfsidl nfsio 94448 423596 0 0 3 0x14280 nfsidl nfsio 50664 352804 0 0 3 0x14280 nfsidl nfsio 65371 173596 0 0 3 0x14280 nfsidl nfsio 66622 177898 0 0 3 0x14280 nfsidl nfsio 9088 212626 0 0 3 0x14200 bored sosplice 24569 45413 42858 0 3 0x82 nanosleep syz-executor.1 84349 469909 42858 0 3 0x82 nanosleep syz-executor.0 42858 480733 48200 0 3 0x82 thrsleep syz-fuzzer 42858 116575 48200 0 3 0x4000082 thrsleep syz-fuzzer 42858 246256 48200 0 3 0x4000082 thrsleep syz-fuzzer 42858 93759 48200 0 3 0x4000082 thrsleep syz-fuzzer 42858 9026 48200 0 3 0x4000082 thrsleep syz-fuzzer 42858 424078 48200 0 3 0x4000082 thrsleep syz-fuzzer 42858 251542 48200 0 3 0x4000082 thrsleep syz-fuzzer 42858 438086 48200 0 3 0x4000082 kqread syz-fuzzer 48200 249284 76984 0 3 0x10008a pause ksh 76984 86842 8927 0 3 0x92 select sshd 51655 471503 1 0 3 0x100083 ttyin getty 8927 202138 1 0 3 0x80 select sshd 1625 512167 26899 74 3 0x100092 bpf pflogd 26899 495173 1 0 3 0x80 netio pflogd 91175 452569 88001 73 3 0x100090 kqread syslogd 88001 366888 1 0 3 0x100082 netio syslogd 97448 273979 1 77 3 0x100090 poll dhclient 48454 116774 1 0 3 0x80 poll dhclient 27821 509253 0 0 3 0x14200 bored smr 41673 419128 0 0 3 0x14200 pgzero zerothread 6594 517874 0 0 3 0x14200 aiodoned aiodoned 70860 433814 0 0 3 0x14200 syncer update 41233 171330 0 0 3 0x14200 cleaner cleaner 7435 105466 0 0 3 0x14200 reaper reaper 45244 478501 0 0 3 0x14200 pgdaemon pagedaemon 6123 15579 0 0 3 0x14200 bored crynlk 16973 191532 0 0 3 0x14200 bored crypto 89764 334875 0 0 3 0x40014200 acpi0 acpi0 98524 49850 0 0 3 0x40014200 idle1 97463 230112 0 0 3 0x14200 bored softnet 39952 8906 0 0 3 0x14200 bored systqmp 40502 361206 0 0 3 0x14200 bored systq 86327 497574 0 0 3 0x40014200 bored softclock 97556 375446 0 0 3 0x40014200 idle0 1 419935 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{1}> show all locks Process 11562 (syz-executor.0) thread 0xffff800020ec9668 (333151) exclusive rwlock netlock r = 0 (0xffffffff827713e0) #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_change_ifaddr+0x91 #2 in_ioctl+0x2fb sys/netinet/in.c:246 #3 ifioctl+0xe70 sys/net/if.c:2174 #4 soo_ioctl+0x27c sys/kern/sys_socket.c:138 #5 sys_ioctl+0x4a5 #6 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] #6 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 #7 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82933348) #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 9507 6419K 6995K 78643K 11327 0 pcb 13 8K 8K 78643K 60 0 rtable 89 5K 8K 78643K 395 0 ifaddr 75 15K 15K 78643K 154 0 counters 43 33K 34K 78643K 63 0 ioctlops 0 0K 4K 78643K 1533 0 iov 0 0K 24K 78643K 42 0 mount 1 1K 1K 78643K 1 0 vnodes 1233 78K 78K 78643K 1438 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 5 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 59 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1824 197K 290K 78643K 13058 0 file desc 6 17K 25K 78643K 406 0 sigio 0 0K 0K 78643K 2 0 proc 61 63K 95K 78643K 469 0 subproc 32 2K 2K 78643K 34 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 57 3K 3K 78643K 137 0 ether_multi 1 0K 0K 78643K 4 0 mrt 0 0K 0K 78643K 1 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 37 175K 175K 78643K 37 0 exec 0 0K 1K 78643K 235 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 188 62K 62K 78643K 2315 0 UVM aobj 20 2K 2K 78643K 21 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 20 0 NDP 11 0K 0K 78643K 33 0 temp 105 3871K 3951K 78643K 11244 0 kqueue 3 4K 12K 78643K 21 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 6 0 2 1 0 1 1 0 8 0 plcache 128 20 0 0 1 0 1 1 0 8 0 rtpcb 88 67 0 65 1 0 1 1 0 8 0 rtentry 112 66 0 37 2 0 2 2 0 8 0 unpcb 120 754 0 743 1 0 1 1 0 8 0 syncache 272 8 0 8 3 3 0 1 0 8 0 tcpqe 32 568 0 568 2 2 0 1 0 8 0 tcpcb 592 80 0 73 2 1 1 2 0 8 0 inpcb 296 348 0 338 4 2 2 2 0 8 1 nd6 48 23 0 18 1 0 1 1 0 8 0 pkpcb 40 2 0 2 1 1 0 1 0 8 0 ppxss 1136 1 0 1 1 1 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 8 0 4 1 0 1 1 0 482 0 pffrnode 88 8 0 4 1 0 1 1 0 8 0 pffrent 40 188 0 184 1 0 1 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 29 0 25 1 0 1 1 0 8 0 pfstitem 24 33 0 17 1 0 1 1 0 8 0 pfstkey 112 33 0 17 1 0 1 1 0 8 0 pfstate 328 32 0 16 3 1 2 3 0 8 0 pfrule 1360 34 0 23 3 2 1 2 0 8 0 art_heap8 4096 1 0 0 1 0 1 1 0 8 0 art_heap4 256 268 0 110 13 1 12 13 0 8 0 art_table 32 269 0 110 2 0 2 2 0 8 0 art_node 16 65 0 41 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 3 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 57 0 47 1 0 1 1 0 8 0 shmpl 112 18 0 1 1 0 1 1 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 1898 0 496 88 0 88 88 0 8 0 ffsino 272 1898 0 496 95 1 94 94 0 8 0 nchpl 144 2641 0 1043 60 0 60 60 0 8 0 uvmvnodes 72 2113 0 0 39 0 39 39 0 8 0 vnodes 208 2113 0 0 112 0 112 112 0 8 0 namei 1024 7213 0 7213 3 2 1 1 0 8 1 percpumem 16 42 0 10 1 0 1 1 0 8 0 vcpupl 1984 6 0 0 1 0 1 1 0 8 0 vmpool 560 8 0 2 2 1 1 1 0 8 0 pfiaddrpl 120 12 0 8 1 0 1 1 0 8 0 scxspl 200 7700 0 7700 9 8 1 7 0 8 1 plimitpl 152 34 0 26 1 0 1 1 0 8 0 sigapl 424 642 0 589 6 0 6 6 0 8 0 futexpl 56 5098 0 5098 1 0 1 1 0 8 1 knotepl 112 80 0 60 1 0 1 1 0 8 0 kqueuepl 152 33 0 31 1 0 1 1 0 8 0 pipepl 304 133 0 122 5 3 2 3 0 8 1 fdescpl 496 606 0 589 3 0 3 3 0 8 0 filepl 152 3620 0 3516 8 3 5 7 0 8 0 lockfpl 104 113 0 112 1 0 1 1 0 8 0 lockfspl 48 33 0 32 1 0 1 1 0 8 0 sessionpl 120 18 0 7 1 0 1 1 0 8 0 pgrppl 48 20 0 9 1 0 1 1 0 8 0 ucredpl 96 306 0 296 1 0 1 1 0 8 0 zombiepl 144 589 0 589 3 2 1 1 0 8 1 processpl 1008 642 0 589 8 1 7 7 0 8 0 procpl 632 1490 0 1427 7 1 6 6 0 8 0 sosppl 144 2 0 2 1 1 0 1 0 8 0 sockpl 400 1174 0 1150 6 2 4 5 0 8 0 mcl64k 65536 258 0 0 33 3 30 33 0 8 1 mcl16k 16384 1 0 0 1 0 1 1 0 8 0 mcl12k 12288 4 0 0 1 0 1 1 0 8 0 mcl9k 9216 1 0 0 1 0 1 1 0 8 0 mcl8k 8192 3 0 0 1 0 1 1 0 8 0 mcl4k 4096 9 0 0 2 0 2 2 0 8 0 mcl2k2 2112 1 0 0 1 0 1 1 0 8 0 mcl2k 2048 242 0 0 30 0 30 30 0 8 0 mtagpl 96 36 0 0 1 0 1 1 0 8 0 mbufpl 256 478 0 0 28 0 28 28 0 8 0 bufpl 280 3977 0 124 276 0 276 276 0 8 0 anonpl 16 83331 0 64830 108 17 91 91 0 124 16 amapchunkpl 152 3510 0 3218 17 2 15 17 0 158 1 amappl16 192 3075 0 2206 64 8 56 56 0 8 12 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 1 0 0 1 0 1 1 0 8 0 amappl13 168 227 0 221 1 0 1 1 0 8 0 amappl12 160 213 0 206 1 0 1 1 0 8 0 amappl11 152 53 0 38 1 0 1 1 0 8 0 amappl10 144 201 0 194 1 0 1 1 0 8 0 amappl9 136 369 0 368 1 0 1 1 0 8 0 amappl8 128 412 0 344 3 0 3 3 0 8 0 amappl7 120 299 0 284 1 0 1 1 0 8 0 amappl6 112 34 0 25 1 0 1 1 0 8 0 amappl5 104 501 0 483 1 0 1 1 0 8 0 amappl4 96 494 0 463 1 0 1 1 0 8 0 amappl3 88 130 0 121 1 0 1 1 0 8 0 amappl2 80 4092 0 4011 2 0 2 2 0 8 0 amappl1 72 26954 0 26472 23 13 10 18 0 8 0 amappl 80 1766 0 1681 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 20 0 1 1 0 1 1 0 8 0 uaddrrnd 24 614 0 591 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 614 0 591 1 0 1 1 0 8 0 vmmpekpl 168 8710 0 8670 3 0 3 3 0 8 0 vmmpepl 168 85305 0 83047 136 26 110 119 0 357 11 vmsppl 368 613 0 591 3 0 3 3 0 8 1 pdppl 4096 1235 0 1188 7 1 6 6 0 8 0 pvpl 32 249843 0 227889 239 25 214 214 0 265 36 pmappl 232 613 0 591 4 2 2 2 0 8 0 extentpl 40 53 0 36 1 0 1 1 0 8 0 phpool 112 322 0 17 9 0 9 9 0 8 0 ddb{1}> machine ddbcpu 0 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp ddb{0}> trace x86_ipi_db(ffffffff82785ff0) 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 __sanitizer_cov_trace_cmp4(ffffffff82933140,ffffffff82933140) at __sanitizer_cov_trace_cmp4+0x24 kd_curproc sys/dev/kcov.c:442 [inline] __sanitizer_cov_trace_cmp4(ffffffff82933140,ffffffff82933140) at __sanitizer_cov_trace_cmp4+0x24 trace_cmp sys/dev/kcov.c:134 [inline] __sanitizer_cov_trace_cmp4(ffffffff82933140,ffffffff82933140) at __sanitizer_cov_trace_cmp4+0x24 sys/dev/kcov.c:163 solock(fffffd8067a4eb18) at solock+0x66 sys/kern/uipc_socket2.c:292 socreate(1,ffff800021f8df10,2,0) at socreate+0x1c2 sys/kern/uipc_socket.c:167 sys_socketpair(ffff800020ec93f0,ffff800021f8dfa8,ffff800021f8dff0) at sys_socketpair+0xa7 sys/kern/uipc_syscalls.c:435 syscall(ffff800021f8e070) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f8e070) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1ed6180b00, count: -9 ddb{0}> machine ddbcpu 1 Stopped at in_delmulti+0x8d: movl 0xc(%r14),%r15d ddb{1}> trace in_delmulti(fffdfffbffffffff) at in_delmulti+0x8d sys/netinet/in.c:914 in_purgeaddr(ffff800000b11400) at in_purgeaddr+0x156 sys/netinet/in.c:760 in_ioctl_change_ifaddr(80206919,ffff800021f88030,ffff800000ac6000,1) at in_ioctl_change_ifaddr+0x1c2 in_ioctl(80206919,ffff800021f88030,ffff800000ac6000,1) at in_ioctl+0x2fb sys/netinet/in.c:246 ifioctl(fffffd8067a4e348,80206919,ffff800021f88030,ffff800020ec9668) at ifioctl+0xe70 sys/net/if.c:2174 soo_ioctl(fffffd8066effab0,80206919,ffff800021f88030,ffff800020ec9668) at soo_ioctl+0x27c sys/kern/sys_socket.c:138 sys_ioctl(ffff800020ec9668,ffff800021f88148,ffff800021f88190) at sys_ioctl+0x4a5 syscall(ffff800021f88210) at syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:102 [inline] syscall(ffff800021f88210) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:570 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x1f39177550, count: -9