panic(ADDR) at panic+0x15c (2)

0 views
Skip to first unread message

syzbot

unread,
May 7, 2020, 5:20:15 AM5/7/20
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 99490db6 Currently LibreSSL reports an unknown SSL_interna..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1139d7ffe00000
kernel config: https://syzkaller.appspot.com/x/.config?x=fe55924c11e64b0a
dashboard link: https://syzkaller.appspot.com/bug?extid=f1c671f911cb02f2dc51

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

panic(ffffffff82250235) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff8259e668,2,ffff80001d81e098) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff8259e668,2) at pool_get+0xb5 sys/kern/subr_pool.c:581
m_get(2,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250
rt_ifa_del(ffff800000a0c500,800100,ffff800000a0c540,0) at rt_ifa_del+0xa1 sys/net/route.c:1163
in6_unlink_ifa(ffff800000a0c500,ffff8000009f7800) at in6_unlink_ifa+0x571 sys/netinet6/in6.c:943
in6_update_ifa(ffff8000009f7800,ffff80001d81e630,0) at in6_update_ifa+0x13f7 sys/netinet6/in6.c:875
in6_ioctl_change_ifaddr(8080691a,ffff80001d81e630,ffff8000009f7800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352
ifioctl(fffffd805dad3e18,8080691a,ffff80001d81e630,ffff80001d73a5f8) at ifioctl+0xe60 sys/net/if.c:2289
sys_ioctl(ffff80001d73a5f8,ffff80001d81e748,ffff80001d81e790) at sys_ioctl+0x4a1
syscall(ffff80001d81e810) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2baf438d770, count: 2
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>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
pool_do_get: mbufpl free list modified: page 0xfffffd805d39e000; item addr 0xfffffd805d39e900; offset 0x0=0x0 != 0x5bfc7c78bf733507
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82250235) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff8259e668,2,ffff80001d81e098) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff8259e668,2) at pool_get+0xb5 sys/kern/subr_pool.c:581
m_get(2,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250
rt_ifa_del(ffff800000a0c500,800100,ffff800000a0c540,0) at rt_ifa_del+0xa1 sys/net/route.c:1163
in6_unlink_ifa(ffff800000a0c500,ffff8000009f7800) at in6_unlink_ifa+0x571 sys/netinet6/in6.c:943
in6_update_ifa(ffff8000009f7800,ffff80001d81e630,0) at in6_update_ifa+0x13f7 sys/netinet6/in6.c:875
in6_ioctl_change_ifaddr(8080691a,ffff80001d81e630,ffff8000009f7800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352
ifioctl(fffffd805dad3e18,8080691a,ffff80001d81e630,ffff80001d73a5f8) at ifioctl+0xe60 sys/net/if.c:2289
sys_ioctl(ffff80001d73a5f8,ffff80001d81e748,ffff80001d81e790) at sys_ioctl+0x4a1
syscall(ffff80001d81e810) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2baf438d770, count: -13
ddb> show registers
rdi 0
rsi 0x3ffff acpi_pdirpa+0x2be67
rbp 0xffff80001d81df00
rbx 0xffff80001d81dfb0
rdx 0x40000 acpi_pdirpa+0x2be68
rcx 0xffff80001fa27000
rax 0xffff8000009fa380
r8 0xffff80001d81dec0
r9 0x1
r10 0xffff8000009fa380
r11 0x95c9b18c81d28e91
r12 0x3000000008
r13 0xffff80001d81df10
r14 0x100
r15 0x1
rip 0xffffffff812ce6e8 db_enter+0x18
cs 0x8
rflags 0x246
rsp 0xffff80001d81def0
ss 0x10
db_enter+0x18: addq $0x8,%rsp
ddb> show proc
PROC (syz-executor.1) pid=153418 stat=onproc
flags process=0 proc=4000000<THREAD>
pri=32, usrpri=65, nice=20
forw=0xffffffffffffffff, list=0xffff80001d7394e8,0xffffffff82595198
process=0xffff8000ffffae70 user=0xffff80001d819000, vmspace=0xfffffd806bc09660
estcpu=15, cpticks=22, pctcpu=0.0
user=0, sys=18, intr=4
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
16568 472488 95545 0 2 0 syz-executor.1
*16568 153418 95545 0 7 0x4000000 syz-executor.1
95545 23568 63171 0 3 0x82 nanosleep syz-executor.1
36741 457875 63171 0 3 0x2 biowait syz-executor.0
63171 135059 57846 0 3 0x82 thrsleep syz-fuzzer
63171 275119 57846 0 3 0x4000082 nanosleep syz-fuzzer
63171 485970 57846 0 3 0x4000082 thrsleep syz-fuzzer
63171 149518 57846 0 3 0x4000082 thrsleep syz-fuzzer
63171 507654 57846 0 3 0x4000082 kqread syz-fuzzer
63171 426544 57846 0 3 0x4000082 thrsleep syz-fuzzer
63171 391483 57846 0 3 0x4000082 thrsleep syz-fuzzer
57846 136296 76178 0 3 0x10008a pause ksh
76178 36361 99530 0 3 0x92 select sshd
80467 44771 1 0 3 0x100083 ttyin getty
99530 334276 1 0 3 0x80 select sshd
83168 18344 6079 73 3 0x100090 kqread syslogd
6079 482387 1 0 3 0x100082 netio syslogd
86677 126675 1 77 3 0x100090 poll dhclient
72312 373663 1 0 3 0x80 poll dhclient
92352 207759 0 0 3 0x14200 bored smr
13686 498217 0 0 2 0x14200 zerothread
87905 426596 0 0 3 0x14200 aiodoned aiodoned
9706 19705 0 0 3 0x14200 syncer update
9213 19448 0 0 3 0x14200 cleaner cleaner
51501 301414 0 0 3 0x14200 reaper reaper
38173 15566 0 0 3 0x14200 pgdaemon pagedaemon
13936 141675 0 0 3 0x14200 bored crynlk
70394 303118 0 0 3 0x14200 bored crypto
46260 104273 0 0 3 0x40014200 acpi0 acpi0
8725 347564 0 0 3 0x14200 bored softnet
82696 277816 0 0 3 0x14200 bored systqmp
76613 125445 0 0 3 0x14200 bored systq
96348 177634 0 0 3 0x40014200 bored softclock
78169 174538 0 0 3 0x40014200 idle0
1 19812 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 9472 6585K 6585K 78643K 10594 0
pcb 13 8K 8K 78643K 27 0
rtable 85 2K 3K 78643K 247 0
ifaddr 45 10K 10K 78643K 55 0
counters 21 16K 16K 78643K 22 0
ioctlops 0 0K 2K 78643K 19 0
iov 0 0K 12K 78643K 32 0
mount 1 1K 1K 78643K 1 0
vnodes 1219 77K 77K 78643K 1238 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 0K 0K 78643K 2 0
sem 8 0K 0K 78643K 8 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1794 195K 288K 78643K 12646 0
file desc 5 13K 25K 78643K 68 0
proc 48 38K 63K 78643K 361 0
subproc 32 2K 2K 78643K 34 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 3 0
in_multi 33 2K 2K 78643K 44 0
ether_multi 1 0K 0K 78643K 3 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 31 148K 148K 78643K 31 0
exec 0 0K 1K 78643K 185 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 115 22K 42K 78643K 1020 0
UVM aobj 2 2K 2K 78643K 2 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 16 0
NDP 6 0K 0K 78643K 11 0
temp 68 3032K 3096K 78643K 1973 0
kqueue 3 4K 4K 78643K 3 0
SYN cache 2 16K 16K 78643K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
arp 64 10 0 4 1 0 1 1 0 8 0
rtpcb 80 23 0 21 1 0 1 1 0 8 0
rtentry 112 59 0 25 2 0 2 2 0 8 0
unpcb 120 25 0 17 1 0 1 1 0 8 0
syncache 264 4 0 4 1 1 0 1 0 8 0
tcpqe 32 64 0 64 1 0 1 1 0 8 1
tcpcb 544 36 0 32 1 0 1 1 0 8 0
inpcb 280 104 0 95 2 0 2 2 0 8 1
nd6 48 6 0 0 1 0 1 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 267 0 84 13 0 13 13 0 8 1
art_table 32 268 0 84 2 0 2 2 0 8 0
art_node 16 58 0 30 1 0 1 1 0 8 0
sysvmsgpl 40 4 0 2 1 0 1 1 0 8 0
semapl 112 6 0 0 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1470 0 72 88 0 88 88 0 8 0
ffsino 240 1470 0 72 83 0 83 83 0 8 0
nchpl 144 1745 0 146 60 0 60 60 0 8 0
uvmvnodes 72 1524 0 0 28 0 28 28 0 8 0
vnodes 208 1524 0 0 81 0 81 81 0 8 0
namei 1024 4272 0 4272 1 0 1 1 0 8 1
vmpool 528 1 0 1 1 0 1 1 0 8 1
scxspl 192 4337 0 4336 1 0 1 1 0 8 0
plimitpl 152 16 0 9 1 0 1 1 0 8 0
sigapl 424 254 0 226 4 0 4 4 0 8 0
futexpl 56 818 0 818 1 0 1 1 0 8 1
knotepl 112 61 0 42 1 0 1 1 0 8 0
kqueuepl 144 2 0 0 1 0 1 1 0 8 0
pipelkpl 16 76 0 66 1 0 1 1 0 8 0
pipepl 120 152 0 133 1 0 1 1 0 8 0
fdescpl 432 240 0 226 2 0 2 2 0 8 0
filepl 120 1223 0 1124 4 0 4 4 0 8 1
lockfpl 104 19 0 18 1 0 1 1 0 8 0
lockfspl 48 7 0 6 1 0 1 1 0 8 0
sessionpl 112 17 0 7 1 0 1 1 0 8 0
pgrppl 48 17 0 7 1 0 1 1 0 8 0
ucredpl 96 66 0 59 1 0 1 1 0 8 0
zombiepl 144 226 0 226 1 0 1 1 0 8 1
processpl 920 254 0 226 4 0 4 4 0 8 0
procpl 624 303 0 268 4 0 4 4 0 8 1
sockpl 400 152 0 133 4 0 4 4 0 8 2
mcl4k 4096 10 0 10 2 1 1 1 0 8 1
mcl2k 2048 62296 0 62245 17 2 15 15 0 8 7
mtagpl 80 5 0 2 2 1 1 1 0 8 0
mbufpl 256 99305 0 99212 12 1 11 11 0 8 1
mbufpl: pool(0xffffffff8259e668:mbufpl): free list modified: page 0xfffffd805d39e000; item ordinal 0; addr 0xfffffd805d39e900 (p 0xfffffd805dd94000); offset 0x0=0x0
mbufpl: pool(0xffffffff8259e668:mbufpl): page inconsistency: page 0xfffffd805d39e000; item ordinal 1; addr 0x50598211341cad07
bufpl 280 3318 0 126 228 0 228 228 0 8 0
anonpl 16 37804 0 24832 54 1 53 53 0 107 0
amapchunkpl 152 1672 0 1538 19 0 19 19 0 158 13
amappl16 192 959 0 271 35 0 35 35 0 8 0
amappl15 184 17 0 15 1 0 1 1 0 8 0
amappl14 176 23 0 18 1 0 1 1 0 8 0
amappl13 168 23 0 22 1 0 1 1 0 8 0
amappl12 160 12 0 9 2 1 1 1 0 8 0
amappl11 152 44 0 34 1 0 1 1 0 8 0
amappl10 144 15 0 10 1 0 1 1 0 8 0
amappl9 136 368 0 366 1 0 1 1 0 8 0
amappl8 128 318 0 282 2 0 2 2 0 8 0
amappl7 120 115 0 101 1 0 1 1 0 8 0
amappl6 112 27 0 19 1 0 1 1 0 8 0
amappl5 104 186 0 176 1 0 1 1 0 8 0
amappl4 96 419 0 395 1 0 1 1 0 8 0
amappl3 88 101 0 94 1 0 1 1 0 8 0
amappl2 80 1111 0 1044 2 0 2 2 0 8 0
amappl1 72 14017 0 13613 24 8 16 17 0 8 7
amappl 80 555 0 513 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 241 0 227 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 241 0 227 1 0 1 1 0 8 0
vmmpekpl 168 5836 0 5812 2 0 2 2 0 8 0
vmmpepl 168 35453 0 33701 104 7 97 97 0 357 20
vmsppl 272 240 0 227 2 0 2 2 0 8 1
pdppl 4096 488 0 454 6 0 6 6 0 8 1
pvpl 32 130439 0 114524 130 0 130 130 0 265 1
pmappl 200 240 0 227 1 0 1 1 0 8 0
extentpl 40 46 0 29 1 0 1 1 0 8 0
phpool 112 239 0 6 7 0 7 7 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82250235) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff8259e668,2,ffff80001d81e098) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff8259e668,2) at pool_get+0xb5 sys/kern/subr_pool.c:581
m_get(2,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250
rt_ifa_del(ffff800000a0c500,800100,ffff800000a0c540,0) at rt_ifa_del+0xa1 sys/net/route.c:1163
in6_unlink_ifa(ffff800000a0c500,ffff8000009f7800) at in6_unlink_ifa+0x571 sys/netinet6/in6.c:943
in6_update_ifa(ffff8000009f7800,ffff80001d81e630,0) at in6_update_ifa+0x13f7 sys/netinet6/in6.c:875
in6_ioctl_change_ifaddr(8080691a,ffff80001d81e630,ffff8000009f7800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352
ifioctl(fffffd805dad3e18,8080691a,ffff80001d81e630,ffff80001d73a5f8) at ifioctl+0xe60 sys/net/if.c:2289
sys_ioctl(ffff80001d73a5f8,ffff80001d81e748,ffff80001d81e790) at sys_ioctl+0x4a1
syscall(ffff80001d81e810) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2baf438d770, count: -13
ddb> machine ddbcpu 1
No such command
ddb> trace
db_enter() at db_enter+0x18 sys/arch/amd64/amd64/db_interface.c:398
panic(ffffffff82250235) at panic+0x15c sys/kern/subr_prf.c:207
pool_do_get(ffffffff8259e668,2,ffff80001d81e098) at pool_do_get+0x42a sys/kern/subr_pool.c:738
pool_get(ffffffff8259e668,2) at pool_get+0xb5 sys/kern/subr_pool.c:581
m_get(2,3) at m_get+0x4c sys/kern/uipc_mbuf.c:250
rt_ifa_del(ffff800000a0c500,800100,ffff800000a0c540,0) at rt_ifa_del+0xa1 sys/net/route.c:1163
in6_unlink_ifa(ffff800000a0c500,ffff8000009f7800) at in6_unlink_ifa+0x571 sys/netinet6/in6.c:943
in6_update_ifa(ffff8000009f7800,ffff80001d81e630,0) at in6_update_ifa+0x13f7 sys/netinet6/in6.c:875
in6_ioctl_change_ifaddr(8080691a,ffff80001d81e630,ffff8000009f7800) at in6_ioctl_change_ifaddr+0x40c sys/netinet6/in6.c:352
ifioctl(fffffd805dad3e18,8080691a,ffff80001d81e630,ffff80001d73a5f8) at ifioctl+0xe60 sys/net/if.c:2289
sys_ioctl(ffff80001d73a5f8,ffff80001d81e748,ffff80001d81e790) at sys_ioctl+0x4a1
syscall(ffff80001d81e810) at syscall+0x507 sys/arch/amd64/amd64/trap.c:570
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x2baf438d770, count: -13


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

Anton Lindqvist

unread,
May 7, 2020, 7:45:56 AM5/7/20
to syzbot, syzkaller-o...@googlegroups.com
#syz dup: pool: free list modified: mbufpl (2)
Reply all
Reply to author
Forward
0 new messages