protection_fault: pool_do_put

0 visualizzazioni
Passa al primo messaggio da leggere

syzbot

da leggere,
8 apr 2022, 11:19:2508/04/22
a syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 5f2fb3a34fae Note that curve25519-sha256 was later publish..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=1030ceb7700000
kernel config: https://syzkaller.appspot.com/x/.config?x=fe55924c11e64b0a
dashboard link: https://syzkaller.appspot.com/bug?extid=393a15649be2f0a5821e

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

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

kernel: protection fault trap, code=0
Stopped at pool_do_put+0x115: movq 0x8(%rbx),%rbx
ddb>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
the kernel did not panic
ddb> trace
pool_do_put(ffffffff829db330,fffffd80634e3400) at pool_do_put+0x115
pool_put(ffffffff829db330,fffffd80634e3400) at pool_put+0x71 sys/kern/subr_pool.c:801
art_table_gc(0) at art_table_gc+0xc5 sys/net/art.c:813
taskq_thread(ffffffff828fc520) at taskq_thread+0x9b sys/kern/kern_task.c:449
end trace frame: 0x0, count: -4
ddb> show registers
rdi 0
rsi 0xfffffd80634e3800
rbp 0xffff8000215908c0
rbx 0x6d2853a5a5b8da24
rdx 0
rcx 0x1000 __ALIGN_SIZE
rax 0xffff8000ffffe7e0
r8 0
r9 0
r10 0x86b1ff7bce9cd0b0
r11 0x2f26710a9267b2f5
r12 0xfffffd80634e3400
r13 0x6d2853a5a5b8da24
r14 0xffffffff829db330 at_heap_4_pool
r15 0xfffffd806a9c4108
rip 0xffffffff81d16535 pool_do_put+0x115
cs 0x8
rflags 0x10292 __ALIGN_SIZE+0xf292
rsp 0xffff800021590810
ss 0x10
pool_do_put+0x115: movq 0x8(%rbx),%rbx
ddb> show proc
PROC (systqmp) pid=47689 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=200<SYSTEM>
pri=32, usrpri=50, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffffefc0,0xffff8000ffffe550
process=0xffff8000ffffc3e8 user=0xffff80002158b000, vmspace=0xffffffff82a0c058
estcpu=0, cpticks=1, pctcpu=0.0
user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
21558 321084 11705 0 2 0 syz-executor.3
21558 313298 11705 0 3 0x4000080 fsleep syz-executor.3
28807 347060 24730 0 2 0 syz-executor.2
28807 426435 24730 0 3 0x4000080 fsleep syz-executor.2
76256 391370 55273 0 2 0 syz-executor.7
76256 95297 55273 0 3 0x4000080 fsleep syz-executor.7
57536 271471 85798 0 2 0 syz-executor.4
57536 507700 85798 0 2 0x4000000 syz-executor.4
57536 326117 85798 0 3 0x4000080 fsleep syz-executor.4
52243 343650 6652 0 3 0x80 nanoslp syz-executor.1
52243 231550 6652 0 3 0x4000080 lockf syz-executor.1
62736 253389 1 0 3 0x100083 ttyin getty
85798 298394 45539 0 3 0x82 nanoslp syz-executor.4
24730 253789 45539 0 3 0x82 nanoslp syz-executor.2
6652 347860 45539 0 3 0x82 nanoslp syz-executor.1
85021 408885 45539 0 3 0x82 piperd syz-executor.5
17061 390857 0 0 3 0x14280 nfsidl nfsio
86169 430805 0 0 3 0x14280 nfsidl nfsio
66785 496587 0 0 3 0x14280 nfsidl nfsio
38148 310983 0 0 3 0x14280 nfsidl nfsio
4478 234870 0 0 3 0x14280 nfsidl nfsio
54390 447731 0 0 3 0x14280 nfsidl nfsio
61982 409580 0 0 3 0x14200 bored sosplice
8566 235590 45539 0 3 0x82 piperd syz-executor.6
55273 420034 45539 0 3 0x82 nanoslp syz-executor.7
11705 325574 45539 0 3 0x82 nanoslp syz-executor.3
90381 284474 45539 0 3 0x82 nanoslp syz-executor.0
45539 184201 20823 0 3 0x82 thrsleep syz-fuzzer
45539 348822 20823 0 3 0x4000082 nanoslp syz-fuzzer
45539 338335 20823 0 3 0x4000082 thrsleep syz-fuzzer
45539 325778 20823 0 3 0x4000082 thrsleep syz-fuzzer
45539 334666 20823 0 3 0x4000082 kqread syz-fuzzer
45539 402334 20823 0 3 0x4000082 thrsleep syz-fuzzer
45539 51974 20823 0 3 0x4000082 thrsleep syz-fuzzer
45539 355340 20823 0 3 0x4000082 thrsleep syz-fuzzer
20823 357685 11494 0 3 0x10008a sigsusp ksh
11494 279459 89839 0 3 0x9a kqread sshd
89839 23343 1 0 3 0x88 kqread sshd
74060 75990 40907 73 3 0x1100090 kqread syslogd
40907 365931 1 0 3 0x100082 netio syslogd
29665 227639 1 0 3 0x100080 kqread resolvd
7787 157590 20924 77 3 0x100092 kqread dhcpleased
37266 412604 20924 77 3 0x100092 kqread dhcpleased
20924 79786 1 0 3 0x80 kqread dhcpleased
42475 393312 0 0 3 0x14200 bored smr
57140 441216 0 0 2 0x14200 zerothread
83961 306502 0 0 3 0x14200 aiodoned aiodoned
30968 324937 0 0 3 0x14200 syncer update
45333 275647 0 0 3 0x14200 cleaner cleaner
78384 522234 0 0 3 0x14200 reaper reaper
15969 410571 0 0 3 0x14200 pgdaemon pagedaemon
37112 99828 0 0 3 0x14200 bored viomb
32818 144329 0 0 3 0x40014200 acpi0 acpi0
39234 112215 0 0 3 0x14200 bored softnet
* 2107 47689 0 0 7 0x14200 systqmp
84966 410232 0 0 3 0x14200 bored systq
8827 219327 0 0 3 0x40014200 bored softclock
53984 337936 0 0 3 0x40014200 idle0
1 451972 0 0 3 0x80082 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 10189 6486K 7278K 78643K 21254 0
pcb 13 14K 16K 78643K 422 0
rtable 232 19K 20K 78643K 808 0
ifaddr 91 19K 20K 78643K 341 0
sysctl 3 1K 1K 78643K 3 0
counters 27 17K 17K 78643K 56 0
ioctlops 0 0K 4K 78643K 5604 0
iov 0 0K 24K 78643K 723 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 5 0
vnodes 1370 86K 86K 78643K 4444 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 5K 78643K 42 0
VM map 2 0K 0K 78643K 2 0
sem 12 0K 0K 78643K 526 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 15 53K 85K 78643K 15416 0
sigio 1 0K 0K 78643K 79 0
proc 60 55K 79K 78643K 807 0
subproc 104 6K 6K 78643K 182 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 163 0
in_multi 88 5K 6K 78643K 332 0
ether_multi 1 0K 0K 78643K 53 0
mrt 0 0K 0K 78643K 21 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 163 731K 731K 78643K 163 0
exec 0 0K 2K 78643K 1224 0
tdb 3 0K 0K 78643K 3 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 282 197K 261K 78643K 77590 0
UVM aobj 80 3K 3K 78643K 93 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 164 0
NDP 12 0K 2K 78643K 72 0
temp 133 4728K 4984K 78643K 76072 0
kqueue 15 24K 28K 78643K 1332 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
rtpcb 120 235 0 230 4 3 1 3 0 8 0
rtentry 112 221 0 128 4 0 4 4 0 8 0
unpcb 136 11100 0 11084 62 57 5 8 0 8 4
syncache 296 21 0 21 4 4 0 1 0 8 0
tcpqe 32 26 0 26 3 3 0 1 0 8 0
tcpcb 736 1027 0 1023 31 30 1 19 0 8 0
arp 88 32 0 16 1 0 1 1 0 8 0
ipq 40 2 0 2 2 2 0 1 0 8 0
ipqe 40 40 0 40 2 2 0 1 0 8 0
inpcb 312 5107 0 5097 48 44 4 11 0 8 3
rttmr 72 3 0 3 1 1 0 1 0 8 0
ip6q 72 2 0 2 1 1 0 1 0 8 0
ip6af 40 4 0 4 1 1 0 1 0 8 0
nd6 48 53 0 30 1 0 1 1 0 8 0
pkpcb 40 10 0 10 3 3 0 1 0 8 0
kcovpl 48 14 0 6 1 0 1 1 0 8 0
ppxss 1152 8 0 8 3 3 0 1 0 8 0
pfstscr 40 77 0 74 1 0 1 1 0 8 0
pfrktable 1344 33 0 24 1 0 1 1 0 8 0
pftag 88 3 0 0 1 0 1 1 0 8 0
pfstitem 24 4 0 0 1 0 1 1 0 8 0
pfstkey 112 148 0 144 1 0 1 1 0 8 0
pfstate 320 74 0 72 1 0 1 1 0 8 0
pfrule 1360 116 0 81 4 1 3 4 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 1039 0 626 36 9 27 29 0 8 0
art_heap4: pool(0xffffffff829db330:art_heap4): free list modified: page 0xfffffd80634e3000; item ordinal 0; addr 0xfffffd80634e3800 (p 0xfffffd806a9c4000); offset 0x0=0x0
pool(art_heap4): free list modified: page 0xfffffd80634e3000; item ordinal 0; addr 0xfffffd80634e3800 (p 0xfffffd806a9c4000); offset 0x0=0x0
art_heap4: pool(0xffffffff829db330:art_heap4): page inconsistency: page 0xfffffd80634e3000; item ordinal 1; addr 0x6d2853a5a5b8da24
art_table 32 1040 0 626 4 0 4 4 0 8 0
art_node 16 220 0 138 1 0 1 1 0 8 0
sysvmsgpl 40 30 0 14 1 0 1 1 0 8 0
semupl 112 3 0 3 1 1 0 1 0 8 0
semapl 112 524 0 514 1 0 1 1 0 8 0
shmpl 112 90 0 13 3 0 3 3 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 19569 0 18133 91 0 91 91 0 8 0
ffsino 240 19569 0 18133 85 0 85 85 0 8 0
nchpl 144 39292 0 37657 63 0 63 63 0 8 0
uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0
vnodes 224 5926 0 0 349 0 349 349 0 8 0
namei 1024 110883 0 110883 5 4 1 2 0 8 1
vcpupl 1984 10 0 4 2 1 1 2 0 8 0
vmpool 528 13 0 7 1 0 1 1 0 8 0
pfiaddrpl 120 20 0 6 1 0 1 1 0 8 0
scsiplug 72 3 0 3 1 1 0 1 0 8 0
scxspl 216 111591 0 111591 16 15 1 8 0 8 1
plimitpl 152 668 0 654 1 0 1 1 0 8 0
sigapl 424 15703 0 15656 9 3 6 8 0 8 0
futexpl 64 103765 0 103761 3 2 1 1 0 8 0
knotepl 120 551086 0 550739 76 65 11 15 0 8 0
kqueuepl 184 8127 0 8113 57 53 4 10 0 8 3
pipepl 304 1505 0 1477 30 27 3 10 0 8 0
fdescpl 432 15668 0 15642 4 0 4 4 0 8 0
filepl 120 75819 0 75567 88 76 12 17 0 8 3
lockfpl 104 7079 0 7074 17 15 2 3 0 8 1
lockfspl 48 1934 0 1930 1 0 1 1 0 8 0
sessionpl 144 30 0 14 1 0 1 1 0 8 0
pgrppl 48 36 0 20 1 0 1 1 0 8 0
ucredpl 96 2587 0 2577 1 0 1 1 0 8 0
zombiepl 144 15657 0 15656 2 1 1 1 0 8 0
processpl 1000 15703 0 15656 8 0 8 8 0 8 0
procpl 672 34745 0 34685 12 5 7 8 0 8 0
sosppl 168 23 0 23 3 3 0 1 0 8 0
sockpl 448 16459 0 16428 248 236 12 25 0 8 8
mcl64k 65536 380 0 380 19 18 1 1 0 8 1
mcl16k 16384 990 0 990 14 13 1 1 0 8 1
mcl12k 12288 157 0 157 21 20 1 1 0 8 1
mcl9k 9216 253 0 253 20 19 1 1 0 8 1
mcl8k 8192 425 0 425 19 18 1 1 0 8 1
mcl4k 4096 826 0 826 15 14 1 1 0 8 1
mcl2k2 2112 62 0 62 19 19 0 1 0 8 0
mcl2k 2048 94453 0 94396 45 36 9 16 0 8 0
mtagpl 96 1710 0 1291 15 3 12 12 0 8 0
mbufpl 256 242734 0 242083 68 23 45 49 0 8 0
bufpl 288 23264 0 16863 458 0 458 458 0 8 0
anonpl 24 2624948 0 2606127 248 132 116 159 0 188 0
amapchunkpl 152 237639 0 236991 105 75 30 50 0 158 3
amappl16 200 36184 0 35531 98 63 35 56 0 8 0
amappl15 192 1025 0 1022 1 0 1 1 0 8 0
amappl14 184 863 0 858 1 0 1 1 0 8 0
amappl13 176 2158 0 2153 1 0 1 1 0 8 0
amappl12 168 5587 0 5576 1 0 1 1 0 8 0
amappl11 160 3600 0 3582 1 0 1 1 0 8 0
amappl10 152 90 0 85 1 0 1 1 0 8 0
amappl9 144 1505 0 1501 1 0 1 1 0 8 0
amappl8 136 2964 0 2879 4 0 4 4 0 8 1
amappl7 128 2301 0 2291 1 0 1 1 0 8 0
amappl6 120 1218 0 1197 2 1 1 2 0 8 0
amappl5 112 5821 0 5811 1 0 1 1 0 8 0
amappl4 104 9655 0 9623 2 1 1 2 0 8 0
amappl3 96 49692 0 49642 2 0 2 2 0 8 0
amappl2 88 21559 0 21490 3 1 2 3 0 8 0
amappl1 80 353222 0 352612 23 9 14 19 0 8 0
amappl 88 76911 0 76754 5 1 4 5 0 92 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 92 0 13 2 0 2 2 0 8 0
uaddrrnd 24 15681 0 15649 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 15681 0 15649 1 0 1 1 0 8 0
vmmpekpl 168 91521 0 91473 3 0 3 3 0 8 0
vmmpepl 168 1451020 0 1448460 201 77 124 139 0 357 4
vmsppl 272 15680 0 15649 4 1 3 3 0 8 0
rwobjpl 24 325982 0 318328 50 3 47 48 0 8 0
pdppl 4096 31368 0 31304 425 357 68 74 0 8 4
pvpl 32 5354980 0 5332248 437 249 188 301 0 265 0
pmappl 216 15680 0 15649 3 0 3 3 0 8 0
extentpl 40 58 0 38 1 0 1 1 0 8 0
phpool 112 1622 0 806 24 0 24 24 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
pool_do_put(ffffffff829db330,fffffd80634e3400) at pool_do_put+0x115
pool_put(ffffffff829db330,fffffd80634e3400) at pool_put+0x71 sys/kern/subr_pool.c:801
art_table_gc(0) at art_table_gc+0xc5 sys/net/art.c:813
taskq_thread(ffffffff828fc520) at taskq_thread+0x9b sys/kern/kern_task.c:449
end trace frame: 0x0, count: -4
ddb> machine ddbcpu 1
No such command
ddb> trace
pool_do_put(ffffffff829db330,fffffd80634e3400) at pool_do_put+0x115
pool_put(ffffffff829db330,fffffd80634e3400) at pool_put+0x71 sys/kern/subr_pool.c:801
art_table_gc(0) at art_table_gc+0xc5 sys/net/art.c:813
taskq_thread(ffffffff828fc520) at taskq_thread+0x9b sys/kern/kern_task.c:449
end trace frame: 0x0, count: -4


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

syzbot

da leggere,
7 lug 2022, 11:19:1507/07/22
a syzkaller-o...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi