panic: pfi_dynaddr_setup: dyn is 0x8

瀏覽次數:0 次
跳到第一則未讀訊息

syzbot

未讀,
2020年4月30日 凌晨1:21:162020/4/30
收件者:syzkaller-f...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 2338a28d Add nhop to the ifa_rtrequest() callback.
git tree: freebsd
console output: https://syzkaller.appspot.com/x/log.txt?x=11de2d40100000
dashboard link: https://syzkaller.appspot.com/bug?extid=88a19565ee1ad33fb61d

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+88a195...@syzkaller.appspotmail.com

panic: pfi_dynaddr_setup: dyn is 0x8
cpuid = 0
time = 167
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0025809110
vpanic() at vpanic+0x1c7/frame 0xfffffe0025809170
panic() at panic+0x43/frame 0xfffffe00258091d0
pfi_dynaddr_setup() at pfi_dynaddr_setup+0x590/frame 0xfffffe0025809260
pfioctl() at pfioctl+0x6e4f/frame 0xfffffe0025809790
devfs_ioctl() at devfs_ioctl+0x14e/frame 0xfffffe00258097f0
VOP_IOCTL_APV() at VOP_IOCTL_APV+0x78/frame 0xfffffe0025809820
vn_ioctl() at vn_ioctl+0x27c/frame 0xfffffe0025809940
devfs_ioctl_f() at devfs_ioctl_f+0x47/frame 0xfffffe0025809980
kern_ioctl() at kern_ioctl+0x3d4/frame 0xfffffe00258099f0
sys_ioctl() at sys_ioctl+0x22b/frame 0xfffffe0025809ac0
amd64_syscall() at amd64_syscall+0x262/frame 0xfffffe0025809bf0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0025809bf0
--- syscall (198, FreeBSD ELF64, nosys), rip = 0x80071d48a, rsp = 0x7fffdffbbf38, rbp = 0x3 ---
KDB: enter: panic
[ thread pid 2685 tid 100426 ]
Stopped at kdb_enter+0x67: movq $0,0x14a96a6(%rip)
db>
db> set $lines = 0
db> set $maxwidth = 0
db> show registers
cs 0x20
ds 0x3b ll+0x1a
es 0x3b ll+0x1a
fs 0x13
gs 0x1b
ss 0x28 ll+0x7
rax 0x12
rcx 0xfffffe0026a00000
rdx 0x3ffff
rbx 0
rsp 0xfffffe00258090f0
rbp 0xfffffe0025809110
rsi 0x40001
rdi 0xffffffff810b8f46 vprintf+0x176
r8 0
r9 0xffffffff
r10 0
r11 0xfffffe0025c62300
r12 0xffffffff82068ea0 ddb_dbbe
r13 0
r14 0xffffffff8194403f
r15 0xffffffff8194403f
rip 0xffffffff810ae1c7 kdb_enter+0x67
rflags 0x86 ll+0x65
kdb_enter+0x67: movq $0,0x14a96a6(%rip)
db> show proc
Process 2685 (syz-executor.1) at 0xfffff800125fd520:
state: NORMAL
uid: 0 gids: 0, 0, 5
parent: pid 2467 at 0xfffff80012ba3a40
ABI: FreeBSD ELF64
arguments: /root/syz-executor.1
reaper: 0xfffff80003304000 reapsubtree: 1
sigparent: 20
vmspace: 0xfffffe0025b8c9e8
(map 0xfffffe0025b8c9e8)
(map.pmap 0xfffffe0025b8caa8)
(pmap 0xfffffe0025b8cb08)
threads: 4
100113 RunQ syz-executor.1
100410 S pipdwt 0xfffff80003c85a50 syz-executor.1
100424 RunQ syz-executor.1
100426 Run CPU 0 syz-executor.1
db> ps
pid ppid pgrp uid state wmesg wchan cmd
2686 2671 2671 0 R (threaded) syz-executor.0
100161 RunQ syz-executor.0
100421 Run CPU 1 syz-executor.0
2685 2467 2467 0 R (threaded) syz-executor.1
100113 RunQ syz-executor.1
100410 S pipdwt 0xfffff80003c85a50 syz-executor.1
100424 RunQ syz-executor.1
100426 Run CPU 0 syz-executor.1
2683 2650 2650 0 T (threaded) syz-executor.2
100612 s syz-executor.2
100417 D biowr 0xfffffe00041e3500 syz-executor.2
2682 1588 1588 0 S (threaded) syz-executor.3
100121 S nanslp 0xffffffff8252c1e0 syz-executor.3
100405 S sbwait 0xfffffe002399b37c syz-executor.3
100414 S uwait 0xfffff800121d6980 syz-executor.3
100422 S uwait 0xfffff800121d6580 syz-executor.3
2671 768 2671 0 Ss nanslp 0xffffffff8252c1e0 syz-executor.0
2662 2641 2662 0 Ss select 0xfffff8000308f7c0 dhclient
2650 768 2650 0 Rs syz-executor.2
2644 1 2644 0 Ss select 0xfffff800121d6240 dhclient
2641 2634 424 65 S select 0xfffff80003bf58c0 dhclient
2634 424 424 0 S wait 0xfffff80012ba3520 sh
2467 768 2467 0 Rs syz-executor.1
1588 768 1588 0 Ss nanslp 0xffffffff8252c1e0 syz-executor.3
768 766 766 0 S (threaded) syz-fuzzer
100105 S uwait 0xfffff800121d9500 syz-fuzzer
100106 S uwait 0xfffff800121d9700 syz-fuzzer
100107 S uwait 0xfffff800121d9800 syz-fuzzer
100108 S uwait 0xfffff800121d9900 syz-fuzzer
100109 S uwait 0xfffff800121d9a00 syz-fuzzer
100110 S uwait 0xfffff80003bf2600 syz-fuzzer
100111 S uwait 0xfffff8000308e580 syz-fuzzer
100112 S uwait 0xfffff8000308e680 syz-fuzzer
100114 S uwait 0xfffff80003bf2800 syz-fuzzer
100115 S kqread 0xfffff8001242d400 syz-fuzzer
100116 S uwait 0xfffff8000308fd80 syz-fuzzer
766 764 766 0 Ss pause 0xfffff800124cb0a8 csh
764 682 764 0 Ss select 0xfffff8000308f940 sshd
748 1 748 0 Ss+ ttyin 0xfffff8000380bcb0 getty
747 1 747 0 Ss+ ttyin 0xfffff8000380a8b0 getty
746 1 746 0 Ss+ ttyin 0xfffff8000380acb0 getty
745 1 745 0 Ss+ ttyin 0xfffff800038090b0 getty
744 1 744 0 Ss+ ttyin 0xfffff800038094b0 getty
743 1 743 0 Ss+ ttyin 0xfffff800038098b0 getty
742 1 742 0 Ss+ ttyin 0xfffff80003809cb0 getty
741 1 741 0 Ss+ ttyin 0xfffff8000380c0b0 getty
740 1 740 0 Ss+ ttyin 0xfffff8000380c4b0 getty
686 1 686 0 Ss nanslp 0xffffffff8252c1e1 cron
682 1 682 0 Ss select 0xfffff80003bf5240 sshd
495 1 495 0 Ss select 0xfffff80003bf52c0 syslogd
424 1 424 0 Ss wait 0xfffff80003c9b520 devd
423 1 423 65 Ss select 0xfffff8000308e040 dhclient
338 1 338 0 Ss select 0xfffff80003bf5540 dhclient
335 1 335 0 Ss select 0xfffff80003bf5440 dhclient
23 0 0 0 DL syncer 0xffffffff82618118 [syncer]
22 0 0 0 DL vlruwt 0xfffff80003ad8000 [vnlru]
21 0 0 0 DL (threaded) [bufdaemon]
100069 D qsleep 0xffffffff82617438 [bufdaemon]
100075 D - 0xffffffff8200aa00 [bufspacedaemon-0]
100088 D sdflush 0xfffff80003cf2ce8 [/ worker]
20 0 0 0 DL psleep 0xffffffff8263e308 [vmdaemon]
19 0 0 0 DL (threaded) [pagedaemon]
100067 D psleep 0xffffffff826328d8 [dom0]
100074 D launds 0xffffffff826328e4 [laundry: dom0]
100076 D umarcl 0xffffffff81545a10 [uma]
18 0 0 0 RL [rand_harvestq]
17 0 0 0 DL pftm 0xffffffff82bb23a0 [pf purge]
16 0 0 0 DL waiting 0xffffffff8261a890 [sctp_iterator]
15 0 0 0 DL - 0xffffffff82616a2c [soaiod4]
9 0 0 0 DL - 0xffffffff82616a2c [soaiod3]
8 0 0 0 DL - 0xffffffff82616a2c [soaiod2]
7 0 0 0 DL - 0xffffffff82616a2c [soaiod1]
6 0 0 0 DL (threaded) [cam]
100033 D - 0xffffffff82237b40 [doneq0]
100066 D - 0xffffffff82237a10 [scanner]
5 0 0 0 DL crypto_ 0xfffff800033f1290 [crypto returns 1]
4 0 0 0 DL crypto_ 0xfffff800033f1230 [crypto returns 0]
3 0 0 0 DL crypto_ 0xffffffff826300c0 [crypto]
14 0 0 0 DL seqstat 0xfffff8000338d488 [sequencer 00]
13 0 0 0 DL (threaded) [geom]
100024 D - 0xffffffff8250b180 [g_event]
100025 D - 0xffffffff8250b188 [g_up]
100026 D - 0xffffffff8250b190 [g_down]
2 0 0 0 DL (threaded) [KTLS]
100017 D - 0xfffff800032fac80 [thr_0]
100018 D - 0xfffff800032facc0 [thr_1]
12 0 0 0 WL (threaded) [intr]
100010 I [swi6: Giant taskq]
100013 I [swi5: fast taskq]
100016 I [swi6: task queue]
100019 I [swi3: vm]
100020 I [swi4: clock (0)]
100021 I [swi4: clock (1)]
100022 I [swi1: netisr 0]
100034 I [irq24: virtio_pci0]
100035 I [irq25: virtio_pci0]
100036 I [irq26: virtio_pci0]
100037 I [irq27: virtio_pci0]
100038 I [irq28: virtio_pci1]
100039 I [irq29: virtio_pci1]
100040 I [irq30: virtio_pci1]
100041 I [irq31: virtio_pci1]
100042 I [irq32: virtio_pci1]
100047 I [irq10: virtio_pci2]
100049 I [irq1: atkbd0]
100050 I [irq12: psm0]
100051 I [swi0: uart uart++]
100060 I [swi1: pf send]
100072 I [swi1: hpts]
100073 I [swi1: hpts]
11 0 0 0 RL (threaded) [idle]
100003 CanRun [idle: cpu0]
100004 CanRun [idle: cpu1]
1 0 1 0 SLs wait 0xfffff80003304000 [init]
10 0 0 0 DL audit_w 0xffffffff82630598 [audit]
0 0 0 0 DLs (threaded) [kernel]
100000 D swapin 0xffffffff8250b710 [swapper]
100005 D - 0xfffff80003325000 [if_config_tqg_0]
100006 D - 0xfffff80003326e00 [softirq_0]
100007 D - 0xfffff80003326d00 [softirq_1]
100008 D - 0xfffff80003326c00 [if_io_tqg_0]
100009 D - 0xfffff80003326b00 [if_io_tqg_1]
100011 D - 0xfffff80003333600 [in6m_free taskq]
100012 D - 0xfffff80003333500 [thread taskq]
100014 D - 0xfffff80003333200 [kqueue_ctx taskq]
100015 D - 0xfffff80003333100 [aiod_kick taskq]
100023 D - 0xfffff80003384d00 [firmware taskq]
100028 D - 0xfffff80003384200 [crypto_0]
100029 D - 0xfffff80003384200 [crypto_1]
100043 D - 0xfffff800037db400 [vtnet0 rxq 0]
100044 D - 0xfffff800037db300 [vtnet0 txq 0]
100045 D - 0xfffff800037db200 [vtnet0 rxq 1]
100046 D - 0xfffff800037db100 [vtnet0 txq 1]
100048 D vtbslp 0xfffff800035b4780 [virtio_balloon]
100052 D - 0xfffff800037d9e00 [mca taskq]
100053 D - 0xffffffff81ce7761 [deadlkres]
100062 D - 0xfffff800037d9c00 [acpi_task_0]
100063 D - 0xfffff800037d9c00 [acpi_task_1]
100064 D - 0xfffff800037d9c00 [acpi_task_2]
100065 D - 0xfffff80003381a00 [CAM taskq]
db> show all locks
Process 2686 (syz-executor.0) thread 0xfffffe0025a5ba00 (100421)
exclusive rw vm object (vm object) r = 0 (0xfffff800632b5000) locked @ /syzkaller/managers/main/kernel/sys/vm/vm_fault.c:1272
shared sx vm map (user) (vm map (user)) r = 0 (0xfffffe0025a8a430) locked @ /syzkaller/managers/main/kernel/sys/vm/vm_map.c:4761
Process 2685 (syz-executor.1) thread 0xfffffe0025c61e00 (100426)
exclusive rm pf rulesets (pf rulesets) r = 0 (0xffffffff82c04290) locked @ /syzkaller/managers/main/kernel/sys/netpfil/pf/pf_ioctl.c:1585
Process 2683 (syz-executor.2) thread 0xfffffe0025a7a500 (100417)
exclusive lockmgr bufwait (bufwait) r = 0 (0xfffffe00041e3580) locked @ /syzkaller/managers/main/kernel/sys/kern/vfs_bio.c:3878
exclusive lockmgr ufs (ufs) r = 0 (0xfffff800129ce250) locked @ /syzkaller/managers/main/kernel/sys/kern/vfs_vnops.c:877
db> show malloc
Type InUse MemUse Requests
pf_hash 5 11524K 5
devbuf 4213 4851K 4241
tcp_hpts 5 3201K 5
vtbuf 24 1968K 46
sysctloid 28335 1653K 28399
kobj 332 1328K 488
newblk 23 1030K 8421
vfscache 4 1025K 4
pcb 88 603K 3204
inodedep 8 516K 2721
ufs_quota 1 512K 1
vfs_hash 1 512K 1
callout 2 512K 2
intr 4 388K 4
subproc 128 257K 2760
acpica 1674 185K 52709
vnet_data 1 168K 1
filedesc 22 153K 3202
pagedep 5 129K 1839
tfo_ccache 1 128K 1
pf_table 53 106K 89
sem 4 106K 4
DEVFS1 105 105K 122
linker 244 92K 358
routetbl 262 86K 558
bus 1056 82K 3484
mtx_pool 2 72K 2
syncache 1 68K 1
acpitask 1 64K 1
ddb_capture 1 64K 1
module 497 63K 497
pf_rule 441 62K 733
pf_ifnet 322 46K 634
umtx 342 43K 342
temp 37 37K 4876
BPF 22 36K 70
kdtrace 182 36K 8841
hostcache 1 32K 1
shm 1 32K 3
DEVFS3 124 31K 134
msg 4 30K 4
sctp_atcl 58 29K 2374
sctp_stro 29 29K 951
ifaddr 79 28K 159
DEVFS_RULE 56 27K 56
vmem 3 26K 5
gtaskqueue 18 26K 18
kbdmux 6 22K 6
ufs_mount 3 17K 4
proc 3 17K 3
tty 16 16K 16
tidhash 1 16K 1
lltable 43 16K 178
ithread 98 16K 98
ether_multi 172 14K 748
bus-sc 30 14K 1431
sctp_timw 50 13K 50
KTRACE 100 13K 100
ifnet 7 13K 7
kenv 95 12K 99
eventhandler 132 12K 132
in6_multi 89 11K 452
pfs_nodes 20 10K 20
GEOM 60 10K 487
rman 82 10K 423
bmsafemap 2 9K 2543
UART 12 9K 12
devstat 4 9K 4
rpc 2 8K 2
shmfd 1 8K 13
pfs_vncache 1 8K 1
audit_evclass 233 8K 291
select 54 7K 54
CAM DEV 3 6K 510
cred 24 6K 348
plimit 23 6K 1018
kqueue 57 6K 2695
vt 11 6K 11
sglist 5 6K 5
CAM queue 5 6K 1528
taskqueue 45 5K 45
ufs_dirhash 24 5K 24
DEVFSP 72 5K 574
memdesc 1 4K 1
MCA 32 4K 32
UMA 249 4K 249
ioctlops 1 4K 1688
evdev 4 4K 4
kcovinfo 64 4K 527
sctp_atky 87 4K 3337
sctp_ifa 27 4K 97
hhook 13 4K 13
session 25 4K 82
pgrp 25 4K 82
acpisem 22 3K 22
terminal 11 3K 11
lockf 25 3K 261
proc-args 44 3K 1101
uidinfo 4 3K 13
local_apic 1 2K 1
io_apic 1 2K 1
CAM CCB 1 2K 54546
ipsec-saq 2 2K 2
ip6ndp 12 2K 73
Unitno 30 2K 4789
CAM XPT 22 2K 543
in_multi 6 2K 34
pf_osfp 12 2K 12
acpidev 20 2K 20
msi 9 2K 9
tun 7 2K 7
softdep 1 1K 1
ipsecpolicy 1 1K 1
sahead 1 1K 1
secasvar 1 1K 1
clone 8 1K 8
vnodemarker 2 1K 1118
NFSD session 1 1K 1
sctp_athm 58 1K 2384
sctp_map 58 1K 1902
CAM periph 4 1K 271
nhops 6 1K 7
dirrem 3 1K 1741
inpcbpolicy 24 1K 2778
mld 6 1K 6
sctp_ifn 6 1K 33
igmp 6 1K 6
toponodes 6 1K 6
isadev 6 1K 6
mount 16 1K 86
pci_link 10 1K 10
crypto 3 1K 3
freework 3 1K 3341
mkdir 4 1K 2912
freeblks 2 1K 1803
pfil 4 1K 4
chacha20random 1 1K 1
CAM SIM 2 1K 2
epoch 4 1K 4
cdev 2 1K 2
encap_export_host 8 1K 8
osd 3 1K 9
newdirblk 2 1K 1456
diradd 2 1K 1889
indirdep 1 1K 2334
vnodes 1 1K 8
NFSD lckfile 1 1K 1
NFSD V4client 1 1K 1
DEVFS 9 1K 10
feeder 7 1K 7
tcpfunc 3 1K 3
loginclass 3 1K 6
CAM dev queue 2 1K 2
CAM I/O Scheduler 1 1K 1
apmdev 1 1K 1
atkbddev 2 1K 2
CAM path 4 1K 1034
freefile 1 1K 1730
sctp_aadr 2 1K 11
ktls 1 1K 1
iov 2 1K 22202
pmchooks 1 1K 1
prison 4 1K 4
soname 4 1K 7672
nexusdev 5 1K 5
entropy 2 1K 70
sctp_vrf 1 1K 1
vnet 1 1K 1
acpiintr 1 1K 1
pmc 1 1K 1
cpus 2 1K 2
vnet_data_free 1 1K 1
Per-cpu 1 1K 1
filecaps 2 1K 151
p1003.1b 1 1K 1
pf_altq 0 0K 0
pf_temp 0 0K 0
ath_hal 0 0K 0
madt_table 0 0K 2
athdev 0 0K 0
ata_pci 0 0K 0
ata_dma 0 0K 0
ata_generic 0 0K 0
amr 0 0K 0
scsi_da 0 0K 69
ata_da 0 0K 0
pvscsi 0 0K 0
smartpqi 0 0K 0
scsi_ch 0 0K 0
scsi_cd 0 0K 0
USBdev 0 0K 0
USB 0 0K 0
AHCI driver 0 0K 0
agp 0 0K 0
iavf 0 0K 0
ixl 0 0K 0
nvme_da 0 0K 0
acpipwr 0 0K 0
twsbuf 0 0K 0
twe_commands 0 0K 0
twa_commands 0 0K 0
tcp_log_dev 0 0K 4
midi buffers 0 0K 0
fpukern_ctx 0 0K 0
mixer 0 0K 0
xen_intr 0 0K 0
ac97 0 0K 0
xen_hvm 0 0K 0
legacydrv 0 0K 0
qpidrv 0 0K 0
hdacc 0 0K 0
hdac 0 0K 0
dmar_idpgtbl 0 0K 0
dmar_dom 0 0K 0
dmar_ctx 0 0K 0
dmar_dmamap 0 0K 0
hdaa 0 0K 0
acpi_perf 0 0K 0
acpicmbat 0 0K 0
isci 0 0K 0
bxe_ilt 0 0K 0
xenbus 0 0K 0
SIIS driver 0 0K 0
vm_fictitious 0 0K 0
PUC 0 0K 0
ppbusdev 0 0K 0
agtiapi_MemAlloc malloc 0 0K 0
osti_cacheable 0 0K 0
tempbuff 0 0K 0
tempbuff 0 0K 0
UMAHash 0 0K 0
ag_tgt_map_t malloc 0 0K 0
ag_slr_map_t malloc 0 0K 0
vm_pgdata 0 0K 0
jblocks 0 0K 0
savedino 0 0K 1125
sentinel 0 0K 0
jfsync 0 0K 0
jtrunc 0 0K 0
sbdep 0 0K 543
jsegdep 0 0K 0
jseg 0 0K 0
jfreefrag 0 0K 0
jfreeblk 0 0K 0
jnewblk 0 0K 0
jmvref 0 0K 0
jremref 0 0K 0
jaddref 0 0K 0
freedep 0 0K 0
freefrag 0 0K 61
allocindir 0 0K 0
allocdirect 0 0K 0
ufs_trim 0 0K 0
mactemp 0 0K 0
audit_trigger 0 0K 0
audit_pipe_presel 0 0K 0
audit_pipeent 0 0K 0
audit_pipe 0 0K 0
audit_evname 0 0K 0
audit_bsm 0 0K 0
audit_gidset 0 0K 0
audit_text 0 0K 0
audit_path 0 0K 0
audit_data 0 0K 0
audit_cred 0 0K 0
xform 0 0K 0
NLM 0 0K 0
ipsec-spdcache 0 0K 0
ipsec-reg 0 0K 0
ipsec-misc 0 0K 0
ipsecrequest 0 0K 0
ip6opt 0 0K 52
ip6_msource 0 0K 1
ip6_moptions 0 0K 2
in6_mfilter 0 0K 4
frag6 0 0K 0
tcplog 0 0K 0
lDevFlags * malloc 0 0K 0
LRO 0 0K 0
sctp_mcore 0 0K 0
sctp_socko 0 0K 1568
sctp_iter 0 0K 102
sctp_mvrf 0 0K 0
sctp_cpal 0 0K 2
sctp_cmsg 0 0K 0
sctp_stre 0 0K 0
sctp_athi 0 0K 0
sctp_a_it 0 0K 100
sctp_stri 0 0K 0
newreno data 0 0K 0
ip_msource 0 0K 0
ip_moptions 0 0K 6
in_mfilter 0 0K 0
ipid 0 0K 0
80211scan 0 0K 0
80211ratectl 0 0K 0
80211power 0 0K 0
80211nodeie 0 0K 0
80211node 0 0K 0
80211mesh_gt 0 0K 0
80211mesh_rt 0 0K 0
80211perr 0 0K 0
80211prep 0 0K 0
80211preq 0 0K 0
80211dfs 0 0K 0
80211crypto 0 0K 0
80211vap 0 0K 0
iflib 0 0K 0
vlan 0 0K 0
gif 0 0K 0
ifdescr 0 0K 0
zlib 0 0K 0
fadvise 0 0K 0
tiDeviceHandle_t * malloc 0 0K 0
statfs 0 0K 1582
export_host 0 0K 0
cl_savebuf 0 0K 22
ag_portal_data_t malloc 0 0K 0
ag_device_t malloc 0 0K 0
STLock malloc 0 0K 0
CCB List 0 0K 0
sr_iov 0 0K 0
OCS 0 0K 0
OCS 0 0K 0
nvme 0 0K 0
nvd 0 0K 0
netmap 0 0K 0
mwldev 0 0K 0
MVS driver 0 0K 0
CAM ccb queue 0 0K 0
mrsasbuf 0 0K 0
mpt_user 0 0K 0
mps_user 0 0K 0
biobuf 0 0K 0
aios 0 0K 0
lio 0 0K 0
acl 0 0K 0
MPSSAS 0 0K 0
mbuf_tag 0 0K 923
accf 0 0K 0
pts 0 0K 0
Witness 0 0K 0
stack 0 0K 0
mps 0 0K 0
mpr_user 0 0K 0
MPRSAS 0 0K 0
mpr 0 0K 0
mfibuf 0 0K 0
md_sectors 0 0K 0
sbuf 0 0K 288
md_disk 0 0K 0
compressor 0 0K 0
malodev 0 0K 0
SWAP 0 0K 0
LED 0 0K 0
sysctltmp 0 0K 758
sysctl 0 0K 1
ekcd 0 0K 0
dumper 0 0K 0
sendfile 0 0K 0
rctl 0 0K 0
ix_sriov 0 0K 0
aacraidcam 0 0K 0
ix 0 0K 0
ipsbuf 0 0K 0
iirbuf 0 0K 0
cache 0 0K 0
aacraid_buf 0 0K 0
prison_racct 0 0K 0
Fail Points 0 0K 0
sigio 0 0K 10
filedesc_to_leader 0 0K 0
pwd 0 0K 0
tty console 0 0K 0
aaccam 0 0K 0
aacbuf 0 0K 0
zstd 0 0K 0
nvlist 0 0K 0
SCSI ENC 0 0K 0
SCSI sa 0 0K 0
isofs_node 0 0K 0
isofs_mount 0 0K 0
tr_raid5_data 0 0K 0
tr_raid1e_data 0 0K 0
tr_raid1_data 0 0K 0
tr_raid0_data 0 0K 0
tr_concat_data 0 0K 0
md_sii_data 0 0K 0
md_promise_data 0 0K 0
md_nvidia_data 0 0K 0
md_jmicron_data 0 0K 0
md_intel_data 0 0K 0
md_ddf_data 0 0K 0
raid_data 0 0K 72
geom_flashmap 0 0K 0
NFS FHA 0 0K 0
newnfsmnt 0 0K 0
newnfsclient_req 0 0K 0
NFSCL layrecall 0 0K 0
NFSCL session 0 0K 0
NFSCL sockreq 0 0K 0
NFSCL devinfo 0 0K 0
NFSCL flayout 0 0K 0
NFSCL layout 0 0K 0
NFSD rollback 0 0K 0
NFSCL diroffdiroff 0 0K 0
NEWdirectio 0 0K 0
NEWNFSnode 0 0K 0
NFSCL lck 0 0K 0
NFSCL lckown 0 0K 0
NFSCL client 0 0K 0
NFSCL deleg 0 0K 0
NFSCL open 0 0K 0
NFSCL owner 0 0K 0
NFS fh 0 0K 0
NFS req 0 0K 0
NFSD usrgroup 0 0K 0
NFSD string 0 0K 0
NFSD V4lock 0 0K 0
NFSD V4state 0 0K 0
NFSD srvcache 0 0K 0
msdosfs_fat 0 0K 0
msdosfs_mount 0 0K 0
msdosfs_node 0 0K 0
DEVFS4 0 0K 0
DEVFS2 0 0K 0
gntdev 0 0K 0
privcmd_dev 0 0K 0
evtchn_dev 0 0K 0
xenstore 0 0K 0
scsi_pass 0 0K 0
ciss_data 0 0K 0
xnb 0 0K 0
xbbd 0 0K 0
xbd 0 0K 0
Balloon 0 0K 0
sysmouse 0 0K 0
vtfont 0 0K 0
db> show ktr
No such command; use "help" to list available commands


---
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

未讀,
2020年4月30日 凌晨1:37:192020/4/30
收件者:syzkaller-f...@googlegroups.com
syzbot has found a reproducer for the following crash on:

HEAD commit: 2338a28d Add nhop to the ifa_rtrequest() callback.
git tree: freebsd
console output: https://syzkaller.appspot.com/x/log.txt?x=152e3c4c100000
dashboard link: https://syzkaller.appspot.com/bug?extid=88a19565ee1ad33fb61d
syz repro: https://syzkaller.appspot.com/x/repro.syz?x=10f4f4bc100000
C reproducer: https://syzkaller.appspot.com/x/repro.c?x=16af9918100000

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

login: panic: pfi_dynaddr_setup: dyn is 0x8
cpuid = 1
time = 1588224843
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x47/frame 0xfffffe0025a4f110
vpanic() at vpanic+0x1c7/frame 0xfffffe0025a4f170
panic() at panic+0x43/frame 0xfffffe0025a4f1d0
pfi_dynaddr_setup() at pfi_dynaddr_setup+0x590/frame 0xfffffe0025a4f260
Warning: Permanently added '10.128.0.86' (ECDSA) to the list of known hosts.
pfioctl() at pfioctl+0x6e4f/frame 0xfffffe0025a4f790
devfs_ioctl() at devfs_ioctl+0x14e/frame 0xfffffe0025a4f7f0
VOP_IOCTL_APV() at VOP_IOCTL_APV+0x78/frame 0xfffffe0025a4f820
vn_ioctl() at vn_ioctl+0x27c/frame 0xfffffe0025a4f940
devfs_ioctl_f() at devfs_ioctl_f+0x47/frame 0xfffffe0025a4f980
kern_ioctl() at kern_ioctl+0x3d4/frame 0xfffffe0025a4f9f0
sys_ioctl() at sys_ioctl+0x22b/frame 0xfffffe0025a4fac0
amd64_syscall() at amd64_syscall+0x262/frame 0xfffffe0025a4fbf0
fast_syscall_common() at fast_syscall_common+0x101/frame 0xfffffe0025a4fbf0
--- syscall (0, FreeBSD ELF64, nosys), rip = 0x8008482ea, rsp = 0x7fffffffea78, rbp = 0x7fffffffead0 ---
KDB: enter: panic
[ thread pid 773 tid 100108 ]
Stopped at kdb_enter+0x67: movq $0,0x14a96a6(%rip)
db>
db> set $lines = 0
db> set $maxwidth = 0
db> show registers
cs 0x20
ds 0x3b ll+0x1a
es 0x3b ll+0x1a
fs 0x13
gs 0x1b
ss 0x28 ll+0x7
rax 0x12
rcx 0x80 ll+0x5f
rdx 0xffffffff818a400b
rbx 0
rsp 0xfffffe0025a4f0f0
rbp 0xfffffe0025a4f110
rsi 0x1
rdi 0
r8 0
r9 0xffffffff
r10 0
r11 0xfffffe00257f5c00
r12 0xffffffff82068ea0 ddb_dbbe
r13 0
r14 0xffffffff8194403f
r15 0xffffffff8194403f
rip 0xffffffff810ae1c7 kdb_enter+0x67
rflags 0x86 ll+0x65
kdb_enter+0x67: movq $0,0x14a96a6(%rip)
db> show proc
Process 773 (syz-executor3397107) at 0xfffff800132e2520:
state: NORMAL
uid: 0 gids: 0, 0, 5
parent: pid 771 at 0xfffff800132e2a40
ABI: FreeBSD ELF64
arguments: ./syz-executor339710726
reaper: 0xfffff80003304000 reapsubtree: 1
sigparent: 20
vmspace: 0xfffffe00257f03d0
(map 0xfffffe00257f03d0)
(map.pmap 0xfffffe00257f0490)
(pmap 0xfffffe00257f04f0)
threads: 1
100108 Run CPU 1 syz-executor3397107
db> ps
pid ppid pgrp uid state wmesg wchan cmd
773 771 771 0 R CPU 1 syz-executor3397107
771 769 771 0 Ss pause 0xfffff800132e2ae8 csh
769 682 769 0 Rs CPU 0 sshd
750 1 750 0 Ss+ ttyin 0xfffff80003805cb0 getty
749 1 749 0 Ss+ ttyin 0xfffff80003b068b0 getty
748 1 748 0 Ss+ ttyin 0xfffff80003b06cb0 getty
747 1 747 0 Ss+ ttyin 0xfffff80003b050b0 getty
746 1 746 0 Ss+ ttyin 0xfffff80003b054b0 getty
745 1 745 0 Ss+ ttyin 0xfffff80003b058b0 getty
744 1 744 0 Ss+ ttyin 0xfffff80003b05cb0 getty
743 1 743 0 Ss+ ttyin 0xfffff80003b080b0 getty
742 1 742 0 Ss+ ttyin 0xfffff80003b084b0 getty
740 738 24 0 S+ nanslp 0xffffffff8252c1e1 sleep
739 1 24 0 S+ piperd 0xfffff80003cb6be0 logger
738 1 24 0 S+ wait 0xfffff80013380a40 sh
686 1 686 0 Ss nanslp 0xffffffff8252c1e1 cron
682 1 682 0 Ss select 0xfffff80003a34e40 sshd
495 1 495 0 Ss select 0xfffff80003a36040 syslogd
424 1 424 0 Ss select 0xfffff8000380b340 devd
423 1 423 65 Ss select 0xfffff8000380e840 dhclient
338 1 338 0 Ss select 0xfffff8000380b440 dhclient
335 1 335 0 Ss select 0xfffff80003a339c0 dhclient
23 0 0 0 DL syncer 0xffffffff82618118 [syncer]
22 0 0 0 DL vlruwt 0xfffff800033c6a40 [vnlru]
21 0 0 0 DL (threaded) [bufdaemon]
100069 D qsleep 0xffffffff82617438 [bufdaemon]
100076 D - 0xffffffff8200aa00 [bufspacedaemon-0]
100087 D sdflush 0xfffff80003806ce8 [/ worker]
20 0 0 0 DL psleep 0xffffffff8263e308 [vmdaemon]
19 0 0 0 DL (threaded) [pagedaemon]
100067 D psleep 0xffffffff826328d8 [dom0]
100074 D launds 0xffffffff826328e4 [laundry: dom0]
100075 D umarcl 0xffffffff81545a10 [uma]
18 0 0 0 DL - 0xffffffff8235fe20 [rand_harvestq]
17 0 0 0 DL pftm 0xffffffff82c363a0 [pf purge]
16 0 0 0 DL waiting 0xffffffff8261a890 [sctp_iterator]
15 0 0 0 DL - 0xffffffff82616a2c [soaiod4]
9 0 0 0 DL - 0xffffffff82616a2c [soaiod3]
8 0 0 0 DL - 0xffffffff82616a2c [soaiod2]
7 0 0 0 DL - 0xffffffff82616a2c [soaiod1]
6 0 0 0 DL (threaded) [cam]
100033 D - 0xffffffff82237b40 [doneq0]
100066 D - 0xffffffff82237a10 [scanner]
5 0 0 0 DL crypto_ 0xfffff80003202d90 [crypto returns 1]
4 0 0 0 DL crypto_ 0xfffff80003202d30 [crypto returns 0]
3 0 0 0 DL crypto_ 0xffffffff826300c0 [crypto]
14 0 0 0 DL seqstat 0xfffff80003351488 [sequencer 00]
0 0 0 0 RLs (threaded) [kernel]
100000 D swapin 0xffffffff8250b710 [swapper]
100005 D - 0xfffff80003325000 [if_config_tqg_0]
100006 D - 0xfffff80003326e00 [softirq_0]
100007 D - 0xfffff80003326d00 [softirq_1]
100008 D - 0xfffff80003326c00 [if_io_tqg_0]
100009 D - 0xfffff80003326b00 [if_io_tqg_1]
100011 D - 0xfffff80003333600 [in6m_free taskq]
100012 RunQ [thread taskq]
100014 D - 0xfffff80003333200 [kqueue_ctx taskq]
100015 D - 0xfffff80003333100 [aiod_kick taskq]
100023 D - 0xfffff80003334800 [firmware taskq]
100028 D - 0xfffff80003331c00 [crypto_0]
100029 D - 0xfffff80003331c00 [crypto_1]
100043 D - 0xfffff80003562c00 [vtnet0 rxq 0]
100044 D - 0xfffff80003562b00 [vtnet0 txq 0]
100045 D - 0xfffff80003562a00 [vtnet0 rxq 1]
100046 D - 0xfffff80003562900 [vtnet0 txq 1]
100048 D vtbslp 0xfffff80003522680 [virtio_balloon]
100052 D - 0xfffff80003335700 [mca taskq]
100057 D - 0xffffffff81ce7761 [deadlkres]
100062 D - 0xfffff80003331800 [acpi_task_0]
100063 D - 0xfffff80003331800 [acpi_task_1]
100064 D - 0xfffff80003331800 [acpi_task_2]
100065 D - 0xfffff80003331500 [CAM taskq]
db> show all locks
Process 773 (syz-executor3397107) thread 0xfffffe00257f5700 (100108)
exclusive rm pf rulesets (pf rulesets) r = 0 (0xffffffff82c88290) locked @ /syzkaller/managers/main/kernel/sys/netpfil/pf/pf_ioctl.c:1585
db> show malloc
Type InUse MemUse Requests
pf_hash 5 11524K 5
devbuf 4213 4851K 4238
tcp_hpts 5 3201K 5
vtbuf 24 1968K 46
sysctloid 28335 1653K 28399
kobj 332 1328K 488
newblk 192 1072K 208
vfscache 4 1025K 4
pcb 21 537K 75
inodedep 48 536K 71
ufs_quota 1 512K 1
vfs_hash 1 512K 1
callout 2 512K 2
intr 4 388K 4
subproc 113 218K 841
acpica 1674 185K 52709
vnet_data 1 168K 1
pagedep 14 132K 18
tfo_ccache 1 128K 1
sem 4 106K 4
DEVFS1 101 101K 110
linker 244 92K 265
bus 964 78K 3344
mtx_pool 2 72K 2
syncache 1 68K 1
acpitask 1 64K 1
ddb_capture 1 64K 1
module 497 63K 497
temp 18 33K 1538
hostcache 1 32K 1
shm 1 32K 1
umtx 252 32K 252
msg 4 30K 4
DEVFS3 120 30K 130
kdtrace 146 28K 1602
DEVFS_RULE 56 27K 56
gtaskqueue 18 26K 18
kbdmux 6 22K 6
vmem 3 21K 3
BPF 10 18K 10
ufs_mount 3 17K 4
proc 3 17K 3
tty 16 16K 16
tidhash 1 16K 1
ithread 98 16K 98
bus-sc 30 14K 1431
KTRACE 100 13K 100
ifaddr 30 12K 32
kenv 95 12K 99
eventhandler 132 12K 132
pfs_nodes 20 10K 20
GEOM 60 10K 487
rman 82 10K 423
bmsafemap 3 9K 40
UART 12 9K 12
devstat 4 9K 4
rpc 2 8K 2
shmfd 1 8K 1
pfs_vncache 1 8K 1
audit_evclass 233 8K 291
CAM DEV 3 6K 510
vt 11 6K 11
cred 21 6K 234
sglist 5 6K 5
CAM queue 5 6K 1528
taskqueue 45 5K 45
ufs_dirhash 24 5K 24
routetbl 28 5K 32
dirrem 17 5K 28
plimit 17 5K 322
ifnet 3 5K 3
memdesc 1 4K 1
MCA 32 4K 32
UMA 249 4K 249
ioctlops 1 4K 88
evdev 4 4K 4
filedesc 1 4K 1
lltable 11 4K 11
hhook 13 4K 13
ether_multi 40 4K 45
diradd 25 4K 36
pf_ifnet 5 3K 6
in6_multi 25 3K 25
kqueue 46 3K 776
acpisem 22 3K 22
terminal 11 3K 11
select 20 3K 20
session 20 3K 31
pgrp 20 3K 31
uidinfo 3 3K 8
local_apic 1 2K 1
io_apic 1 2K 1
ipsec-saq 2 2K 2
proc-args 39 2K 472
CAM XPT 22 2K 543
lockf 15 2K 22
Unitno 25 2K 37
acpidev 20 2K 20
msi 9 2K 9
pf_rule 1 1K 1
softdep 1 1K 1
ipsecpolicy 1 1K 1
sahead 1 1K 1
secasvar 1 1K 1
clone 8 1K 8
vnodemarker 2 1K 6
NFSD session 1 1K 1
CAM periph 4 1K 271
nhops 6 1K 6
toponodes 6 1K 6
isadev 6 1K 6
mount 16 1K 86
pci_link 10 1K 10
ip6ndp 4 1K 5
sctp_ifa 5 1K 5
crypto 3 1K 3
newdirblk 4 1K 8
mkdir 4 1K 16
in_multi 2 1K 3
pfil 4 1K 4
chacha20random 1 1K 1
CAM SIM 2 1K 2
epoch 4 1K 4
cdev 2 1K 2
encap_export_host 8 1K 8
osd 3 1K 9
indirdep 1 1K 1
mld 2 1K 2
sctp_ifn 2 1K 2
igmp 2 1K 2
vnodes 1 1K 1
NFSD lckfile 1 1K 1
NFSD V4client 1 1K 1
DEVFS 9 1K 10
feeder 7 1K 7
inpcbpolicy 6 1K 131
tcpfunc 3 1K 3
loginclass 3 1K 7
CAM dev queue 2 1K 2
CAM I/O Scheduler 1 1K 1
apmdev 1 1K 1
atkbddev 2 1K 2
CAM path 4 1K 1034
ktls 1 1K 1
pmchooks 1 1K 1
prison 4 1K 4
DEVFSP 2 1K 2
soname 4 1K 5788
filecaps 4 1K 66
tun 3 1K 3
nexusdev 5 1K 5
entropy 2 1K 35
sctp_vrf 1 1K 1
vnet 1 1K 1
acpiintr 1 1K 1
pmc 1 1K 1
cpus 2 1K 2
vnet_data_free 1 1K 1
Per-cpu 1 1K 1
freework 1 1K 26
p1003.1b 1 1K 1
pf_table 0 0K 0
pf_altq 0 0K 0
pf_osfp 0 0K 0
tcp_log_dev 0 0K 0
midi buffers 0 0K 0
fpukern_ctx 0 0K 0
mixer 0 0K 0
xen_intr 0 0K 0
ac97 0 0K 0
xen_hvm 0 0K 0
legacydrv 0 0K 0
qpidrv 0 0K 0
hdacc 0 0K 0
hdac 0 0K 0
dmar_idpgtbl 0 0K 0
dmar_dom 0 0K 0
dmar_ctx 0 0K 0
dmar_dmamap 0 0K 0
hdaa 0 0K 0
acpi_perf 0 0K 0
acpicmbat 0 0K 0
isci 0 0K 0
bxe_ilt 0 0K 0
xenbus 0 0K 0
SIIS driver 0 0K 0
vm_fictitious 0 0K 0
CAM CCB 0 0K 1707
PUC 0 0K 0
ppbusdev 0 0K 0
agtiapi_MemAlloc malloc 0 0K 0
osti_cacheable 0 0K 0
tempbuff 0 0K 0
tempbuff 0 0K 0
UMAHash 0 0K 0
ag_tgt_map_t malloc 0 0K 0
ag_slr_map_t malloc 0 0K 0
vm_pgdata 0 0K 0
jblocks 0 0K 0
savedino 0 0K 12
sentinel 0 0K 0
jfsync 0 0K 0
jtrunc 0 0K 0
sbdep 0 0K 2
jsegdep 0 0K 0
jseg 0 0K 0
jfreefrag 0 0K 0
jfreeblk 0 0K 0
jnewblk 0 0K 0
jmvref 0 0K 0
jremref 0 0K 0
jaddref 0 0K 0
freedep 0 0K 0
freefile 0 0K 9
freeblks 0 0K 25
freefrag 0 0K 5
allocindir 0 0K 0
allocdirect 0 0K 0
ufs_trim 0 0K 0
mactemp 0 0K 0
audit_trigger 0 0K 0
audit_pipe_presel 0 0K 0
audit_pipeent 0 0K 0
audit_pipe 0 0K 0
audit_evname 0 0K 0
audit_bsm 0 0K 0
audit_gidset 0 0K 0
audit_text 0 0K 0
audit_path 0 0K 0
audit_data 0 0K 0
audit_cred 0 0K 0
xform 0 0K 0
NLM 0 0K 0
ipsec-spdcache 0 0K 0
ipsec-reg 0 0K 0
ipsec-misc 0 0K 0
ipsecrequest 0 0K 0
ip6opt 0 0K 3
ip6_msource 0 0K 0
ip6_moptions 0 0K 0
in6_mfilter 0 0K 0
frag6 0 0K 0
tcplog 0 0K 0
lDevFlags * malloc 0 0K 0
LRO 0 0K 0
sctp_mcore 0 0K 0
sctp_socko 0 0K 0
sctp_iter 0 0K 3
sctp_mvrf 0 0K 0
sctp_timw 0 0K 0
sctp_cpal 0 0K 0
sctp_cmsg 0 0K 0
sctp_stre 0 0K 0
sctp_athi 0 0K 0
sctp_athm 0 0K 0
sctp_atky 0 0K 0
sctp_atcl 0 0K 0
sctp_a_it 0 0K 3
sctp_aadr 0 0K 0
sctp_stro 0 0K 0
sctp_stri 0 0K 0
sctp_map 0 0K 0
newreno data 0 0K 0
ip_msource 0 0K 0
ip_moptions 0 0K 0
in_mfilter 0 0K 0
ipid 0 0K 0
80211scan 0 0K 0
80211ratectl 0 0K 0
80211power 0 0K 0
80211nodeie 0 0K 0
80211node 0 0K 0
80211mesh_gt 0 0K 0
80211mesh_rt 0 0K 0
80211perr 0 0K 0
80211prep 0 0K 0
80211preq 0 0K 0
80211dfs 0 0K 0
80211crypto 0 0K 0
80211vap 0 0K 0
iflib 0 0K 0
vlan 0 0K 0
gif 0 0K 0
ifdescr 0 0K 0
zlib 0 0K 0
fadvise 0 0K 0
tiDeviceHandle_t * malloc 0 0K 0
statfs 0 0K 196
export_host 0 0K 0
cl_savebuf 0 0K 2
ag_portal_data_t malloc 0 0K 0
ag_device_t malloc 0 0K 0
STLock malloc 0 0K 0
CCB List 0 0K 0
sr_iov 0 0K 0
OCS 0 0K 0
OCS 0 0K 0
nvme 0 0K 0
nvd 0 0K 0
netmap 0 0K 0
mwldev 0 0K 0
MVS driver 0 0K 0
CAM ccb queue 0 0K 0
mrsasbuf 0 0K 0
mpt_user 0 0K 0
mps_user 0 0K 0
biobuf 0 0K 0
aios 0 0K 0
lio 0 0K 0
acl 0 0K 0
MPSSAS 0 0K 0
mbuf_tag 0 0K 25
accf 0 0K 0
pts 0 0K 0
iov 0 0K 12669
Witness 0 0K 0
stack 0 0K 0
mps 0 0K 0
mpr_user 0 0K 0
MPRSAS 0 0K 0
mpr 0 0K 0
mfibuf 0 0K 0
md_sectors 0 0K 0
sbuf 0 0K 288
md_disk 0 0K 0
compressor 0 0K 0
malodev 0 0K 0
SWAP 0 0K 0
LED 0 0K 0
sysctltmp 0 0K 574
sysctl 0 0K 1
ekcd 0 0K 0
dumper 0 0K 0
sendfile 0 0K 0
rctl 0 0K 0
ix_sriov 0 0K 0
aacraidcam 0 0K 0
ix 0 0K 0
ipsbuf 0 0K 0
iirbuf 0 0K 0
cache 0 0K 0
aacraid_buf 0 0K 0
kcovinfo 0 0K 0
prison_racct 0 0K 0
Fail Points 0 0K 0
sigio 0 0K 1

Mark Johnston

未讀,
2020年4月30日 上午10:27:172020/4/30
收件者:syzbot、syzkaller-f...@googlegroups.com
#syz dup: panic: pfi_dynaddr_setup: dyn is ADDR (2)
回覆所有人
回覆作者
轉寄
0 則新訊息