panic: maddr rwlock 0xffff800001623860: enter read deadlock Stopped at db_enter+0x25: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *232980 99548 0 0x14000 0x40000200 0 softclock db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83325ab2) at panic+0x1cf sys/kern/subr_prf.c:198 rw_do_enter_read(ffff800001623860,0) at rw_do_enter_read+0x435 sys/kern/kern_rwlock.c:379 in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 in6_lookupmulti sys/netinet6/in6.c:-1 [inline] in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 sys/netinet6/in6.c:1150 ip6_output(fffffd8072cd8f00,ffffffff839adbf8,0,0,ffff80002a738dc0,0) at ip6_output+0x1369 sys/netinet6/ip6_output.c:507 mld6_sendpkt(ffff800001598600,83,0) at mld6_sendpkt+0x364 sys/netinet6/mld6.c:499 mld6_fasttimo() at mld6_fasttimo+0x16d mld6_checktimer sys/netinet6/mld6.c:395 [inline] mld6_fasttimo() at mld6_fasttimo+0x16d sys/netinet6/mld6.c:369 pffasttimo(ffffffff838bf828) at pffasttimo+0x184 sys/kern/uipc_domain.c:-1 timeout_run(ffffffff837b82a0,ffffffff838bf828) at timeout_run+0xf3 sys/kern/kern_timeout.c:-1 softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b softclock_thread_run sys/kern/kern_timeout.c:842 [inline] softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b sys/kern/kern_timeout.c:866 end trace frame: 0x0, count: 5 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 *cpu0: maddr rwlock 0xffff800001623860: enter read deadlock ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83325ab2) at panic+0x1cf sys/kern/subr_prf.c:198 rw_do_enter_read(ffff800001623860,0) at rw_do_enter_read+0x435 sys/kern/kern_rwlock.c:379 in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 in6_lookupmulti sys/netinet6/in6.c:-1 [inline] in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 sys/netinet6/in6.c:1150 ip6_output(fffffd8072cd8f00,ffffffff839adbf8,0,0,ffff80002a738dc0,0) at ip6_output+0x1369 sys/netinet6/ip6_output.c:507 mld6_sendpkt(ffff800001598600,83,0) at mld6_sendpkt+0x364 sys/netinet6/mld6.c:499 mld6_fasttimo() at mld6_fasttimo+0x16d mld6_checktimer sys/netinet6/mld6.c:395 [inline] mld6_fasttimo() at mld6_fasttimo+0x16d sys/netinet6/mld6.c:369 pffasttimo(ffffffff838bf828) at pffasttimo+0x184 sys/kern/uipc_domain.c:-1 timeout_run(ffffffff837b82a0,ffffffff838bf828) at timeout_run+0xf3 sys/kern/kern_timeout.c:-1 softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b softclock_thread_run sys/kern/kern_timeout.c:842 [inline] softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b sys/kern/kern_timeout.c:866 end trace frame: 0x0, count: -10 ddb> show registers rdi 0 rsi 0x1 rbp 0xffff80002a738ad0 rbx 0xffff800001623800 rdx 0 rcx 0 rax 0xffff80002a72cf90 r8 0x101010101010101 r9 0x8080808080808080 r10 0xf2e10de0f8e7d96b r11 0x83859b820aa52f6e r12 0 r13 0xffff80002a72cf94 r14 0 r15 0x1 rip 0xffffffff82215455 db_enter+0x25 cs 0x8 rflags 0x246 rsp 0xffff80002a738ac0 ss 0 db_enter+0x25: addq $0x8,%rsp ddb> show proc PROC (softclock) tid=232980 pid=99548 tcnt=1 stat=onproc flags process=14000 proc=40000200 runpri=0, usrpri=50, slppri=0, nice=20 wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0 forw=0xffffffffffffffff, list=0xffff80002a72d228,0xffff80002a72c540 process=0xffff8000ffffdf80 user=0xffff80002a734000, vmspace=0xffffffff839ad710 estcpu=0, cpticks=3, pctcpu=0.0, user=0, sys=0, intr=0 ddb> ps PID TID PPID UID S FLAGS WAIT COMMAND 19619 122414 72093 0 2 0 syz-executor 19619 172597 72093 0 2 0x4000000 syz-executor 12561 172478 9910 0 2 0 syz-executor 12561 61932 9910 0 3 0x4000080 fsleep syz-executor 12561 121719 9910 0 2 0x4000000 syz-executor 78905 406411 95767 0 2 0 syz-executor 78905 35182 95767 0 3 0x4000080 fsleep syz-executor 4400 56718 25653 0 2 0 syz-executor 4400 205693 25653 0 3 0x4000080 fsleep syz-executor 4400 149589 25653 0 3 0x4000080 fsleep syz-executor 98614 96087 81525 0 2 0 syz-executor 98614 356966 81525 0 3 0x4000080 fsleep syz-executor 33862 74517 9139 -1 2 0x10 syz-executor 33862 63313 9139 -1 3 0x4000090 fsleep syz-executor 33862 372373 9139 -1 3 0x4000090 fsleep syz-executor 47511 6554 41482 0 2 0 syz-executor 47511 158403 41482 0 3 0x4000080 msgwait syz-executor 47511 252342 41482 0 2 0x4000000 syz-executor 56270 191554 67521 0 2 0x1 syz-executor 56270 258948 67521 0 3 0x4000080 sbwait syz-executor 56270 321501 67521 0 3 0x4000080 fsleep syz-executor 56270 461662 67521 0 3 0x4000080 fsleep syz-executor 25440 242855 0 0 3 0x14280 nfsidl nfsio 96763 5030 0 0 3 0x14280 nfsidl nfsio 23769 266426 0 0 3 0x14280 nfsidl nfsio 62993 54541 0 0 3 0x14280 nfsidl nfsio 87697 356885 0 0 3 0x14280 nfsidl nfsio 66636 126550 0 0 3 0x14280 nfsidl nfsio 91027 118029 0 0 3 0x14280 nfsidl nfsio 68405 324604 0 0 3 0x14280 nfsidl nfsio 24013 447927 0 0 3 0x14280 nfsidl nfsio 38439 467350 0 0 3 0x14280 nfsidl nfsio 68677 45511 0 0 3 0x14280 nfsidl nfsio 73764 40863 0 0 3 0x14280 nfsidl nfsio 28217 248639 0 0 3 0x14280 nfsidl nfsio 73812 510651 0 0 3 0x14280 nfsidl nfsio 14080 78105 0 0 3 0x14280 nfsidl nfsio 71429 112142 0 0 3 0x14280 nfsidl nfsio 4336 288107 0 0 3 0x14280 nfsidl nfsio 46659 382011 0 0 3 0x14280 nfsidl nfsio 27336 103998 0 0 3 0x14280 nfsidl nfsio 9971 506889 0 0 3 0x14280 nfsidl nfsio 72093 20153 14399 0 2 0x3 syz-executor 41482 301568 14399 0 2 0x3 syz-executor 95767 264388 14399 0 2 0x3 syz-executor 9139 354096 14399 0 2 0x3 syz-executor 81525 20705 14399 0 2 0x3 syz-executor 9910 288028 14399 0 2 0x3 syz-executor 67521 441902 14399 0 2 0x3 syz-executor 25653 184664 14399 0 2 0x3 syz-executor 14399 462313 27320 0 3 0x82 kqread syz-executor 27320 412547 34887 0 3 0x10008a sigsusp ksh 34887 285558 8580 0 3 0x98 kqread sshd-session 8580 350111 56666 0 3 0x92 kqread sshd-session 8235 261743 1 0 3 0x100083 ttyin getty 56666 328439 1 0 3 0x88 kqread sshd 23779 94064 9319 73 2 0x1100090 syslogd 9319 280539 1 0 3 0x100082 sbwait syslogd 44463 43101 1 0 3 0x100080 kqread resolvd 73283 498045 80806 77 3 0x100092 kqread dhcpleased 59002 48778 80806 77 3 0x100092 kqread dhcpleased 80806 491069 1 0 3 0x80 kqread dhcpleased 87453 422445 0 0 2 0x14200 smr 75554 414577 0 0 2 0x14200 zerothread 53983 17198 0 0 3 0x14200 aiodoned aiodoned 70349 349884 0 0 3 0x14200 syncer update 57406 8891 0 0 3 0x14200 cleaner cleaner 28588 375504 0 0 3 0x14200 reaper reaper 1944 282888 0 0 3 0x14200 pgdaemon pagedaemon 54220 245443 0 0 3 0x14200 bored viomb 46617 370210 0 0 3 0x40014200 acpi0 acpi0 48772 33795 0 0 3 0x14200 bored softnet0 97070 435394 0 0 3 0x14200 bored systqmp 58007 274015 0 0 3 0x14200 bored systq *99548 232980 0 0 7 0x40014200 softclock 60799 398738 0 0 3 0x40014200 idle0 1 503192 0 0 3 0x82 wait init 0 0 -1 0 3 0x10010200 scheduler swapper ddb> show all locks No such command ddb> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 11050 12237K 12382K 166960K 13551 0 pcb 19 13K 14K 166960K 182 0 rtable 231 9K 9K 166960K 624 0 pf 35 14K 16K 166960K 106 0 ifaddr 42 7K 8K 166960K 84 0 ifgroup 55 2K 2K 166960K 126 0 sysctl 3 1K 9K 166960K 11 0 counters 35 18K 18K 166960K 98 0 ioctlops 0 0K 4K 166960K 341 0 iov 1 16K 16K 166960K 224 0 mount 1 1K 1K 166960K 1 0 log 0 0K 0K 166960K 4 0 vnodes 1392 88K 88K 166960K 2067 0 UFS quota 1 32K 32K 166960K 1 0 UFS mount 5 36K 36K 166960K 5 0 shm 2 1K 9K 166960K 11 0 VM map 2 1K 1K 166960K 2 0 sem 12 0K 0K 166960K 25 0 dirhash 12 2K 2K 166960K 24 0 ACPI 1692 195K 286K 166960K 12470 0 file desc 18 65K 93K 166960K 822 0 sigio 0 0K 0K 166960K 5 0 proc 69 67K 91K 166960K 570 0 subproc 72 4K 4K 166960K 81 0 NFS srvsock 1 0K 0K 166960K 1 0 NFS daemon 1 16K 16K 166960K 1 0 ip_moptions 0 0K 0K 166960K 66 0 in_multi 93 6K 7K 166960K 136 0 ether_multi 1 0K 0K 166960K 7 0 mrt 2 0K 0K 166960K 8 0 ISOFS mount 1 32K 32K 166960K 1 0 MSDOSFS mount 1 16K 16K 166960K 1 0 ttys 91 413K 413K 166960K 91 0 exec 0 0K 1K 166960K 594 0 fusefs mount 1 32K 32K 166960K 1 0 pfkey data 0 0K 0K 166960K 3 0 tdb 3 0K 0K 166960K 3 0 VM swap 8 62K 64K 166960K 10 0 UVM amap 238 159K 175K 166960K 9604 0 UVM aobj 25 2K 2K 166960K 28 0 pinsyscall 39 78K 92K 166960K 1936 0 memdesc 1 4K 4K 166960K 1 0 crypto data 1 1K 1K 166960K 1 0 ip6_options 0 0K 0K 166960K 35 0 NDP 12 0K 2K 166960K 56 0 temp 58 8682K 8793K 166960K 27459 0 kqueue 14 22K 29K 166960K 133 0 SYN cache 2 16K 16K 166960K 2 0 ddb> show all pools Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle rtpcb 120 91 0 88 1 0 1 1 0 8 0 rtentry 136 142 0 48 4 0 4 4 0 8 0 unpcb 144 644 0 495 7 1 6 6 0 8 0 syncache 336 6 0 6 2 1 1 1 0 8 1 tcpqe 32 4 0 4 1 0 1 1 0 8 1 tcpcb 736 319 0 309 5 0 5 5 0 8 3 arp 96 21 0 6 1 0 1 1 0 8 0 ipq 40 5 0 2 1 0 1 1 0 8 0 ipqe 40 8 0 5 1 0 1 1 0 8 0 inpcb 328 748 0 730 7 2 5 5 0 8 3 ip6q 72 7 0 3 2 1 1 1 0 8 0 ip6af 40 11 0 6 2 1 1 1 0 8 0 nd6 112 28 0 6 1 0 1 1 0 8 0 pkpcb 40 9 0 9 1 0 1 1 0 8 1 kcovpl 48 9 0 1 1 0 1 1 0 8 0 ppxss 1072 57 0 55 2 1 1 1 0 8 0 pppxif 1416 3 0 3 1 0 1 1 0 8 1 pfstscr 40 2 0 2 1 0 1 1 0 8 1 pfrktable 1344 68 0 67 1 0 1 1 0 8 0 pftag 88 2 0 0 1 0 1 1 0 8 0 pfstkey 128 5 0 5 1 0 1 1 0 8 1 pfstate 384 3 0 3 1 0 1 1 0 8 1 pfrule 1344 2 0 1 1 0 1 1 0 8 0 art_heap8 4096 3 0 0 3 0 3 3 0 8 0 art_heap4 256 629 0 207 33 0 33 33 0 8 6 art_table 40 632 0 207 6 0 6 6 0 8 0 art_node 32 141 0 58 1 0 1 1 0 8 0 sysvmsgpl 40 6 0 2 1 0 1 1 0 8 0 semupl 112 1 0 1 1 1 0 1 0 8 0 semapl 112 23 0 13 1 0 1 1 0 8 0 shmpl 112 25 0 3 1 0 1 1 0 8 0 dirhash 1024 25 0 8 3 0 3 3 0 8 0 dino2pl 256 2872 0 1380 95 0 95 95 0 8 0 ffsino 256 2872 0 1380 95 0 95 95 0 8 0 nchpl 144 4015 0 2321 64 0 64 64 0 8 0 rtmask 32 3 0 3 1 0 1 1 0 8 1 vnodes 216 3401 0 0 189 0 189 189 0 8 0 namei 1024 12920 0 12919 2 1 1 1 0 8 0 kstatmem 264 74 0 50 3 0 3 3 0 8 0 scsiplug 72 1 0 1 1 0 1 1 0 8 1 scxspl 216 16965 0 16965 10 7 3 8 1 8 3 plimitpl 152 248 0 230 1 0 1 1 0 8 0 sigapl 424 1132 0 1069 9 1 8 8 0 8 0 knotepl 120 32082 0 31997 23 13 10 17 0 8 7 kqueuepl 184 263 0 220 3 0 3 3 0 8 0 pipepl 304 245 0 218 5 0 5 5 0 8 2 fdescpl 448 1098 0 1068 5 1 4 5 0 8 0 filepl 120 6275 0 5887 13 1 12 12 0 8 0 lockfpl 104 329 0 325 1 0 1 1 0 8 0 lockfspl 48 107 0 103 1 0 1 1 0 8 0 sessionpl 144 24 0 16 1 0 1 1 0 8 0 pgrppl 48 42 0 26 1 0 1 1 0 8 0 ucredpl 104 877 0 864 1 0 1 1 0 8 0 zombiepl 144 1472 0 1472 1 0 1 1 0 8 1 processpl 1152 1132 0 1069 5 0 5 5 0 8 0 procpl 664 2305 0 2228 7 0 7 7 0 8 0 sosppl 176 4 0 4 1 0 1 1 0 8 1 sockpl 552 1512 0 1342 18 5 13 13 0 8 0 mcl64k 65536 38 0 38 2 1 1 1 0 8 1 mcl8k 8192 16 0 16 2 1 1 1 0 8 1 mcl4k 4096 3391 0 3338 17 8 9 16 0 8 1 mcl2k 2048 1203 0 1196 3 1 2 2 0 8 0 mtagpl 96 36 0 9 1 0 1 1 0 8 0 mbufpl 256 12178 0 11968 78 54 24 78 0 8 8 bufpl 280 5871 0 127 411 0 411 411 0 8 0 anonpl 24 166960 0 163772 58 5 53 53 0 187 16 amapchunkpl 152 33510 0 33001 39 5 34 34 0 158 14 amappl16 200 2528 0 2493 17 3 14 15 0 8 8 amappl15 192 5 0 4 1 0 1 1 0 8 0 amappl14 184 2 0 2 2 1 1 1 0 8 1 amappl13 176 417 0 416 1 0 1 1 0 8 0 amappl12 168 1452 0 1413 2 0 2 2 0 8 0 amappl11 160 2 0 2 1 1 0 1 0 8 0 amappl10 152 119 0 108 1 0 1 1 0 8 0 amappl9 144 256 0 256 1 1 0 1 0 8 0 amappl8 136 21 0 19 1 0 1 1 0 8 0 amappl7 128 113 0 112 1 0 1 1 0 8 0 amappl6 120 271 0 259 1 0 1 1 0 8 0 amappl5 112 73 0 65 1 0 1 1 0 8 0 amappl4 104 390 0 367 1 0 1 1 0 8 0 amappl3 96 5316 0 5220 3 0 3 3 0 8 0 amappl2 88 1234 0 1161 2 0 2 2 0 8 0 amappl1 80 12125 0 11579 13 0 13 13 0 8 1 amappl 88 8753 0 8584 5 0 5 5 0 92 0 uvmvnodes 80 123 0 0 3 0 3 3 0 8 0 dma8192 8192 1 0 1 1 0 1 1 0 8 1 dma4096 4096 2 0 2 2 1 1 1 0 8 1 dma1024 1024 3 0 2 1 0 1 1 0 8 0 dma256 256 6 0 6 1 1 0 1 0 8 0 dma128 128 254 0 254 2 1 1 1 0 8 1 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 72 27 0 3 1 0 1 1 0 8 0 uaddrrnd 24 1098 0 1068 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 1098 0 1068 1 0 1 1 0 8 0 vmmpekpl 168 10586 0 10551 2 0 2 2 0 8 0 vmmpepl 168 75692 0 73835 92 0 92 92 0 357 10 vmsppl 368 1097 0 1068 4 1 3 4 0 8 0 rwobjpl 40 21886 0 20878 13 0 13 13 0 8 0 pdppl 4096 2203 0 2136 99 32 67 81 0 8 0 pvpl 32 480045 0 471486 141 12 129 129 0 265 29 pmappl 216 1097 0 1068 3 0 3 3 0 8 0 extentpl 40 45 0 27 1 0 1 1 0 8 0 phpool 112 453 0 103 12 0 12 12 0 8 1 ddb> machine ddbcpu 0 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83325ab2) at panic+0x1cf sys/kern/subr_prf.c:198 rw_do_enter_read(ffff800001623860,0) at rw_do_enter_read+0x435 sys/kern/kern_rwlock.c:379 in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 in6_lookupmulti sys/netinet6/in6.c:-1 [inline] in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 sys/netinet6/in6.c:1150 ip6_output(fffffd8072cd8f00,ffffffff839adbf8,0,0,ffff80002a738dc0,0) at ip6_output+0x1369 sys/netinet6/ip6_output.c:507 mld6_sendpkt(ffff800001598600,83,0) at mld6_sendpkt+0x364 sys/netinet6/mld6.c:499 mld6_fasttimo() at mld6_fasttimo+0x16d mld6_checktimer sys/netinet6/mld6.c:395 [inline] mld6_fasttimo() at mld6_fasttimo+0x16d sys/netinet6/mld6.c:369 pffasttimo(ffffffff838bf828) at pffasttimo+0x184 sys/kern/uipc_domain.c:-1 timeout_run(ffffffff837b82a0,ffffffff838bf828) at timeout_run+0xf3 sys/kern/kern_timeout.c:-1 softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b softclock_thread_run sys/kern/kern_timeout.c:842 [inline] softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b sys/kern/kern_timeout.c:866 end trace frame: 0x0, count: -10 ddb> machine ddbcpu 1 No such command ddb> trace db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438 panic(ffffffff83325ab2) at panic+0x1cf sys/kern/subr_prf.c:198 rw_do_enter_read(ffff800001623860,0) at rw_do_enter_read+0x435 sys/kern/kern_rwlock.c:379 in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 in6_lookupmulti sys/netinet6/in6.c:-1 [inline] in6_hasmulti(fffffd8072cd8ff0,ffff800001623800) at in6_hasmulti+0x41 sys/netinet6/in6.c:1150 ip6_output(fffffd8072cd8f00,ffffffff839adbf8,0,0,ffff80002a738dc0,0) at ip6_output+0x1369 sys/netinet6/ip6_output.c:507 mld6_sendpkt(ffff800001598600,83,0) at mld6_sendpkt+0x364 sys/netinet6/mld6.c:499 mld6_fasttimo() at mld6_fasttimo+0x16d mld6_checktimer sys/netinet6/mld6.c:395 [inline] mld6_fasttimo() at mld6_fasttimo+0x16d sys/netinet6/mld6.c:369 pffasttimo(ffffffff838bf828) at pffasttimo+0x184 sys/kern/uipc_domain.c:-1 timeout_run(ffffffff837b82a0,ffffffff838bf828) at timeout_run+0xf3 sys/kern/kern_timeout.c:-1 softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b softclock_thread_run sys/kern/kern_timeout.c:842 [inline] softclock_thread(ffff80002a72cf90) at softclock_thread+0x12b sys/kern/kern_timeout.c:866 end trace frame: 0x0, count: -10