panic: unhandled af 105

0 views
Skip to first unread message

syzbot

unread,
Dec 31, 2019, 7:51:10 AM12/31/19
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 44bcf650 include sys/sensors.h for sensor use
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=16a0649ee00000
kernel config: https://syzkaller.appspot.com/x/.config?x=bf87b6915a88cd0d
dashboard link: https://syzkaller.appspot.com/bug?extid=a641fd000eac36c445a0

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+a641fd...@syzkaller.appspotmail.com

panic: unhandled af 105
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
11692 40975 0 0 0 0 syz-executor.0
*123725 40975 0 0 0x4000000 1K syz-executor.0
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff821da3f7) at panic+0x15c sys/kern/subr_prf.c:207
unhandled_af(69) at unhandled_af+0x16
pf_addrcpy(ffff800023d974c8,ffff800023d977c0,69) at pf_addrcpy+0x99
sys/net/pf.c:409
pfioctl(4900,c0504417,ffff800023d977c0,1,ffff800020ac89f8) at
pfioctl+0x43cf sys/net/pf_ioctl.c:1827
VOP_IOCTL(fffffd806f6c91c0,c0504417,ffff800023d977c0,1,fffffd807f7beb40,ffff800020ac89f8)
at
VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291
vn_ioctl(fffffd806c9a5568,c0504417,ffff800023d977c0,ffff800020ac89f8) at
vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533
sys_ioctl(ffff800020ac89f8,ffff800023d978d8,ffff800023d97920) at
sys_ioctl+0x5b9
syscall(ffff800023d979a0) at syscall+0x4a4 mi_syscall
sys/sys/syscall_mi.h:92 [inline]
syscall(ffff800023d979a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1224292ca10, 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{1}>
ddb{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
unhandled af 105
ddb{1}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff821da3f7) at panic+0x15c sys/kern/subr_prf.c:207
unhandled_af(69) at unhandled_af+0x16
pf_addrcpy(ffff800023d974c8,ffff800023d977c0,69) at pf_addrcpy+0x99
sys/net/pf.c:409
pfioctl(4900,c0504417,ffff800023d977c0,1,ffff800020ac89f8) at
pfioctl+0x43cf sys/net/pf_ioctl.c:1827
VOP_IOCTL(fffffd806f6c91c0,c0504417,ffff800023d977c0,1,fffffd807f7beb40,ffff800020ac89f8)
at
VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291
vn_ioctl(fffffd806c9a5568,c0504417,ffff800023d977c0,ffff800020ac89f8) at
vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533
sys_ioctl(ffff800020ac89f8,ffff800023d978d8,ffff800023d97920) at
sys_ioctl+0x5b9
syscall(ffff800023d979a0) at syscall+0x4a4 mi_syscall
sys/sys/syscall_mi.h:92 [inline]
syscall(ffff800023d979a0) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x1224292ca10, count: -10
ddb{1}> show registers
rdi 0xffffffff81e5f0e7 db_enter+0x17
rsi 0xc1b
rbp 0xffff800023d97380
rbx 0xffff800023d97430
rdx 0xc1c
rcx 0xffff800020d7c000
rax 0xffff800020d7c000
r8 0xffffffff81bb9caf kprintf+0x16f
r9 0x1
r10 0x25
r11 0xe99b0bf2c314678e
r12 0x3000000008
r13 0xffff800023d97390
r14 0x100
r15 0x1
rip 0xffffffff81e5f0e8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff800023d97370
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor.0) pid=123725 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=86, usrpri=86, nice=20
forw=0xffffffffffffffff, list=0xffff800020ac9160,0xffffffff8263bd38
process=0xffff800020af5548 user=0xffff800023d92000,
vmspace=0xfffffd807efff8a0
estcpu=36, cpticks=1, pctcpu=0.0
user=0, sys=0, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
40975 11692 54662 0 7 0 syz-executor.0
40975 176617 54662 0 3 0x4000080 fsleep syz-executor.0
*40975 123725 54662 0 7 0x4000000 syz-executor.0
66280 247961 19093 0 3 0x2 biowait syz-executor.1
38688 197385 0 0 3 0x14200 bored sosplice
54662 150971 19093 0 3 0x82 nanosleep syz-executor.0
19093 309790 6611 0 3 0x82 thrsleep syz-fuzzer
19093 350218 6611 0 3 0x4000082 nanosleep syz-fuzzer
19093 115830 6611 0 3 0x4000082 thrsleep syz-fuzzer
19093 244123 6611 0 3 0x4000082 kqread syz-fuzzer
19093 324130 6611 0 3 0x4000082 thrsleep syz-fuzzer
19093 426625 6611 0 3 0x4000082 thrsleep syz-fuzzer
19093 520649 6611 0 3 0x4000082 thrsleep syz-fuzzer
19093 259635 6611 0 3 0x4000082 nanosleep syz-fuzzer
19093 11604 6611 0 3 0x4000082 thrsleep syz-fuzzer
19093 352360 6611 0 3 0x4000082 thrsleep syz-fuzzer
6611 448356 34052 0 3 0x10008a pause ksh
34052 78517 57548 0 3 0x92 select sshd
19816 152672 1 0 3 0x100083 ttyin getty
57548 322852 1 0 3 0x80 select sshd
32063 194492 38473 74 3 0x100092 bpf pflogd
38473 233919 1 0 3 0x80 netio pflogd
92456 489341 31270 73 3 0x100090 kqread syslogd
31270 331766 1 0 3 0x100082 netio syslogd
40641 442970 1 77 3 0x100090 poll dhclient
19618 469897 1 0 3 0x80 poll dhclient
33332 279969 0 0 3 0x14200 pgzero zerothread
13731 72527 0 0 3 0x14200 aiodoned aiodoned
5886 374744 0 0 3 0x14200 syncer update
76165 97890 0 0 3 0x14200 cleaner cleaner
8379 327136 0 0 3 0x14200 reaper reaper
2403 485920 0 0 3 0x14200 pgdaemon pagedaemon
38784 459979 0 0 3 0x14200 bored crynlk
59422 197649 0 0 3 0x14200 bored crypto
56633 342493 0 0 3 0x40014200 acpi0 acpi0
72373 236394 0 0 3 0x40014200 idle1
10955 287857 0 0 3 0x14200 bored softnet
36949 192906 0 0 3 0x14200 bored systqmp
82818 195410 0 0 3 0x14200 bored systq
50992 161525 0 0 3 0x40014200 bored softclock
37536 460863 0 0 3 0x40014200 idle0
64875 413715 0 0 3 0x14200 bored smr
1 208129 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 40975 (syz-executor.0) thread 0xffff800020ac89f8 (123725)
exclusive rwlock netlock r = 0 (0xffffffff82508618)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 pfioctl+0x15f sys/net/pf_ioctl.c:1028
#2 VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291
#3 vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533
#4 sys_ioctl+0x5b9
#5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#6 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8261bd50)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline]
#1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555
#2 Xsyscall+0x128
Process 66280 (syz-executor.1) thread 0xffff800020ac9650 (247961)
exclusive rrwlock inode r = 0 (0xfffffd8076e4bf80)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 rw_enter+0x453 sys/kern/kern_rwlock.c:309
#2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453
#3 VOP_LOCK+0xf9 sys/kern/vfs_vops.c:615
#4 vn_lock+0x81 sys/kern/vfs_vnops.c:571
#5 vget+0x1c8 sys/kern/vfs_subr.c:671
#6 ufs_ihashget+0x141 sys/ufs/ufs/ufs_ihash.c:119
#7 ffs_vget+0x74 sys/ufs/ffs/ffs_vfsops.c:1323
#8 ufs_lookup+0x14b4 sys/ufs/ufs/ufs_lookup.c:487
#9 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91
#10 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568
#11 namei+0x63c sys/kern/vfs_lookup.c:249
#12 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1776
#13 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#13 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffffd8076e4b700)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 rw_enter+0x453 sys/kern/kern_rwlock.c:309
#2 rrw_enter+0x88 sys/kern/kern_rwlock.c:453
#3 VOP_LOCK+0xf9 sys/kern/vfs_vops.c:615
#4 vn_lock+0x81 sys/kern/vfs_vnops.c:571
#5 vget+0x1c8 sys/kern/vfs_subr.c:671
#6 cache_lookup+0x2bb sys/kern/vfs_cache.c:224
#7 ufs_lookup+0x1bc sys/ufs/ufs/ufs_lookup.c:162
#8 VOP_LOOKUP+0x5b sys/kern/vfs_vops.c:91
#9 vfs_lookup+0x7a6 sys/kern/vfs_lookup.c:568
#10 namei+0x63c sys/kern/vfs_lookup.c:249
#11 dounlinkat+0x99 sys/kern/vfs_syscalls.c:1776
#12 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#12 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#13 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9481 6409K 6417K 78643K 11129 0
pcb 13 8K 8K 78643K 56 0
rtable 105 3K 3K 78643K 255 0
ifaddr 49 11K 11K 78643K 58 0
counters 39 33K 33K 78643K 39 0
ioctlops 0 0K 4K 78643K 1528 0
iov 0 0K 8K 78643K 32 0
mount 1 1K 1K 78643K 1 0
vnodes 1221 77K 77K 78643K 1576 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 13 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1809 196K 290K 78643K 12766 0
file desc 5 13K 25K 78643K 9138 0
proc 82 64K 84K 78643K 636 0
subproc 32 2K 2K 78643K 51 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 2 0K 0K 78643K 260 0
in_multi 34 2K 2K 78643K 111 0
ether_multi 1 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 226 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 102 21K 22K 78643K 19740 0
UVM aobj 13 2K 2K 78643K 22 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 2 0
NDP 7 0K 0K 78643K 14 0
temp 82 3014K 3078K 78643K 26468 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 8 0 2 1 0 1 1 0
8 0
plcache 128 20 0 0 1 0 1 1 0
8 0
rtpcb 80 49 0 47 1 0 1 1 0
8 0
rtentry 112 55 0 11 2 0 2 2 0
8 0
unpcb 120 8698 0 8688 1 0 1 1 0
8 0
syncache 264 4 0 4 1 1 0 1 0
8 0
sackhl 24 2 0 2 2 2 0 1 0
8 0
tcpcb 544 202 0 198 1 0 1 1 0
8 0
inpcb 280 8272 0 8260 3 1 2 2 0
8 1
nd6 48 6 0 2 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
pfstitem 24 47 0 45 1 0 1 1 0
8 0
pfstkey 112 47 0 45 2 1 1 2 0
8 0
pfstate 328 47 0 45 4 3 1 4 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 255 0 43 14 0 14 14 0
8 0
art_table 32 256 0 43 2 0 2 2 0
8 0
art_node 16 54 0 14 1 0 1 1 0
8 0
sysvmsgpl 40 62 0 22 2 1 1 1 0
8 0
semupl 112 1 0 1 1 0 1 1 0
8 1
semapl 112 11 0 1 1 0 1 1 0
8 0
shmpl 112 20 0 9 1 0 1 1 0
8 0
dirhash 1024 17 0 0 3 0 3 3 0
8 0
dino1pl 128 10995 0 9586 46 0 46 46 0
8 0
ffsino 272 10995 0 9586 95 0 95 95 0
8 0
nchpl 144 21104 0 19498 62 1 61 61 0
8 0
uvmvnodes 72 5926 0 0 108 0 108 108 0
8 0
vnodes 208 5926 0 0 312 0 312 312 0
8 0
namei 1024 47049 0 47049 1 0 1 1 0
8 1
percpumem 16 30 0 0 1 0 1 1 0
8 0
scxspl 192 62156 0 62155 8 7 1 7 0
8 0
plimitpl 152 49 0 41 1 0 1 1 0
8 0
sigapl 432 9334 0 9319 3 1 2 3 0
8 0
futexpl 56 42449 0 42448 1 0 1 1 0
8 0
knotepl 112 77 0 58 1 0 1 1 0
8 0
kqueuepl 104 155 0 153 1 0 1 1 0
8 0
pipepl 112 1050 0 1031 1 0 1 1 0
8 0
fdescpl 488 9335 0 9319 3 0 3 3 0
8 0
filepl 152 32066 0 31958 8 2 6 6 0
8 1
lockfpl 104 752 0 751 1 0 1 1 0
8 0
lockfspl 48 280 0 279 1 0 1 1 0
8 0
sessionpl 112 19 0 8 1 0 1 1 0
8 0
pgrppl 48 61 0 50 1 0 1 1 0
8 0
ucredpl 96 1681 0 1672 1 0 1 1 0
8 0
zombiepl 144 9319 0 9319 1 0 1 1 0
8 1
processpl 904 9351 0 9319 4 0 4 4 0
8 0
procpl 632 18858 0 18815 7 2 5 5 0
8 1
srpgc 64 2 0 2 1 1 0 1 0
8 0
sosppl 128 43 0 43 2 2 0 1 0
8 0
sockpl 384 17019 0 16995 9 5 4 4 0
8 1
mcl16k 16384 7 0 0 1 0 1 1 0
8 0
mcl12k 12288 4 0 0 1 0 1 1 0
8 0
mcl9k 9216 25 0 0 2 0 2 2 0
8 0
mcl8k 8192 17 0 0 3 0 3 3 0
8 0
mcl4k 4096 17 0 0 3 0 3 3 0
8 0
mcl2k 2048 130 0 0 15 1 14 15 0
8 0
mtagpl 80 1 0 0 1 0 1 1 0
8 0
mbufpl 256 326 0 0 10 0 10 10 0
8 0
bufpl 280 16249 0 9179 506 0 506 506 0
8 0
anonpl 16 550958 0 546611 39 19 20 30 0
125 0
amapchunkpl 152 30978 0 30883 16 11 5 12 0
158 0
amappl16 192 35724 0 35514 14 3 11 11 0
8 0
amappl15 184 69 0 66 1 0 1 1 0
8 0
amappl14 176 45 0 42 1 0 1 1 0
8 0
amappl13 168 3 0 2 1 0 1 1 0
8 0
amappl12 160 764 0 762 2 1 1 1 0
8 0
amappl11 152 4537 0 4520 1 0 1 1 0
8 0
amappl10 144 3902 0 3898 1 0 1 1 0
8 0
amappl9 136 657 0 653 1 0 1 1 0
8 0
amappl8 128 123 0 103 1 0 1 1 0
8 0
amappl7 120 3853 0 3841 1 0 1 1 0
8 0
amappl6 112 4535 0 4526 1 0 1 1 0
8 0
amappl5 104 861 0 849 1 0 1 1 0
8 0
amappl4 96 9309 0 9275 2 1 1 2 0
8 0
amappl3 88 289 0 282 1 0 1 1 0
8 0
amappl2 80 71176 0 71101 3 1 2 3 0
8 0
amappl1 72 162715 0 162270 25 15 10 20 0
8 0
amappl 80 19128 0 19090 1 0 1 1 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 21 0 9 1 0 1 1 0
8 0
uaddrrnd 24 9335 0 9319 1 0 1 1 0
8 0
uaddrbest 32 2 0 0 1 0 1 1 0
8 0
uaddr 24 9335 0 9319 1 0 1 1 0
8 0
vmmpekpl 168 29902 0 29868 2 0 2 2 0
8 0
vmmpepl 168 1029506 0 1028135 101 35 66 82 0
357 6
vmsppl 368 9334 0 9319 2 0 2 2 0
8 0
pdppl 4096 18677 0 18638 6 0 6 6 0
8 1
pvpl 32 1614871 0 1607318 173 105 68 118 0
265 3
pmappl 232 9334 0 9319 2 1 1 2 0
8 0
extentpl 40 46 0 29 1 0 1 1 0
8 0
phpool 112 163 0 4 5 0 5 5 0
8 0


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Dec 31, 2019, 8:07:12 AM12/31/19
to syzkaller-o...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 44bcf650 include sys/sensors.h for sensor use
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=16bace15e00000
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=16098799e00000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=11e32615e00000

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+a641fd...@syzkaller.appspotmail.com

login: panic: unhandled af 105
Stopped at db_enter+0x18: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
392239 93667 0 0x2 0 1 syz-executor7579
*294894 93667 0 0x2 0x4000000 0K syz-executor7579
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff821da3f7) at panic+0x15c sys/kern/subr_prf.c:207
unhandled_af(69) at unhandled_af+0x16
pf_addrcpy(ffff800020b27928,ffff800020b27c20,69) at pf_addrcpy+0x99
sys/net/pf.c:409
pfioctl(4900,c0504417,ffff800020b27c20,1,ffff800020ad8010) at
pfioctl+0x43cf sys/net/pf_ioctl.c:1827
VOP_IOCTL(fffffd806f6d4500,c0504417,ffff800020b27c20,1,fffffd807f7beb40,ffff800020ad8010)
at
VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291
vn_ioctl(fffffd8078e2c688,c0504417,ffff800020b27c20,ffff800020ad8010) at
vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533
sys_ioctl(ffff800020ad8010,ffff800020b27d38,ffff800020b27d80) at
sys_ioctl+0x5b9
syscall(ffff800020b27e00) at syscall+0x4a4 mi_syscall
sys/sys/syscall_mi.h:92 [inline]
syscall(ffff800020b27e00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8318706b1d0, 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{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
unhandled af 105
ddb{0}> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff821da3f7) at panic+0x15c sys/kern/subr_prf.c:207
unhandled_af(69) at unhandled_af+0x16
pf_addrcpy(ffff800020b27928,ffff800020b27c20,69) at pf_addrcpy+0x99
sys/net/pf.c:409
pfioctl(4900,c0504417,ffff800020b27c20,1,ffff800020ad8010) at
pfioctl+0x43cf sys/net/pf_ioctl.c:1827
VOP_IOCTL(fffffd806f6d4500,c0504417,ffff800020b27c20,1,fffffd807f7beb40,ffff800020ad8010)
at
VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291
vn_ioctl(fffffd8078e2c688,c0504417,ffff800020b27c20,ffff800020ad8010) at
vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533
sys_ioctl(ffff800020ad8010,ffff800020b27d38,ffff800020b27d80) at
sys_ioctl+0x5b9
syscall(ffff800020b27e00) at syscall+0x4a4 mi_syscall
sys/sys/syscall_mi.h:92 [inline]
syscall(ffff800020b27e00) at syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x8318706b1d0, count: -10
ddb{0}> show registers
rdi 0
rsi 0x1
rbp 0xffff800020b277e0
rbx 0xffff800020b27890
rdx 0x8b
rcx 0x2
rax 0x1
r8 0xffffffff81bb9caf kprintf+0x16f
r9 0x1
r10 0x979886ce53a2ca24
r11 0xb238c2826025407b
r12 0x3000000008
r13 0xffff800020b277f0
r14 0x100
r15 0x1
rip 0xffffffff81e5f0e8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff800020b277d0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb{0}> show proc
PROC (syz-executor7579) pid=294894 stat=onproc
flags process=2<EXEC> proc=4000000<THREAD>
pri=52, usrpri=52, nice=20
forw=0xffffffffffffffff, list=0xffff800020ad8c68,0xffffffff8263bd38
process=0xffff800020aa2aa8 user=0xffff800020b22000,
vmspace=0xfffffd806e79a5c8
estcpu=2, cpticks=0, pctcpu=0.0
user=0, sys=0, intr=0
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
93667 392239 1238 0 7 0x2 syz-executor7579
93667 125830 1238 0 3 0x4000082 fsleep syz-executor7579
*93667 294894 1238 0 7 0x4000002 syz-executor7579
1238 136007 70086 0 3 0x10008a pause ksh
70086 252226 60983 0 3 0x92 select sshd
85535 481078 1 0 3 0x100083 ttyin getty
60983 48532 1 0 3 0x80 select sshd
7965 46224 72382 74 3 0x100092 bpf pflogd
72382 436726 1 0 3 0x80 netio pflogd
667 280774 7541 73 3 0x100090 kqread syslogd
7541 167861 1 0 3 0x100082 netio syslogd
34893 164539 1 77 3 0x100090 poll dhclient
25208 331737 1 0 3 0x80 poll dhclient
83941 130165 0 0 2 0x14200 zerothread
7798 474182 0 0 3 0x14200 aiodoned aiodoned
56908 505366 0 0 3 0x14200 syncer update
78142 51641 0 0 3 0x14200 cleaner cleaner
10771 197262 0 0 3 0x14200 reaper reaper
18 445628 0 0 3 0x14200 pgdaemon pagedaemon
15653 99811 0 0 3 0x14200 bored crynlk
68121 95044 0 0 3 0x14200 bored crypto
12441 297392 0 0 3 0x40014200 acpi0 acpi0
11422 38631 0 0 3 0x40014200 idle1
39124 405685 0 0 3 0x14200 bored softnet
64607 106328 0 0 3 0x14200 bored systqmp
34512 432578 0 0 3 0x14200 bored systq
72730 292801 0 0 3 0x40014200 bored softclock
85292 176494 0 0 3 0x40014200 idle0
3612 190824 0 0 3 0x14200 bored smr
1 227434 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
Process 93667 (syz-executor7579) thread 0xffff800020ad8010 (294894)
exclusive rwlock netlock r = 0 (0xffffffff82508618)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 pfioctl+0x15f sys/net/pf_ioctl.c:1028
#2 VOP_IOCTL+0x88 sys/kern/vfs_vops.c:291
#3 vn_ioctl+0xb7 sys/kern/vfs_vnops.c:533
#4 sys_ioctl+0x5b9
#5 syscall+0x4a4 mi_syscall sys/sys/syscall_mi.h:92 [inline]
#5 syscall+0x4a4 sys/arch/amd64/amd64/trap.c:555
#6 Xsyscall+0x128
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff8261bd50)
#0 witness_lock+0x52e sys/kern/subr_witness.c:1163
#1 syscall+0x400 mi_syscall sys/sys/syscall_mi.h:83 [inline]
#1 syscall+0x400 sys/arch/amd64/amd64/trap.c:555
#2 Xsyscall+0x128
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9461 6393K 6394K 78643K 10552 0
pcb 13 8K 8K 78643K 13 0
rtable 61 2K 2K 78643K 127 0
ifaddr 29 8K 8K 78643K 30 0
counters 39 33K 33K 78643K 39 0
ioctlops 0 0K 4K 78643K 1467 0
mount 1 1K 1K 78643K 1 0
vnodes 1181 74K 74K 78643K 1186 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 1K 78643K 2 0
VM map 2 1K 1K 78643K 2 0
sem 2 0K 0K 78643K 2 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1809 196K 290K 78643K 12766 0
file desc 1 0K 0K 78643K 1 0
proc 59 63K 71K 78643K 358 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
in_multi 11 0K 0K 78643K 11 0
ether_multi 1 0K 0K 78643K 1 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 19 95K 95K 78643K 19 0
exec 0 0K 1K 78643K 177 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 69 3K 3K 78643K 819 0
UVM aobj 2 2K 2K 78643K 2 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
NDP 4 0K 0K 78643K 4 0
temp 26 3007K 3071K 78643K 1977 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
arp 64 2 0 0 1 0 1 1 0
8 0
plcache 128 20 0 0 1 0 1 1 0
8 0
rtpcb 80 15 0 13 1 0 1 1 0
8 0
rtentry 112 23 0 1 1 0 1 1 0
8 0
unpcb 120 29 0 19 1 0 1 1 0
8 0
syncache 264 5 0 5 2 1 1 1 0
8 1
tcpcb 544 8 0 5 1 0 1 1 0
8 0
inpcb 280 29 0 23 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
pfstitem 24 8 0 0 1 0 1 1 0
8 0
pfstkey 112 8 0 0 1 0 1 1 0
8 0
pfstate 328 8 0 0 1 0 1 1 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 97 0 0 7 0 7 7 0
8 0
art_table 32 98 0 0 1 0 1 1 0
8 0
art_node 16 22 0 2 1 0 1 1 0
8 0
dirhash 1024 17 0 0 3 0 3 3 0
8 0
dino1pl 128 1401 0 16 45 0 45 45 0
8 0
ffsino 272 1401 0 16 93 0 93 93 0
8 0
nchpl 144 1577 0 34 58 0 58 58 0
8 0
uvmvnodes 72 1411 0 0 26 0 26 26 0
8 0
vnodes 208 1411 0 0 75 0 75 75 0
8 0
namei 1024 3774 0 3774 2 1 1 1 0
8 1
percpumem 16 30 0 0 1 0 1 1 0
8 0
scxspl 192 2548 0 2548 2 1 1 2 0
8 1
plimitpl 152 14 0 8 1 0 1 1 0
8 0
sigapl 432 204 0 192 2 0 2 2 0
8 0
futexpl 56 1 0 0 1 0 1 1 0
8 0
knotepl 112 5 0 0 1 0 1 1 0
8 0
kqueuepl 104 1 0 0 1 0 1 1 0
8 0
pipepl 112 128 0 121 2 1 1 1 0
8 0
fdescpl 488 205 0 192 3 0 3 3 0
8 0
filepl 152 998 0 948 2 0 2 2 0
8 0
lockfpl 104 5 0 4 1 0 1 1 0
8 0
lockfspl 48 3 0 2 1 0 1 1 0
8 0
sessionpl 112 18 0 9 1 0 1 1 0
8 0
pgrppl 48 18 0 9 1 0 1 1 0
8 0
ucredpl 96 52 0 43 1 0 1 1 0
8 0
zombiepl 144 192 0 192 2 1 1 1 0
8 1
processpl 904 220 0 192 4 0 4 4 0
8 0
procpl 632 222 0 192 3 0 3 3 0
8 0
sockpl 384 73 0 55 2 0 2 2 0
8 0
mcl4k 4096 3 0 0 1 0 1 1 0
8 0
mcl2k 2048 64 0 0 8 0 8 8 0
8 0
mtagpl 80 1 0 0 1 0 1 1 0
8 0
mbufpl 256 78 0 0 5 0 5 5 0
8 0
bufpl 280 2210 0 274 139 0 139 139 0
8 0
anonpl 16 19294 0 17996 7 1 6 7 0
125 0
amapchunkpl 152 529 0 487 2 0 2 2 0
158 0
amappl16 192 31 0 29 1 0 1 1 0
8 0
amappl15 184 50 0 47 1 0 1 1 0
8 0
amappl14 176 15 0 14 2 1 1 1 0
8 0
amappl12 160 3 0 3 2 1 1 1 0
8 1
amappl11 152 47 0 32 1 0 1 1 0
8 0
amappl10 144 6 0 3 1 0 1 1 0
8 0
amappl9 136 422 0 421 1 0 1 1 0
8 0
amappl8 128 71 0 66 1 0 1 1 0
8 0
amappl7 120 76 0 67 1 0 1 1 0
8 0
amappl6 112 48 0 45 1 0 1 1 0
8 0
amappl5 104 130 0 117 1 0 1 1 0
8 0
amappl4 96 460 0 434 1 0 1 1 0
8 0
amappl3 88 109 0 101 1 0 1 1 0
8 0
amappl2 80 810 0 746 2 0 2 2 0
8 0
amappl1 72 13895 0 13447 15 5 10 15 0
8 0
amappl 80 410 0 387 1 0 1 1 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 1 0 0 1 0 1 1 0
8 0
uaddrrnd 24 205 0 192 1 0 1 1 0
8 0
uaddrbest 32 2 0 0 1 0 1 1 0
8 0
uaddr 24 205 0 192 1 0 1 1 0
8 0
vmmpekpl 168 5365 0 5344 2 1 1 2 0
8 0
vmmpepl 168 29710 0 28799 51 10 41 49 0
357 1
vmsppl 368 204 0 192 2 0 2 2 0
8 0
pdppl 4096 417 0 384 5 0 5 5 0
8 0
pvpl 32 79487 0 76413 32 3 29 29 0
265 2
pmappl 232 204 0 192 1 0 1 1 0
8 0
extentpl 40 46 0 29 1 0 1 1 0
8 0
phpool 112 136 0 4 4 0 4 4 0
8 0

Greg Steuck

unread,
Dec 31, 2019, 9:05:57 PM12/31/19
to syzbot, syzkaller-o...@googlegroups.com
#syz dup: panic: unhandled af 38

--
You received this message because you are subscribed to the Google Groups "syzkaller-openbsd-bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to syzkaller-openbsd...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/syzkaller-openbsd-bugs/0000000000004f0a82059affa359%40google.com.


--
nest.cx is Gmail hosted, use PGP: https://pgp.key-server.io/0x0B1542BD8DF5A1B0
Fingerprint: 5E2B 2D0E 1E03 2046 BEC3  4D50 0B15 42BD 8DF5 A1B0

Anton Lindqvist

unread,
Jan 3, 2020, 7:46:49 AM1/3/20
to syzbot, syzkaller-o...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages