panic: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 303 Stopped at db_enter+0x18: addq $0x8,%rsp TID PID UID PRFLAGS PFLAGS CPU COMMAND *351420 68546 0 0 0x4000000 0K syz-executor.3 192622 98346 0 0x2 0x1 1 syz-executor.0 db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825aea83) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82621e8a,ffffffff82667fcd,12f,ffffffff8263209e) at __assert+0x25 sys/kern/subr_prf.c:157 tun_clone_destroy(ffff800000c40800) at tun_clone_destroy+0x278 sys/net/if_tun.c:303 if_clone_destroy(ffff800021321da0) at if_clone_destroy+0x132 sys/net/if.c:1247 ifioctl(fffffd805a121988,80206979,ffff800021321da0,ffff80002962ea90) at ifioctl+0x3b4 sys/net/if.c:1924 sys_ioctl(ffff80002962ea90,ffff800021321eb8,ffff800021321f00) at sys_ioctl+0x4a2 syscall(ffff800021321f80) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021321f80) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbe768874f90, count: 6 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{0}> ddb{0}> set $lines = 0 ddb{0}> set $maxwidth = 0 ddb{0}> show panic *cpu0: kernel diagnostic assertion "sc->sc_dev == 0" failed: file "/syzkaller/managers/multicore/kernel/sys/net/if_tun.c", line 303 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825aea83) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82621e8a,ffffffff82667fcd,12f,ffffffff8263209e) at __assert+0x25 sys/kern/subr_prf.c:157 tun_clone_destroy(ffff800000c40800) at tun_clone_destroy+0x278 sys/net/if_tun.c:303 if_clone_destroy(ffff800021321da0) at if_clone_destroy+0x132 sys/net/if.c:1247 ifioctl(fffffd805a121988,80206979,ffff800021321da0,ffff80002962ea90) at ifioctl+0x3b4 sys/net/if.c:1924 sys_ioctl(ffff80002962ea90,ffff800021321eb8,ffff800021321f00) at sys_ioctl+0x4a2 syscall(ffff800021321f80) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021321f80) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbe768874f90, count: -9 ddb{0}> show registers rdi 0 rsi 0x1 rbp 0xffff800021321b50 rbx 0xffffffff8297bb8f cpu_info_full_primary+0x2b8f rdx 0 rcx 0 rax 0xffff80002962ea90 r8 0 r9 0x8080808080808080 r10 0x6be5877de759a0f3 r11 0xe1a1f9433485279f r12 0xffffffff8297b990 cpu_info_full_primary+0x2990 r13 0 r14 0 r15 0x1 rip 0xffffffff81572368 db_enter+0x18 cs 0x8 rflags 0x246 rsp 0xffff800021321b40 ss 0x10 db_enter+0x18: addq $0x8,%rsp ddb{0}> show proc PROC (syz-executor.3) pid=351420 stat=onproc flags process=0 proc=4000000 pri=32, usrpri=86, nice=20 forw=0xffffffffffffffff, list=0xffff80002962e2b0,0xffffffff829f8050 process=0xffff8000ffff1938 user=0xffff80002131d000, vmspace=0xfffffd8072640310 estcpu=36, cpticks=2, pctcpu=0.0 user=0, sys=1, intr=0 ddb{0}> ps PID TID PPID UID S FLAGS WAIT COMMAND 68546 357501 91781 0 2 0 syz-executor.3 *68546 351420 91781 0 7 0x4000000 syz-executor.3 47452 209283 89597 0 2 0 syz-executor.7 47452 419034 89597 0 2 0x4000000 syz-executor.7 97270 118216 90559 0 2 0 syz-executor.1 97270 169074 90559 0 3 0x4000080 fsleep syz-executor.1 97270 25343 90559 0 3 0x4000080 fsleep syz-executor.1 97270 374865 90559 0 3 0x4000080 fsleep syz-executor.1 36769 38017 98346 0 2 0x480 syz-executor.0 36769 19812 98346 0 3 0x4000080 netio syz-executor.0 36769 273574 98346 0 3 0x4000080 fsleep syz-executor.0 75339 500612 40306 0 2 0x482 syz-executor.5 22255 407492 40306 0 2 0x482 syz-executor.2 71769 392841 0 0 3 0x14200 acct acct 31877 120155 40306 0 3 0x82 piperd syz-executor.6 18688 327015 40306 0 3 0x82 piperd syz-executor.4 98346 192622 40306 0 7 0x3 syz-executor.0 66846 131980 0 0 3 0x14280 nfsidl nfsio 57698 314034 0 0 3 0x14280 nfsidl nfsio 48894 523994 0 0 3 0x14280 nfsidl nfsio 49120 283856 0 0 3 0x14280 nfsidl nfsio 30829 288884 0 0 3 0x14280 nfsidl nfsio 6872 374193 0 0 3 0x14280 nfsidl nfsio 23487 206542 0 0 3 0x14280 nfsidl nfsio 22140 501914 0 0 3 0x14280 nfsidl nfsio 94495 201045 0 0 3 0x14280 nfsidl nfsio 89151 55299 0 0 3 0x14280 nfsidl nfsio 2737 419351 0 0 3 0x14280 nfsidl nfsio 51122 93005 0 0 3 0x14280 nfsidl nfsio 59052 475608 0 0 3 0x14280 nfsidl nfsio 64990 227543 0 0 3 0x14280 nfsidl nfsio 54553 397325 0 0 3 0x14280 nfsidl nfsio 38189 35631 0 0 3 0x14280 nfsidl nfsio 72136 166231 0 0 3 0x14280 nfsidl nfsio 80374 126261 0 0 3 0x14280 nfsidl nfsio 81004 221468 0 0 3 0x14280 nfsidl nfsio 55077 237507 0 0 3 0x14280 nfsidl nfsio 90155 314707 1 0 3 0x100083 ttyin getty 89597 200037 40306 0 2 0x482 syz-executor.7 71073 209321 0 0 3 0x14200 bored sosplice 91781 314881 40306 0 2 0x482 syz-executor.3 90559 258710 40306 0 2 0x2 syz-executor.1 40306 216805 47880 0 3 0x82 wait syz-fuzzer 40306 466010 47880 0 3 0x4000082 thrsleep syz-fuzzer 40306 56777 47880 0 3 0x4000082 kqread syz-fuzzer 40306 134077 47880 0 3 0x4000082 thrsleep syz-fuzzer 40306 149799 47880 0 3 0x4000082 thrsleep syz-fuzzer 40306 417600 47880 0 3 0x4000082 wait syz-fuzzer 40306 443363 47880 0 3 0x4000082 thrsleep syz-fuzzer 40306 488133 47880 0 3 0x4000082 thrsleep syz-fuzzer 40306 416150 47880 0 3 0x4000082 thrsleep syz-fuzzer 40306 355686 47880 0 3 0x4000082 wait syz-fuzzer 40306 4424 47880 0 3 0x4000082 wait syz-fuzzer 40306 94230 47880 0 3 0x4000082 wait syz-fuzzer 40306 245277 47880 0 3 0x4000082 wait syz-fuzzer 40306 63981 47880 0 3 0x4000082 wait syz-fuzzer 40306 218524 47880 0 3 0x4000082 wait syz-fuzzer 40306 189004 47880 0 3 0x4000082 thrsleep syz-fuzzer 47880 448538 20701 0 3 0x10008a sigsusp ksh 20701 48908 4114 0 3 0x9a kqread sshd 4114 70634 1 0 3 0x88 kqread sshd 11904 11500 72228 74 3 0x1100092 bpf pflogd 72228 519924 1 0 3 0x80 netio pflogd 6704 515775 56055 73 3 0x1100090 kqread syslogd 56055 367001 1 0 3 0x100082 netio syslogd 76078 274686 1 0 3 0x100080 kqread resolvd 82507 253686 77908 77 2 0x100092 dhcpleased 27311 348955 77908 77 3 0x100092 kqread dhcpleased 77908 60732 1 0 3 0x80 kqread dhcpleased 17209 210056 0 0 3 0x14200 bored smr 19261 301955 0 0 2 0x14200 zerothread 67256 524058 0 0 3 0x14200 aiodoned aiodoned 64664 487999 0 0 3 0x14200 syncer update 2048 429511 0 0 3 0x14200 cleaner cleaner 98726 419788 0 0 3 0x14200 reaper reaper 3691 511537 0 0 3 0x14200 pgdaemon pagedaemon 19136 138059 0 0 3 0x14200 bored viomb 88967 322598 0 0 3 0x40014200 acpi0 acpi0 98605 388469 0 0 3 0x40014200 idle1 2344 316996 0 0 3 0x14200 bored softnet 40998 293868 0 0 3 0x14200 bored softnet 4459 164523 0 0 3 0x14200 bored softnet 23081 506469 0 0 3 0x14200 bored softnet 98560 58794 0 0 3 0x14200 bored systqmp 56691 140107 0 0 3 0x14200 bored systq 53125 311369 0 0 3 0x40014200 bored softclock 96331 342726 0 0 3 0x40014200 idle0 1 492752 0 0 3 0x82 wait init 0 0 -1 0 3 0x10200 scheduler swapper ddb{0}> show all locks Process 68546 (syz-executor.3) thread 0xffff80002962ea90 (351420) exclusive rwlock clonelk r = 0 (0xffffffff8299f100) #0 witness_lock+0x44d #1 if_clone_destroy+0x49 #2 ifioctl+0x3b4 sys/net/if.c:1924 #3 sys_ioctl+0x4a2 #4 syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] #4 syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 #5 Xsyscall+0x128 exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82a48590) #0 witness_lock+0x44d #1 ifioctl+0x3ac sys/net/if.c:1924 #2 sys_ioctl+0x4a2 #3 syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] #3 syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 #4 Xsyscall+0x128 ddb{0}> show malloc Type InUse MemUse HighUse Limit Requests Type Lim devbuf 10223 6478K 6809K 78643K 13834 0 pcb 14 16K 21K 78643K 651 0 rtable 178 14K 15K 78643K 698 0 ifaddr 73 16K 18K 78643K 260 0 sysctl 2 0K 0K 78643K 2 0 counters 58 35K 36K 78643K 158 0 ioctlops 0 0K 4K 78643K 1566 0 iov 0 0K 16K 78643K 1088 0 mount 1 1K 1K 78643K 1 0 log 0 0K 0K 78643K 4 0 vnodes 1499 94K 94K 78643K 2889 0 UFS quota 1 32K 32K 78643K 1 0 UFS mount 5 36K 36K 78643K 5 0 shm 2 1K 5K 78643K 20 0 VM map 2 1K 1K 78643K 2 0 sem 12 0K 0K 78643K 401 0 dirhash 12 2K 2K 78643K 12 0 ACPI 1697 195K 286K 78643K 12548 0 file desc 14 49K 81K 78643K 2182 0 sigio 1 0K 0K 78643K 22 0 proc 71 91K 140K 78643K 801 0 subproc 104 6K 6K 78643K 208 0 NFS srvsock 1 0K 0K 78643K 1 0 NFS daemon 1 16K 16K 78643K 1 0 ip_moptions 0 0K 0K 78643K 58 0 in_multi 68 4K 6K 78643K 207 0 ether_multi 1 0K 0K 78643K 15 0 mrt 1 0K 0K 78643K 15 0 ISOFS mount 1 32K 32K 78643K 1 0 MSDOSFS mount 1 16K 16K 78643K 1 0 ttys 175 784K 784K 78643K 175 0 exec 0 0K 1K 78643K 724 0 tdb 3 0K 0K 78643K 3 0 pagedep 1 8K 8K 78643K 1 0 inodedep 1 32K 32K 78643K 1 0 newblk 1 0K 0K 78643K 1 0 VM swap 8 62K 64K 78643K 10 0 UVM amap 383 347K 348K 78643K 17277 0 UVM aobj 86 3K 3K 78643K 86 0 memdesc 1 4K 4K 78643K 1 0 crypto data 1 1K 1K 78643K 1 0 ip6_options 0 0K 0K 78643K 61 0 NDP 13 0K 0K 78643K 84 0 temp 134 4694K 4822K 78643K 37398 0 kqueue 12 18K 24K 78643K 159 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 plcache 128 22 0 0 1 0 1 1 0 8 0 rtpcb 120 202 0 199 2 1 1 2 0 8 0 rtentry 112 212 0 136 4 0 4 4 0 8 0 unpcb 144 1187 0 1169 12 10 2 6 0 8 1 syncache 296 11 0 11 4 3 1 1 0 8 1 tcpqe 32 127 0 127 4 3 1 1 0 8 1 tcpcb 776 437 0 399 18 10 8 8 0 8 4 arp 120 35 0 21 1 0 1 1 0 8 0 inpcb 368 3438 0 3394 62 54 8 20 0 8 4 nd6 48 47 0 29 1 0 1 1 0 8 0 pkpcb 40 8 0 8 1 1 0 1 0 8 0 kcovpl 48 16 0 8 1 0 1 1 0 8 0 ppxss 1256 20 0 20 5 5 0 1 0 8 0 pppxif 1448 10 0 10 4 4 0 1 0 8 0 pfstscr 40 2 0 2 1 1 0 1 0 8 0 pffrag 232 12 0 11 3 2 1 1 0 482 0 pffrnode 88 12 0 11 3 2 1 1 0 8 0 pffrent 40 60 0 59 3 2 1 1 0 8 0 pfosfp 40 1428 0 1005 5 0 5 5 0 8 0 pfosfpen 112 1428 0 714 21 0 21 21 0 8 0 pfanchor 1280 259 0 135 21 5 16 16 0 8 4 pfqueue 264 3 0 3 1 1 0 1 0 8 0 pfstitem 24 66 0 64 1 0 1 1 0 8 0 pfstkey 128 70 0 68 1 0 1 1 0 8 0 pfstate 384 68 0 66 5 4 1 3 0 8 0 pfrule 1344 21 0 20 2 1 1 2 0 8 0 art_heap8 4096 2 0 1 2 1 1 2 0 8 0 art_heap4 256 899 0 591 36 14 22 29 0 8 2 art_table 32 901 0 592 4 0 4 4 0 8 0 art_node 16 211 0 145 1 0 1 1 0 8 0 sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0 semupl 112 3 0 3 1 1 0 1 0 8 0 semapl 112 396 0 386 1 0 1 1 0 8 0 shmpl 112 83 0 0 3 0 3 3 0 8 0 dirhash 1024 17 0 0 3 0 3 3 0 8 0 dino2pl 256 4468 0 3020 91 0 91 91 0 8 0 ffsino 272 4468 0 3020 97 0 97 97 0 8 0 nchpl 144 7834 0 6187 63 0 63 63 0 8 0 uvmvnodes 80 5620 0 0 115 0 115 115 0 8 0 vnodes 216 5620 0 0 313 0 313 313 0 8 0 namei 1024 27299 0 27299 3 2 1 1 0 8 1 percpumem 16 91 0 50 1 0 1 1 0 8 0 vcpupl 2048 17 0 0 3 0 3 3 0 8 0 vmpool 568 23 0 6 2 0 2 2 0 8 0 kstatmem 264 106 0 80 3 0 3 3 0 8 0 scsiplug 72 2 0 2 1 0 1 1 0 8 1 scxspl 216 33712 0 33712 18 15 3 8 0 8 3 plimitpl 152 347 0 331 1 0 1 1 0 8 0 sigapl 424 2511 0 2443 10 2 8 8 0 8 0 futexpl 64 18358 0 18354 5 4 1 1 0 8 0 knotepl 120 431 0 0 9 1 8 8 0 8 0 kqueuepl 216 490 0 482 15 12 3 5 0 8 2 pipepl 320 590 0 561 20 14 6 8 0 8 3 fdescpl 496 2471 0 2444 6 2 4 5 0 8 0 filepl 152 17620 0 17306 52 37 15 22 0 8 2 lockfpl 104 450 0 448 2 1 1 2 0 8 0 lockfspl 48 224 0 222 1 0 1 1 0 8 0 sessionpl 144 33 0 16 1 0 1 1 0 8 0 pgrppl 48 33 0 16 1 0 1 1 0 8 0 ucredpl 104 2594 0 2582 1 0 1 1 0 8 0 zombiepl 144 2445 0 2443 1 0 1 1 0 8 0 processpl 1072 2511 0 2443 5 0 5 5 0 8 0 procpl 672 6591 0 6501 14 4 10 10 0 8 1 srpgc 96 15 0 15 5 4 1 1 0 8 1 sosppl 168 13 0 13 4 4 0 1 0 8 0 sockpl 488 4847 0 4782 103 85 18 29 0 8 9 mcl64k 65536 16 0 0 2 0 2 2 0 8 0 mcl16k 16384 9 0 0 2 0 2 2 0 8 0 mcl12k 12288 17 0 0 2 0 2 2 0 8 0 mcl9k 9216 4 0 0 1 0 1 1 0 8 0 mcl8k 8192 25 0 0 3 0 3 3 0 8 0 mcl4k 4096 26 0 0 3 0 3 3 0 8 0 mcl2k2 2112 6 0 0 1 0 1 1 0 8 0 mcl2k 2048 420 0 0 51 1 50 51 0 8 0 mtagpl 96 307 0 0 8 0 8 8 0 8 0 mbufpl 256 632 0 0 35 0 35 35 0 8 0 bufpl 288 8909 0 2580 453 0 453 453 0 8 0 anonpl 24 610959 0 592579 208 49 159 185 0 186 35 amapchunkpl 152 52053 0 51263 73 34 39 62 0 158 0 amappl16 200 6303 0 5741 37 2 35 37 0 8 0 amappl15 192 3 0 3 1 1 0 1 0 8 0 amappl14 184 185 0 169 3 1 2 2 0 8 0 amappl13 176 8 0 8 2 2 0 1 0 8 0 amappl12 168 524 0 519 1 0 1 1 0 8 0 amappl11 160 53 0 39 1 0 1 1 0 8 0 amappl10 152 44 0 31 1 0 1 1 0 8 0 amappl9 144 965 0 964 1 0 1 1 0 8 0 amappl8 136 232 0 167 3 0 3 3 0 8 0 amappl7 128 181 0 154 2 0 2 2 0 8 0 amappl6 120 223 0 209 1 0 1 1 0 8 0 amappl5 112 179 0 169 1 0 1 1 0 8 0 amappl4 104 617 0 575 3 1 2 2 0 8 0 amappl3 96 6910 0 6853 3 1 2 2 0 8 0 amappl2 88 2929 0 2855 3 1 2 3 0 8 0 amappl1 80 58551 0 57774 23 5 18 23 0 8 0 amappl 88 16559 0 16343 7 1 6 6 0 92 0 dma4096 4096 1 0 1 1 1 0 1 0 8 0 dma1024 1024 1 0 0 1 0 1 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 72 85 0 0 2 0 2 2 0 8 0 uaddrrnd 24 2494 0 2450 1 0 1 1 0 8 0 uaddrbest 32 2 0 0 1 0 1 1 0 8 0 uaddr 24 2494 0 2450 1 0 1 1 0 8 0 vmmpekpl 168 24529 0 24468 4 0 4 4 0 8 0 vmmpepl 168 237487 0 234646 248 107 141 198 0 357 6 vmsppl 368 2493 0 2450 7 2 5 5 0 8 0 rwobjpl 56 69768 0 62234 111 3 108 108 0 8 0 pdppl 4096 4995 0 4917 254 168 86 86 0 8 8 pvpl 32 1228806 0 1204679 411 121 290 324 0 265 80 pmappl 248 2493 0 2450 4 1 3 3 0 8 0 extentpl 40 56 0 38 1 0 1 1 0 8 0 phpool 112 1115 0 249 25 0 25 25 0 8 0 ddb{0}> machine ddbcpu 0 Invalid cpu 0 ddb{0}> trace db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:437 panic(ffffffff825aea83) at panic+0x177 sys/kern/subr_prf.c:198 __assert(ffffffff82621e8a,ffffffff82667fcd,12f,ffffffff8263209e) at __assert+0x25 sys/kern/subr_prf.c:157 tun_clone_destroy(ffff800000c40800) at tun_clone_destroy+0x278 sys/net/if_tun.c:303 if_clone_destroy(ffff800021321da0) at if_clone_destroy+0x132 sys/net/if.c:1247 ifioctl(fffffd805a121988,80206979,ffff800021321da0,ffff80002962ea90) at ifioctl+0x3b4 sys/net/if.c:1924 sys_ioctl(ffff80002962ea90,ffff800021321eb8,ffff800021321f00) at sys_ioctl+0x4a2 syscall(ffff800021321f80) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff800021321f80) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0xbe768874f90, count: -9 ddb{0}> machine ddbcpu 1 Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff82a48388) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a48388) at __mp_lock+0x133 sys/kern/kern_lock.c:147 ktrstruct(ffff80002961b268,ffffffff82642c1a,ffff8000261c8d70,10) at ktrstruct+0xfa sys_nanosleep(ffff80002961b268,ffff8000261c8de0,ffff8000261c8e30) at sys_nanosleep+0xe0 sys/kern/kern_time.c:289 syscall(ffff8000261c8eb0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff8000261c8eb0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9550, count: 6 ddb{1}> trace x86_ipi_db(ffff800020dd8ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393 x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106 Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23 __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 kd_curproc sys/dev/kcov.c:577 [inline] __sanitizer_cov_trace_pc() at __sanitizer_cov_trace_pc+0x28 sys/dev/kcov.c:148 __mp_lock(ffffffff82a48388) at __mp_lock+0x133 __mp_lock_spin sys/kern/kern_lock.c:116 [inline] __mp_lock(ffffffff82a48388) at __mp_lock+0x133 sys/kern/kern_lock.c:147 ktrstruct(ffff80002961b268,ffffffff82642c1a,ffff8000261c8d70,10) at ktrstruct+0xfa sys_nanosleep(ffff80002961b268,ffff8000261c8de0,ffff8000261c8e30) at sys_nanosleep+0xe0 sys/kern/kern_time.c:289 syscall(ffff8000261c8eb0) at syscall+0x4c2 mi_syscall sys/sys/syscall_mi.h:101 [inline] syscall(ffff8000261c8eb0) at syscall+0x4c2 sys/arch/amd64/amd64/trap.c:599 Xsyscall() at Xsyscall+0x128 end of kernel end trace frame: 0x7f7fffff9550, count: -9