panic: attempt to access user address 0x2000000c in supervisor mode Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND * 79077 14603 0 0 0x4000000 0 syz-executor.1 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398 panic() at panic+0x15c sys/kern/subr_prf.c:207 pageflttrap() at pageflttrap+0x3eb kerntrap(ffff8000149380b0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b in_delmulti(20000000) at in_delmulti+0x95 sys/netinet/in.c:894 in_purgeaddr(ffff800000a9ee00) at in_purgeaddr+0x156 sys/netinet/in.c:740 in_ifdetach(ffff800000aa0800) at in_ifdetach+0x74 sys/netinet/in.c:949 ifioctl(fffffd802938a060,801169ac,ffff800014938330,ffff8000ffff84f8) at ifioctl+0x1463 sys/net/if.c:1983 sys_ioctl(ffff8000ffff84f8,ffff800014938448,ffff800014938490) at sys_ioctl+0x5b9 syscall(ffff800014938510) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4016f1df6a0, 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 attempt to access user address 0x2000000c in supervisor mode 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 pageflttrap() at pageflttrap+0x3eb kerntrap(ffff8000149380b0) at kerntrap+0xdb sys/arch/amd64/amd64/trap.c:287 alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b in_delmulti(20000000) at in_delmulti+0x95 sys/netinet/in.c:894 in_purgeaddr(ffff800000a9ee00) at in_purgeaddr+0x156 sys/netinet/in.c:740 in_ifdetach(ffff800000aa0800) at in_ifdetach+0x74 sys/netinet/in.c:949 ifioctl(fffffd802938a060,801169ac,ffff800014938330,ffff8000ffff84f8) at ifioctl+0x1463 sys/net/if.c:1983 sys_ioctl(ffff8000ffff84f8,ffff800014938448,ffff800014938490) at sys_ioctl+0x5b9 syscall(ffff800014938510) at syscall+0x507 sys/arch/amd64/amd64/trap.c:555 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x4016f1df6a0, count: -12 ddb> show registers rdi 0xffffffff817840c7 db_enter+0x17 rsi 0xd54a __ALIGN_SIZE+0xc54a rbp 0xffff800014937f20 rbx 0xffff800014937fd0 rdx 0xd54b __ALIGN_SIZE+0xc54b rcx 0xffff800014941000 rax 0xffff800014941000 r8 0xffff800014937ee0 r9 0x1 r10 0xffff800000a67180 r11 0xaafda5564de4a3d1 r12 0x3000000008 r13 0xffff800014937f30 r14 0x100 r15 0x1 rip 0xffffffff817840c8 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800014937f10 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb> show proc PROC (syz-executor.1) pid=79077 stat=onproc flags process=0 proc=4000000 pri=81, usrpri=81, nice=20 forw=0xffffffffffffffff, list=0xffff8000ffff8c60,0xffffffff825b81a0 process=0xffff8000ffff7450 user=0xffff800014933000, vmspace=0xfffffd803f012110 estcpu=36, cpticks=0, pctcpu=0.0 user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 14603 440348 9930 0 2 0 syz-executor.1 *14603 79077 9930 0 7 0x4000000 syz-executor.1 9930 292193 85499 0 3 0x82 nanosleep syz-executor.1 49617 418346 1 0 3 0x100083 ttyopn getty 60288 405502 0 0 3 0x14200 bored sosplice 1077 104462 85499 0 2 0x2 syz-executor.0 85499 11596 2866 0 3 0x82 thrsleep syz-fuzzer 85499 489345 2866 0 3 0x4000082 nanosleep syz-fuzzer 85499 259627 2866 0 3 0x4000082 kqread syz-fuzzer 85499 230395 2866 0 3 0x4000082 thrsleep syz-fuzzer 85499 308783 2866 0 3 0x4000082 thrsleep syz-fuzzer 85499 101316 2866 0 3 0x4000082 thrsleep syz-fuzzer 85499 461927 2866 0 3 0x4000082 thrsleep syz-fuzzer 85499 239787 2866 0 3 0x4000082 thrsleep syz-fuzzer 2866 228872 2582 0 3 0x10008a pause ksh 2582 486849 51496 0 3 0x92 select sshd 51496 210807 1 0 3 0x80 select sshd 46976 169449 45675 73 3 0x100090 kqread syslogd 45675 97617 1 0 3 0x100082 netio syslogd 96352 278070 1 77 2 0x100090 dhclient 22014 196947 1 0 3 0x80 poll dhclient 54329 177054 0 0 2 0x14200 zerothread 86324 279813 0 0 3 0x14200 aiodoned aiodoned 61141 173133 0 0 3 0x14200 syncer update 23236 368509 0 0 3 0x14200 cleaner cleaner 7985 3953 0 0 3 0x14200 reaper reaper 49927 443391 0 0 3 0x14200 pgdaemon pagedaemon 87455 57486 0 0 3 0x14200 bored crynlk 48947 453166 0 0 3 0x14200 bored crypto 61323 520105 0 0 3 0x40014200 acpi0 acpi0 19947 312045 0 0 3 0x14200 bored softnet 33801 440704 0 0 2 0x14200 systqmp 63165 402931 0 0 3 0x14200 bored systq 66854 41406 0 0 3 0x40014200 bored softclock 61692 416567 0 0 3 0x40014200 idle0 57456 66114 0 0 3 0x14200 bored smr 1 420702 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 9532 6359K 7312K 78643K 12935 0 0 pcb 13 10K 12K 78643K 275 0 0 rtable 95 7K 8K 78643K 635 0 0 ifaddr 93 17K 18K 78643K 245 0 0 counters 19 16K 16K 78643K 19 0 0 ioctlops 0 0K 2K 78643K 149 0 0 iov 0 0K 20K 78643K 862 0 0 mount 1 1K 1K 78643K 1 0 0 vnodes 1217 77K 77K 78643K 1943 0 0 UFS quota 1 32K 32K 78643K 1 0 0 UFS mount 5 36K 36K 78643K 5 0 0 shm 3 5K 5K 78643K 25 0 0 VM map 13 3K 3K 78643K 24 0 0 sem 12 0K 0K 78643K 433 0 0 dirhash 12 2K 2K 78643K 12 0 0 ACPI 1794 195K 288K 78643K 12646 0 0 file desc 5 13K 25K 78643K 2348 0 0 sigio 0 0K 0K 78643K 30 0 0 proc 49 38K 63K 78643K 553 0 0 subproc 32 2K 2K 78643K 85 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 3014 0 0 in_multi 120 5K 5K 78643K 211 0 0 ether_multi 1 0K 0K 78643K 13 0 0 mrt 0 0K 0K 78643K 17 0 0 ISOFS mount 1 32K 32K 78643K 1 0 0 MSDOSFS mount 1 16K 16K 78643K 1 0 0 ttys 60 265K 265K 78643K 60 0 0 exec 0 0K 1K 78643K 318 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 127 136K 152K 78643K 6004 0 0 UVM aobj 130 5K 5K 78643K 130 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 254 0 0 NDP 16 0K 0K 78643K 54 0 0 temp 152 3539K 4179K 78643K 21971 0 0 kqueue 0 0K 0K 78643K 27 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 20 0 17 1 0 1 1 0 8 0 rtpcb 80 129 0 127 1 0 1 1 0 8 0 rtentry 112 119 0 83 2 0 2 2 0 8 0 unpcb 120 678 0 669 1 0 1 1 0 8 0 syncache 264 5 0 5 2 2 0 1 0 8 0 tcpqe 32 25 0 25 3 3 0 1 0 8 0 tcpcb 544 1945 0 1941 16 15 1 15 0 8 0 ipq 40 20 0 19 5 4 1 1 0 8 0 ipqe 40 646 0 645 5 4 1 1 0 8 0 inpcb 280 4621 0 4612 13 11 2 9 0 8 1 rttmr 72 5 0 5 4 4 0 1 0 8 0 nd6 48 16 0 13 1 0 1 1 0 8 0 pkpcb 40 15 0 15 3 2 1 1 0 8 1 ppxss 1128 10 0 10 4 3 1 1 0 8 1 art_heap8 4096 2 0 0 2 0 2 2 0 8 0 art_heap4 256 548 0 344 19 4 15 15 0 8 0 art_table 32 550 0 344 2 0 2 2 0 8 0 art_node 16 118 0 81 1 0 1 1 0 8 0 sysvmsgpl 40 11 0 11 3 3 0 1 0 8 0 semupl 112 2 0 2 1 1 0 1 0 8 0 semapl 112 431 0 421 1 0 1 1 0 8 0 shmpl 112 128 0 0 4 0 4 4 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino1pl 128 4174 0 2779 46 0 46 46 0 8 0 ffsino 240 4174 0 2779 83 0 83 83 0 8 0 nchpl 144 7658 0 7211 60 30 30 60 0 8 8 uvmvnodes 72 4756 0 0 87 0 87 87 0 8 0 vnodes 208 4756 0 0 251 0 251 251 0 8 0 namei 1024 22829 0 22829 2 1 1 1 0 8 1 vcpupl 1984 13 0 2 2 0 2 2 0 8 0 vmpool 520 22 0 11 2 1 1 1 0 8 0 scsiplug 64 1 0 1 1 1 0 1 0 8 0 scxspl 192 21944 0 21944 10 9 1 7 0 8 1 plimitpl 152 102 0 95 1 0 1 1 0 8 0 sigapl 432 2510 0 2497 2 0 2 2 0 8 0 futexpl 56 59868 0 59868 2 1 1 1 0 8 1 knotepl 112 264 0 245 4 3 1 2 0 8 0 kqueuepl 104 1055 0 1053 4 3 1 4 0 8 0 pipepl 128 2344 0 2325 5 3 2 2 0 8 1 fdescpl 424 2511 0 2497 2 0 2 2 0 8 0 filepl 120 19210 0 19113 18 13 5 11 0 8 2 lockfpl 104 499 0 498 1 0 1 1 0 8 0 lockfspl 48 112 0 111 1 0 1 1 0 8 0 sessionpl 112 21 0 11 1 0 1 1 0 8 0 pgrppl 48 41 0 31 1 0 1 1 0 8 0 ucredpl 96 1744 0 1737 1 0 1 1 0 8 0 zombiepl 144 2499 0 2499 1 0 1 1 0 8 1 processpl 864 2528 0 2499 4 0 4 4 0 8 0 procpl 632 5138 0 5101 5 0 5 5 0 8 1 sosppl 128 21 0 21 4 4 0 1 0 8 0 sockpl 384 5629 0 5609 23 18 5 14 0 8 2 mcl64k 65536 105 0 105 5 4 1 1 0 8 1 mcl16k 16384 11 0 11 4 4 0 1 0 8 0 mcl12k 12288 28 0 28 3 2 1 1 0 8 1 mcl9k 9216 18 0 18 5 4 1 1 0 8 1 mcl8k 8192 73 0 73 4 3 1 1 0 8 1 mcl4k 4096 159 0 159 2 1 1 1 0 8 1 mcl2k2 2112 14 0 14 7 6 1 1 0 8 1 mcl2k 2048 72328 0 72283 23 16 7 15 0 8 0 mtagpl 80 45 0 15 2 1 1 1 0 8 0 mbufpl 256 129497 0 129309 54 33 21 24 0 8 7 bufpl 256 10336 0 5387 310 0 310 310 0 8 0 anonpl 16 215522 0 195440 130 32 98 98 0 62 15 amapchunkpl 152 9437 0 9287 19 10 9 11 0 158 2 amappl16 192 12254 0 11135 105 40 65 69 0 8 8 amappl15 184 1 0 0 1 0 1 1 0 8 0 amappl14 176 837 0 830 1 0 1 1 0 8 0 amappl13 168 276 0 275 1 0 1 1 0 8 0 amappl12 160 6 0 4 1 0 1 1 0 8 0 amappl11 152 122 0 111 1 0 1 1 0 8 0 amappl10 144 8 0 8 1 1 0 1 0 8 0 amappl9 136 1775 0 1771 1 0 1 1 0 8 0 amappl8 128 1356 0 1325 3 1 2 2 0 8 0 amappl7 120 49 0 44 1 0 1 1 0 8 0 amappl6 112 108 0 99 1 0 1 1 0 8 0 amappl5 104 185 0 174 1 0 1 1 0 8 0 amappl4 96 2737 0 2711 1 0 1 1 0 8 0 amappl3 88 160 0 154 1 0 1 1 0 8 0 amappl2 80 19362 0 19293 3 1 2 3 0 8 0 amappl1 72 51523 0 51114 27 18 9 20 0 8 0 amappl 80 5415 0 5365 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 129 0 0 3 0 3 3 0 8 0 uaddrrnd 24 2533 0 2497 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2533 0 2497 1 0 1 1 0 8 0 vmmpekpl 168 20666 0 20639 2 0 2 2 0 8 0 vmmpepl 168 293843 0 291639 213 101 112 140 0 357 14 vmsppl 272 2510 0 2497 2 1 1 2 0 8 0 pdppl 4096 5072 0 5027 8 2 6 7 0 8 0 pvpl 32 596433 0 573262 288 59 229 229 0 265 39 pmappl 200 2532 0 2508 2 0 2 2 0 8 0 extentpl 40 46 0 29 1 0 1 1 0 8 0 phpool 112 539 0 86 14 0 14 14 0 8 0