[ci-openbsd-main ci-openbsd-multicore ci-openbsd-setuid], missing on: [ci-openbsd-kasan]
kernel: protection fault trap, code=0
Stopped at in_ifdetach+0x67: movzbl 0x1(%rax),%r12d
ddb{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
the kernel did not panic
ddb{0}> show kasan
No such command
ddb{0}> trace
in_ifdetach(ffff8000015f2000) at in_ifdetach+0x67 sys/netinet/in.c:1018
if_detach(ffff8000015f2000) at if_detach+0x2fe sys/net/if.c:1311
tun_clone_destroy(ffff8000015f2000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80002a2ca000) at if_clone_destroy+0x205 sys/net/if.c:1480
tun_dev_close(5d01,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526
spec_close(ffff80002a2ca0c0) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffff98070c9ee88,7,fffff980097fd4e0,ffff800045ffd4c8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffff9806cca7180,ffff800045ffd4c8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffff9806cca7180,ffff800045ffd4c8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621
fdrop(fffff9806cca7180,ffff800045ffd4c8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff9806cca7180,ffff800045ffd4c8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045ffd4c8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045ffd4c8,43,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045ffd4c8,ffff80002a2ca430,ffff80002a2ca380) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2ca430) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2ca430) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7a4a0b189880, count: -15
ddb{0}> show registers
rdi 0
rsi 0
rbp 0xffff80002a2c9ef0
rbx 0xffff800001610a00
rdx 0
rcx 0xffff800045ffd4c8
rax 0xdeadbeefdeadbeef
r8 0xffffffffffffffff
r9 0
r10 0x88377b68d129514d
r11 0x6eb8017ff134c83d
r12 0
r13 0xffff8000015f2048
r14 0xffff8000015f2000
r15 0xdead0036deadbeef
rip 0xffffffff82ead567 in_ifdetach+0x67
cs 0x8
rflags 0x10286 __ALIGN_SIZE+0xf286
rsp 0xffff80002a2c9ea0
ss 0x10
in_ifdetach+0x67: movzbl 0x1(%rax),%r12d
ddb{0}> show proc
PROC (syz-executor) tid=428750 pid=12661 tcnt=0 stat=onproc
flags process=a<EXEC,EXITING> proc=2000<WEXIT>
runpri=32, usrpri=59, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=1
forw=0xffffffffffffffff, list=0xffff80002a22c540,0xffff800045ffcd10
process=0xffff800045ff3080 user=0xffff80002a2c5000, vmspace=0xfffff9800b1f7988
estcpu=9, cpticks=7, pctcpu=0.6, user=0, sys=0, intr=0
ddb{0}> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
92975 485188 8639 0 3 0x2 0x80 piperd syz-executor
8665 509826 8639 0 3 0x2 0x80 piperd syz-executor
69496 118065 8639 0 3 0x2 0x80 piperd syz-executor
74644 185195 8639 0 3 0x2 0x80 piperd syz-executor
80485 515798 8639 0 3 0x2 0x80 piperd syz-executor
91115 57118 8639 0 3 0x2 0x80 piperd syz-executor
98996 447292 8639 0 3 0x2 0x80 piperd syz-executor
8639 475717 68304 0 3 0x2 0x80 wait syz-executor
68304 377019 93297 0 3 0x100002 0x88 sigsusp ksh
93297 56754 28629 0 3 0x10 0x88 kqread sshd-session
28629 110992 22460 0 3 0x12 0x80 kqread sshd-session
3707 425015 1 0 3 0x100003 0x80 ttyin getty
22460 246048 1 0 3 0 0x88 kqread sshd
77055 223486 4981 74 3 0x1100012 0x80 bpf pflogd
4981 423976 1 0 3 0 0x80 sbwait pflogd
8689 33876 40130 73 3 0x1100010 0x80 kqread syslogd
40130 210244 1 0 3 0x100002 0x80 sbwait syslogd
45254 407072 1 0 3 0x100000 0x80 kqread resolvd
2999 265792 75942 77 3 0x100012 0x80 kqread dhcpleased
63729 310756 75942 77 3 0x100012 0x80 kqread dhcpleased
75942 361839 1 0 3 0 0x80 kqread dhcpleased
53491 228310 0 0 3 0x14000 0x200 bored smr
47630 269898 0 0 3 0x14000 0x200 pgzero zerothread
12327 30776 0 0 3 0x14000 0x200 aiodoned aiodoned
88913 85493 0 0 3 0x14000 0x200 syncer update
28659 376261 0 0 3 0x14000 0x200 cleaner cleaner
24982 278170 0 0 3 0x14000 0x200 reaper reaper
28329 44954 0 0 3 0x14000 0x200 pgdaemon pagedaemon
82334 414802 0 0 3 0x14000 0x200 bored viomb
72201 465278 0 0 3 0x14000 0x40000200 acpi0 acpi0
88666 512083 0 0 7 0x14000 0x40000200 idle1
70364 344291 0 0 3 0x14000 0x200 bored softnet1
604 28316 0 0 3 0x14000 0x200 bored softnet0
81106 119176 0 0 3 0x14000 0x200 smrbar systqmp
46713 210696 0 0 3 0x14000 0x200 bored systq
32331 321118 0 0 3 0x14000 0x200 tmoslp softclockmp
44575 285732 0 0 3 0x14000 0x40000200 tmoslp softclock
20187 72670 0 0 3 0x14000 0x40000200 idle0
1 21923 0 0 3 0x2 0x80 wait init
0 0 -1 0 3 0x10000 0x200 scheduler swapper
ddb{0}> show all locks
Process 81106 (systqmp) thread 0xffff800045ffe7c8 (119176)
shared rwlock systqmp r = 0 (0xffffffff839ce5b8)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 taskq_thread+0x12a sys/kern/kern_task.c:442
#2 proc_trampoline+0x10
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11050 12084K 12093K 166960K 12144 0
pcb 17 12K 12K 166960K 17 0
rtable 237 6K 7K 166960K 351 0
pf 34 17K 18K 166960K 46 0
ifaddr 43 7K 7K 166960K 45 0
ifgroup 55 2K 2K 166960K 55 0
sysctl 1 1K 9K 166960K 5 0
counters 70 37K 37K 166960K 70 0
ioctlops 0 0K 4K 166960K 1486 0
iov 0 0K 12K 166960K 2 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1290 81K 81K 166960K 1361 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 1K 166960K 2 0
VM map 2 1K 1K 166960K 2 0
sem 2 0K 0K 166960K 2 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 10 33K 93K 166960K 134 0
proc 69 115K 180K 166960K 551 0
subproc 72 4K 4K 166960K 72 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 1 0
in_multi 99 6K 6K 166960K 101 0
ether_multi 1 0K 0K 166960K 1 0
mrt 0 0K 0K 166960K 1 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 31 148K 148K 166960K 31 0
exec 0 0K 1K 166960K 382 0
fusefs mount 1 32K 32K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 175 158K 169K 166960K 3081 0
UVM aobj 3 2K 2K 166960K 3 0
pinsyscall 35 70K 102K 166960K 1290 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
NDP 28 2K 2K 166960K 28 0
temp 33 9114K 9120K 166960K 3531 0
kqueue 13 20K 22K 166960K 26 0
SYN cache 2 16K 16K 166960K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 28 0 0 1 0 1 1 0 8 0
rtpcb 120 33 0 30 1 0 1 1 0 8 0
rtentry 176 111 0 1 5 0 5 5 0 8 0
unpcb 144 43 0 26 1 0 1 1 0 8 0
syncache 336 4 0 4 1 0 1 1 0 8 1
tcpcb 736 10 0 6 1 0 1 1 0 8 0
arp 136 18 0 0 1 0 1 1 0 8 0
inpcb 328 68 0 61 1 0 1 1 0 8 0
nd6 152 24 0 0 1 0 1 1 0 8 0
kcovpl 48 8 0 0 1 0 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
pfstitem 24 27 0 0 1 0 1 1 0 8 0
pfstkey 128 27 0 0 1 0 1 1 0 8 0
pfstate 448 27 0 0 3 0 3 3 0 8 0
pfrule 1360 21 0 16 2 1 1 2 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 452 0 0 29 0 29 29 0 8 0
art_table 40 453 0 0 5 0 5 5 0 8 0
art_node 32 111 0 10 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1571 0 101 92 0 92 92 0 8 0
ffsino 296 1571 0 101 114 0 114 114 0 8 0
nchpl 144 1765 0 68 64 0 64 64 0 8 0
vnodes 216 1659 0 0 93 0 93 93 0 8 0
namei 1024 6150 0 6150 3 1 2 2 0 8 2
percpumem 16 51 0 0 1 0 1 1 0 8 0
kstatmem 264 27 0 0 2 0 2 2 0 8 0
scxspl 216 6243 0 6243 4 2 2 3 1 8 2
plimitpl 152 31 0 14 1 0 1 1 0 8 0
sigapl 424 451 0 411 7 0 7 7 0 8 2
knotepl 120 55 0 0 2 0 2 2 0 8 0
kqueuepl 224 22 0 13 1 0 1 1 0 8 0
pipepl 344 126 0 99 3 0 3 3 0 8 0
fdescpl 528 435 0 411 3 0 3 3 0 8 1
filepl 160 1569 0 1362 9 0 9 9 0 8 0
lockfpl 104 6 0 4 1 0 1 1 0 8 0
lockfspl 48 4 0 2 1 0 1 1 0 8 0
sessionpl 144 25 0 16 1 0 1 1 0 8 0
pgrppl 48 33 0 16 1 0 1 1 0 8 0
ucredpl 104 85 0 72 1 0 1 1 0 8 0
zombiepl 144 412 0 411 1 0 1 1 0 8 0
processpl 1240 451 0 411 5 0 5 5 0 8 1
procpl 664 459 0 419 5 0 5 5 0 8 1
sockpl 752 144 0 117 4 0 4 4 0 8 1
mcl64k 65536 1 0 0 1 0 1 1 0 8 0
mcl16k 16384 1 0 0 1 0 1 1 0 8 0
mcl8k 8192 1 0 0 1 0 1 1 0 8 0
mcl4k 4096 118 0 0 15 0 15 15 0 8 0
mcl2k 2048 17 0 0 3 0 3 3 0 8 0
mextrefs 64 9 0 0 1 0 1 1 0 8 0
mtagpl 96 3 0 0 1 0 1 1 0 8 0
mbufpl 256 146 0 0 10 0 10 10 0 8 0
bufpl 272 2282 0 105 146 0 146 146 0 8 0
anonpl 32 3500 0 0 29 0 29 29 0 247 0
amapchunkpl 152 8000 0 7710 16 0 16 16 0 158 3
amappl16 200 1056 0 1045 4 0 4 4 0 8 3
amappl15 192 5 0 5 1 0 1 1 0 8 1
amappl14 184 433 0 432 1 0 1 1 0 8 0
amappl13 176 246 0 234 1 0 1 1 0 8 0
amappl12 168 688 0 665 2 0 2 2 0 8 0
amappl11 160 3 0 3 2 1 1 1 0 8 1
amappl10 152 64 0 50 1 0 1 1 0 8 0
amappl9 144 273 0 273 1 0 1 1 0 8 1
amappl8 136 99 0 97 1 0 1 1 0 8 0
amappl7 128 145 0 132 1 0 1 1 0 8 0
amappl6 120 193 0 192 1 0 1 1 0 8 0
amappl5 112 112 0 101 1 0 1 1 0 8 0
amappl4 104 292 0 273 1 0 1 1 0 8 0
amappl3 96 1418 0 1360 3 0 3 3 0 8 0
amappl2 88 552 0 484 2 0 2 2 0 8 0
amappl1 80 10536 0 9962 15 0 15 15 0 8 1
amappl 88 2354 0 2250 4 0 4 4 0 92 1
uvmvnodes 80 98 0 0 2 0 2 2 0 8 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 2 0 0 1 0 1 1 0 8 0
uaddrrnd 24 435 0 411 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 435 0 411 1 0 1 1 0 8 0
vmmpekpl 168 5664 0 5623 2 0 2 2 0 8 0
vmmpepl 168 37417 0 35901 85 0 85 85 0 357 10
vmsppl 488 434 0 411 5 0 5 5 0 8 2
rwobjpl 80 13771 0 12833 24 0 24 24 0 8 1
pdppl 4096 877 0 822 99 14 85 85 0 8 30
pvpl 32 9005 0 0 73 0 73 73 0 265 0
pmappl 256 434 0 411 3 0 3 3 0 8 1
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 417 0 18 12 0 12 12 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
in_ifdetach(ffff8000015f2000) at in_ifdetach+0x67 sys/netinet/in.c:1018
if_detach(ffff8000015f2000) at if_detach+0x2fe sys/net/if.c:1311
tun_clone_destroy(ffff8000015f2000) at tun_clone_destroy+0x2ce sys/net/if_tun.c:343
if_clone_destroy(ffff80002a2ca000) at if_clone_destroy+0x205 sys/net/if.c:1480
tun_dev_close(5d01,7) at tun_dev_close+0x1d9 sys/net/if_tun.c:526
spec_close(ffff80002a2ca0c0) at spec_close+0x417 sys/kern/spec_vnops.c:-1
VOP_CLOSE(fffff98070c9ee88,7,fffff980097fd4e0,ffff800045ffd4c8) at VOP_CLOSE+0x132 sys/kern/vfs_vops.c:156
vn_closefile(fffff9806cca7180,ffff800045ffd4c8) at vn_closefile+0x12b vn_close sys/kern/vfs_vnops.c:298 [inline]
vn_closefile(fffff9806cca7180,ffff800045ffd4c8) at vn_closefile+0x12b sys/kern/vfs_vnops.c:621
fdrop(fffff9806cca7180,ffff800045ffd4c8) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff9806cca7180,ffff800045ffd4c8) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff800045ffd4c8) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff800045ffd4c8,43,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff800045ffd4c8,ffff80002a2ca430,ffff80002a2ca380) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a2ca430) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a2ca430) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7a4a0b189880, count: -15
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff80002999dff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:394
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
acpicpu_idle() at acpicpu_idle+0x457 sys/dev/acpi/acpicpu_x86.c:1224
sched_idle(ffff80002999dff0) at sched_idle+0x371 sys/kern/kern_sched.c:192
end trace frame: 0x0, count: -5