panic: free: non-malloced addr 0x2000 type ip_moptions

0 views
Skip to first unread message

syzbot

unread,
2:48 AM (3 hours ago) 2:48 AM
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 1a498b6f2b58 fix theoretically racy code in ttystats_init
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=15a2ee79580000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=e6f1813914d97e2b9a2c

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/3f847867a5fd/disk-1a498b6f.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/40f60c101370/bsd-1a498b6f.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/04896d600cc6/kernel-1a498b6f.xz

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

panic: free: non-malloced addr 0x2000 type ip_moptions
Stopped at db_enter+0x25: addq $0x8,%rsp
TID PID UID PRFLAGS PFLAGS CPU COMMAND
29981 18577 32767 0x10 0 0 syz-executor
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346620e) at panic+0x1e5 sys/kern/subr_prf.c:198
free(2000,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c40880) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff6006cf40528) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff800010fdf4b0) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff800010fdf4b0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff800010fdf4b0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff6007dc36420,ffff80003c3d5a18) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff6007dc36420,ffff80003c3d5a18) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff6007dc36420,ffff80003c3d5a18) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c3d5a18) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff80003c3d5a18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff80003c3d5a18,ffff80002a34e620,ffff80002a34e570) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a34e620) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a34e620) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
end trace frame: 0xffff80002a34e6a0, count: 0
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
*cpu1: free: non-malloced addr 0x2000 type ip_moptions
ddb{1}> show kasan
No such command
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346620e) at panic+0x1e5 sys/kern/subr_prf.c:198
free(2000,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c40880) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff6006cf40528) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff800010fdf4b0) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff800010fdf4b0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff800010fdf4b0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff6007dc36420,ffff80003c3d5a18) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff6007dc36420,ffff80003c3d5a18) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff6007dc36420,ffff80003c3d5a18) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c3d5a18) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff80003c3d5a18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff80003c3d5a18,ffff80002a34e620,ffff80002a34e570) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a34e620) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a34e620) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7addca6cc330, count: -15
ddb{1}> show registers
rdi 0
rsi 0x1
rbp 0xffff80002a34e110
rbx 0xffff80002999ee07
rdx 0
rcx 0xffff80003c3d5a18
rax 0xffff80002999dff0
r8 0x101010101010101
r9 0x8080808080808080
r10 0xa80e347a10e1c8f1
r11 0xf680efa187fd0586
r12 0xffff80002999ec08
r13 0
r14 0
r15 0x1
rip 0xffffffff810dce45 db_enter+0x25
cs 0x8
rflags 0x246
rsp 0xffff80002a34e100
ss 0x10
db_enter+0x25: addq $0x8,%rsp
ddb{1}> show proc
PROC (syz-executor) tid=445833 pid=29353 tcnt=0 stat=onproc
flags process=1018<EXITING,SUGID,SINGLEEXIT> proc=2000<WEXIT>
runpri=32, usrpri=71, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0xffff80003c3d5a18 scnt=-1 ecnt=1
forw=0xffffffffffffffff, list=0xffff800045fe9ca8,0xffff80003c3d4d30
process=0xffff800045fe5360 user=0xffff80002a349000, vmspace=0xfffff6006ce18218
estcpu=21, cpticks=8, pctcpu=0.0, user=0, sys=1, intr=0
ddb{1}> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
42736 121154 83273 32767 3 0x1010 0x2000 suspend syz-executor
42736 411755 83273 32767 2 0x1010 0x4080000 syz-executor
18577 29981 72160 32767 7 0x10 0 syz-executor
18577 353374 72160 32767 3 0x10 0x4000000 biowait syz-executor
47284 307253 18404 32767 3 0x10 0x80 nanoslp syz-executor
47284 464161 18404 32767 3 0x10 0x4000080 pipewr syz-executor
47284 416638 18404 32767 2 0x10 0x4000000 syz-executor
47284 15873 18404 32767 3 0x10 0x4000080 fsleep syz-executor
3166 127081 20046 32767 3 0x10 0x80 nanoslp syz-executor
3166 96634 20046 32767 3 0x10 0x4000080 lockf syz-executor
3166 485622 20046 32767 3 0x10 0x4000080 fsleep syz-executor
97010 184894 78600 0 3 0x100002 0x80 sbwait arp
78600 327292 46481 0 3 0x100002 0x88 sigsusp sh
95237 394821 50863 32767 3 0x10 0x80 nanoslp syz-executor
72160 522234 70951 32767 3 0x10 0x80 nanoslp syz-executor
18404 204182 22649 32767 3 0x10 0x80 nanoslp syz-executor
20046 40223 24980 32767 3 0x10 0x80 nanoslp syz-executor
46481 450020 51164 0 3 0 0x80 wait syz-executor
83273 147503 37996 32767 3 0x10 0x80 nanoslp syz-executor
42818 312213 95068 32767 3 0x10 0 biowait syz-executor
22649 287721 97725 0 3 0x2 0x80 wait syz-executor
24980 381365 97725 0 3 0x2 0x80 wait syz-executor
50863 195009 97725 0 3 0x2 0x80 wait syz-executor
70951 18776 97725 0 3 0x2 0x80 wait syz-executor
51164 76543 97725 0 3 0x2 0x80 wait syz-executor
95068 78800 97725 0 3 0x2 0x80 wait syz-executor
37996 130906 97725 0 3 0x2 0x80 wait syz-executor
97725 474927 36946 0 3 0x2 0x80 nanoslp syz-executor
36946 412143 22745 0 3 0x100002 0x88 sigsusp ksh
22745 396959 44601 0 3 0x10 0x88 kqread sshd-session
44601 207945 28249 0 3 0x12 0x80 kqread sshd-session
73498 462055 1 0 3 0x100003 0x80 ttyin getty
28249 190518 1 0 3 0 0x88 kqread sshd
69981 213017 82079 73 3 0x1100010 0x80 kqread syslogd
82079 510125 1 0 3 0x100002 0x80 sbwait syslogd
82996 66662 1 0 3 0x100000 0x80 kqread resolvd
40723 193818 73990 77 3 0x100012 0x80 kqread dhcpleased
48992 368191 73990 77 3 0x100012 0x80 kqread dhcpleased
73990 521051 1 0 3 0 0x80 kqread dhcpleased
33618 470306 0 0 3 0x14000 0x200 bored smr
91570 253884 0 0 3 0x14000 0x200 pgzero zerothread
4128 352876 0 0 3 0x14000 0x200 aiodoned aiodoned
40191 357586 0 0 3 0x14000 0x200 syncer update
74946 15451 0 0 3 0x14000 0x200 cleaner cleaner
95057 295145 0 0 3 0x14000 0x200 reaper reaper
93532 213660 0 0 3 0x14000 0x200 pgdaemon pagedaemon
81710 415085 0 0 3 0x14000 0x200 bored viomb
97721 102727 0 0 3 0x14000 0x40000200 acpi0 acpi0
41137 238000 0 0 3 0x14000 0x40000200 idle1
87630 180189 0 0 3 0x14000 0x200 bored softnet1
87760 417634 0 0 3 0x14000 0x200 bored softnet0
30922 158743 0 0 3 0x14000 0x200 bored systqmp
42794 291607 0 0 3 0x14000 0x200 bored systq
54757 498368 0 0 3 0x14000 0x200 tmoslp softclockmp
45820 249311 0 0 3 0x14000 0x40000200 tmoslp softclock
47270 421158 0 0 3 0x14000 0x40000200 idle0
1 448305 0 0 3 0x2 0x80 wait init
0 0 -1 0 3 0x10000 0x200 scheduler swapper
ddb{1}> show all locks
Process 18577 (syz-executor) thread 0xffff80002a23c7e0 (353374)
exclusive rrwlock inode r = 0 (0xfffff600707ead80)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4 ufs_ihashins+0x4f ufs_ihash sys/ufs/ufs/ufs_ihash.c:-1 [inline]
#4 ufs_ihashins+0x4f sys/ufs/ufs/ufs_ihash.c:150
#5 ffs_vget+0x187 sys/ufs/ffs/ffs_vfsops.c:1232
#6 ffs_inode_alloc+0x279 sys/ufs/ffs/ffs_alloc.c:393
#7 ufs_mkdir+0xfc sys/ufs/ufs/ufs_vnops.c:1112
#8 VOP_MKDIR+0x101 sys/kern/vfs_vops.c:394
#9 domkdirat+0x179 sys/kern/vfs_syscalls.c:3063
#10 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#10 syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#11 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffff6006f798928)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576
#5 vfs_lookup+0x12b sys/kern/vfs_lookup.c:431
#6 namei+0x7c5 sys/kern/vfs_lookup.c:250
#7 domkdirat+0x8b sys/kern/vfs_syscalls.c:3048
#8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#9 Xsyscall+0x128
Process 42818 (syz-executor) thread 0xffff80002a23d240 (312213)
exclusive rrwlock inode r = 0 (0xfffff600707eaa08)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576
#5 vget+0x2a2 sys/kern/vfs_subr.c:692
#6 ufs_ihashget+0x185 sys/ufs/ufs/ufs_ihash.c:98
#7 ffs_vget+0x8c sys/ufs/ffs/ffs_vfsops.c:1203
#8 ufs_lookup+0x1a36 sys/ufs/ufs/ufs_lookup.c:478
#9 VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
#10 vfs_lookup+0x963 sys/kern/vfs_lookup.c:580
#11 namei+0x7c5 sys/kern/vfs_lookup.c:250
#12 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1807
#13 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#13 syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#14 Xsyscall+0x128
exclusive rrwlock inode r = 0 (0xfffff6006da64e90)
#0 witness_lock+0x5f1 stacktrace_save sys/sys/stacktrace.h:37 [inline]
#0 witness_lock+0x5f1 sys/kern/subr_witness.c:1160
#1 rw_do_enter_write+0x419 sys/kern/kern_rwlock.c:320
#2 rrw_enter+0xc6 sys/kern/kern_rwlock.c:621
#3 VOP_LOCK+0xbd sys/kern/vfs_vops.c:527
#4 vn_lock+0xa4 sys/kern/vfs_vnops.c:576
#5 vfs_lookup+0x12b sys/kern/vfs_lookup.c:431
#6 namei+0x7c5 sys/kern/vfs_lookup.c:250
#7 dounlinkat+0xc1 sys/kern/vfs_syscalls.c:1807
#8 syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
#8 syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
#9 Xsyscall+0x128
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11057 12017K 12034K 166960K 12151 0
pcb 17 12K 12K 166960K 17 0
rtable 209 5K 6K 166960K 354 0
pf 29 16K 16K 166960K 31 0
ifaddr 36 6K 7K 166960K 42 0
ifgroup 46 2K 2K 166960K 50 0
sysctl 1 1K 9K 166960K 6 0
counters 68 36K 37K 166960K 70 0
ioctlops 0 0K 4K 166960K 48 0
iov 0 0K 4K 166960K 7 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1287 81K 81K 166960K 1563 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 10 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 0K 166960K 81 0
dirhash 12 2K 2K 166960K 15 0
ACPI 1692 195K 286K 166960K 12470 0
file desc 23 85K 129K 166960K 455 0
sigio 0 0K 0K 166960K 12 0
proc 59 115K 147K 166960K 530 0
subproc 63 3K 4K 166960K 135 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 2 0K 0K 166960K 53 0
in_multi 78 5K 6K 166960K 95 0
ether_multi 1 0K 0K 166960K 2 0
mrt 2 0K 0K 166960K 12 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 121 546K 546K 166960K 121 0
exec 0 0K 1K 166960K 399 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 235 153K 204K 166960K 5832 0
UVM aobj 16 2K 4K 166960K 18 0
pinsyscall 45 90K 120K 166960K 1606 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 1 0K 0K 166960K 14 0
NDP 10 0K 1K 166960K 25 0
temp 41 9120K 9136K 166960K 4602 0
kqueue 13 20K 29K 166960K 102 0
SYN cache 2 16K 16K 166960K 2 0
ddb{1}> 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 61 0 56 1 0 1 1 0 8 0
rtentry 176 109 0 13 5 0 5 5 0 8 0
unpcb 144 288 0 269 2 0 2 2 0 8 1
syncache 336 15 0 15 1 0 1 1 0 8 1
tcpqe 32 3 0 3 1 0 1 1 0 8 1
tcpcb 736 170 0 159 4 0 4 4 0 8 3
arp 136 18 0 2 1 0 1 1 0 8 0
ipq 40 2 0 0 1 0 1 1 0 8 0
ipqe 40 5 0 2 1 0 1 1 0 8 0
inpcb 328 489 0 467 5 0 5 5 0 8 3
ip6q 80 3 0 1 1 0 1 1 0 8 0
ip6af 40 4 0 2 1 0 1 1 0 8 0
nd6 152 26 0 4 1 0 1 1 0 8 0
kcovpl 48 15 0 8 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 468 0 59 29 0 29 29 0 8 0
art_table 40 469 0 59 5 0 5 5 0 8 0
art_node 32 109 0 21 1 0 1 1 0 8 0
sysvmsgpl 40 11 0 3 1 0 1 1 0 8 0
semapl 72 78 0 68 1 0 1 1 0 8 0
shmpl 112 15 0 2 1 0 1 1 0 8 0
dirhash 1024 19 0 2 3 0 3 3 0 8 0
dino2pl 256 2122 0 648 93 0 93 93 0 8 0
ffsino 296 2122 0 648 114 0 114 114 0 8 0
nchpl 144 2741 0 1044 64 0 64 64 0 8 0
vnodes 216 2266 0 0 126 0 126 126 0 8 0
namei 1024 8847 0 8846 2 0 2 2 0 8 1
percpumem 16 51 0 1 1 0 1 1 0 8 0
kstatmem 264 25 0 2 2 0 2 2 0 8 0
scxspl 216 8852 0 8850 4 3 1 3 1 8 0
plimitpl 152 141 0 117 2 0 2 2 0 8 0
sigapl 424 749 0 698 7 0 7 7 0 8 0
knotepl 120 340 0 0 11 0 11 11 0 8 0
kqueuepl 224 121 0 112 1 0 1 1 0 8 0
pipepl 344 203 0 175 6 0 6 6 0 8 3
fdescpl 528 733 0 698 4 0 4 4 0 8 0
filepl 160 3930 0 3713 16 0 16 16 0 8 6
lockfpl 104 118 0 113 1 0 1 1 0 8 0
lockfspl 48 45 0 41 1 0 1 1 0 8 0
sessionpl 144 52 0 36 1 0 1 1 0 8 0
pgrppl 48 71 0 48 1 0 1 1 0 8 0
ucredpl 104 923 0 906 1 0 1 1 0 8 0
zombiepl 144 700 0 698 1 0 1 1 0 8 0
processpl 1232 749 0 698 5 0 5 5 0 8 0
procpl 664 1242 0 1184 6 0 6 6 0 8 0
sosppl 176 2 0 2 1 0 1 1 0 8 1
sockpl 752 840 0 794 8 0 8 8 0 8 3
mcl64k 65536 2 0 0 1 0 1 1 0 8 0
mcl9k128 9344 1 0 0 1 0 1 1 0 8 0
mcl8k 8192 2 0 0 1 0 1 1 0 8 0
mcl4k 4096 113 0 0 15 0 15 15 0 8 0
mcl2k 2048 27 0 0 4 0 4 4 0 8 0
mextrefs 64 26 0 0 1 0 1 1 0 8 0
mtagpl 96 2 0 0 1 0 1 1 0 8 0
mbufpl 256 1222 0 0 77 0 77 77 0 8 0
bufpl 272 2919 0 103 188 0 188 188 0 8 0
anonpl 32 5759 0 0 47 0 47 47 0 247 0
amapchunkpl 152 17792 0 17294 34 0 34 34 0 158 13
amappl16 200 1980 0 1959 6 2 4 5 0 8 1
amappl15 192 3 0 3 1 1 0 1 0 8 0
amappl14 184 402 0 400 1 0 1 1 0 8 0
amappl13 176 133 0 122 1 0 1 1 0 8 0
amappl12 168 977 0 943 2 0 2 2 0 8 0
amappl11 160 6 0 6 1 1 0 1 0 8 0
amappl10 152 58 0 48 1 0 1 1 0 8 0
amappl9 144 274 0 273 2 1 1 1 0 8 0
amappl8 136 92 0 91 1 0 1 1 0 8 0
amappl7 128 153 0 141 1 0 1 1 0 8 0
amappl6 120 144 0 142 1 0 1 1 0 8 0
amappl5 112 119 0 110 1 0 1 1 0 8 0
amappl4 104 298 0 280 1 0 1 1 0 8 0
amappl3 96 3093 0 2996 5 1 4 4 0 8 1
amappl2 88 958 0 883 3 0 3 3 0 8 0
amappl1 80 15183 0 14600 20 0 20 20 0 8 3
amappl 88 5012 0 4845 5 0 5 5 0 92 0
uvmvnodes 80 110 0 0 3 0 3 3 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 17 0 2 1 0 1 1 0 8 0
uaddrrnd 24 733 0 698 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 733 0 698 1 0 1 1 0 8 0
vmmpekpl 168 9306 0 9266 3 0 3 3 0 8 0
vmmpepl 168 60373 0 58407 117 0 117 117 0 357 20
vmsppl 488 732 0 698 7 1 6 6 0 8 0
rwobjpl 80 20949 0 19961 29 0 29 29 0 8 3
pdppl 4096 1473 0 1396 119 36 83 99 0 8 6
pvpl 32 13633 0 0 110 0 110 110 0 265 0
pmappl 256 732 0 698 4 1 3 3 0 8 0
extentpl 40 45 0 27 1 0 1 1 0 8 0
phpool 112 545 0 39 15 0 15 15 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
x86_ipi_db(ffffffff839d9ff0) 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
__mp_lock(ffffffff83abdc00) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83abdc00) at __mp_lock+0x192 sys/kern/kern_lock.c:173
intr_handler(ffff80002a348e80,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
end of kernel
end trace frame: 0x7da89cddf360, count: 9
ddb{0}> trace
x86_ipi_db(ffffffff839d9ff0) 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
__mp_lock(ffffffff83abdc00) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:142 [inline]
__mp_lock(ffffffff83abdc00) at __mp_lock+0x192 sys/kern/kern_lock.c:173
intr_handler(ffff80002a348e80,ffff8000002a3480) at intr_handler+0xe9 sys/arch/amd64/amd64/intr.c:560
Xintr_ioapic_edge23_untramp() at Xintr_ioapic_edge23_untramp+0x18f
end of kernel
end trace frame: 0x7da89cddf360, count: -6
ddb{0}> machine ddbcpu 1
Stopped at db_enter+0x25: addq $0x8,%rsp
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346620e) at panic+0x1e5 sys/kern/subr_prf.c:198
free(2000,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c40880) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff6006cf40528) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff800010fdf4b0) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff800010fdf4b0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff800010fdf4b0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff6007dc36420,ffff80003c3d5a18) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff6007dc36420,ffff80003c3d5a18) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff6007dc36420,ffff80003c3d5a18) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c3d5a18) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff80003c3d5a18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff80003c3d5a18,ffff80002a34e620,ffff80002a34e570) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a34e620) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a34e620) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
end trace frame: 0xffff80002a34e6a0, count: 0
ddb{1}> trace
db_enter() at db_enter+0x25 sys/arch/amd64/amd64/db_interface.c:438
panic(ffffffff8346620e) at panic+0x1e5 sys/kern/subr_prf.c:198
free(2000,35,0) at free+0x6b7 sys/kern/kern_malloc.c:426
ip_freemoptions(ffff800000c40880) at ip_freemoptions+0xea sys/netinet/ip_output.c:1744
in_pcbdetach(fffff6006cf40528) at in_pcbdetach+0xec sys/netinet/in_pcb.c:605
udp_detach(ffff800010fdf4b0) at udp_detach+0x5a sys/netinet/udp_usrreq.c:1158
soclose(ffff800010fdf4b0,0) at soclose+0xb0 pru_detach sys/sys/protosw.h:281 [inline]
soclose(ffff800010fdf4b0,0) at soclose+0xb0 sys/kern/uipc_socket.c:403
soo_close(fffff6007dc36420,ffff80003c3d5a18) at soo_close+0x56 sys/kern/sys_socket.c:-1
fdrop(fffff6007dc36420,ffff80003c3d5a18) at fdrop+0x121 sys/kern/kern_descrip.c:1281
closef(fffff6007dc36420,ffff80003c3d5a18) at closef+0x192 sys/kern/kern_descrip.c:1265
fdfree(ffff80003c3d5a18) at fdfree+0x116 sys/kern/kern_descrip.c:1196
exit1(ffff80003c3d5a18,0,0,1) at exit1+0x595 sys/kern/kern_exit.c:215
sys_exit(ffff80003c3d5a18,ffff80002a34e620,ffff80002a34e570) at sys_exit+0x1a sys/kern/kern_exit.c:-1
syscall(ffff80002a34e620) at syscall+0xb17 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80002a34e620) at syscall+0xb17 sys/arch/amd64/amd64/trap.c:791
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x7addca6cc330, count: -15


---
This report 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 issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages