uvm_fault: pool_gc_pages

0 views
Skip to first unread message

syzbot

unread,
Apr 15, 2022, 3:42:20 PM4/15/22
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: f0263d44f958 delete an ancient paragraph suggesting the wr..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=13072c94f00000
kernel config: https://syzkaller.appspot.com/x/.config?x=fe55924c11e64b0a
dashboard link: https://syzkaller.appspot.com/bug?extid=107fd5a7aaa9867553b0

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

uvm_fault(0xffffffff82a8ac28, 0x0, 0, 2) -> e
kernel: page fault trap, code=0
Stopped at pool_gc_pages+0x1a5: movq %rax,0(%rcx)
TID PID UID PRFLAGS PFLAGS CPU COMMAND
* 53199 83951 0 0x14000 0x200 0 systqmp
pool_gc_pages(0) at pool_gc_pages+0x1a5 pool_p_remove sys/kern/subr_pool.c:1051 [inline]
pool_gc_pages(0) at pool_gc_pages+0x1a5 sys/kern/subr_pool.c:1578
taskq_thread(ffffffff82930b00) at taskq_thread+0x9b sys/kern/kern_task.c:449
end trace frame: 0x0, count: 13
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
*cpu0: uvm_fault(0xffffffff82a8ac28, 0x0, 0, 2) -> e
ddb> trace
pool_gc_pages(0) at pool_gc_pages+0x1a5 pool_p_remove sys/kern/subr_pool.c:1051 [inline]
pool_gc_pages(0) at pool_gc_pages+0x1a5 sys/kern/subr_pool.c:1578
taskq_thread(ffffffff82930b00) at taskq_thread+0x9b sys/kern/kern_task.c:449
end trace frame: 0x0, count: -2
ddb> show registers
rdi 0
rsi 0xf90
rbp 0xffff8000215905c0
rbx 0xf90
rdx 0
rcx 0
rax 0
r8 0
r9 0
r10 0x20a08f87d9464215
r11 0x744da91f6969df3
r12 0x1dcd65000
r13 0xfffffd8064c7df90
r14 0
r15 0xffffffff82995f30 rtpcb_pool
rip 0xffffffff822ab285 pool_gc_pages+0x1a5
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800021590580
ss 0
pool_gc_pages+0x1a5: movq %rax,0(%rcx)
ddb> show proc
PROC (systqmp) pid=53199 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=200<SYSTEM>
pri=32, usrpri=51, nice=20
forw=0xffffffffffffffff, list=0xffff8000ffffea80,0xffff8000ffffe550
process=0xffff8000ffffc000 user=0xffff80002158b000, vmspace=0xffffffff82a8ac28
estcpu=1, cpticks=2, pctcpu=0.0
user=0, sys=2, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
25354 30154 21257 0 2 0 syz-executor.6
25354 84424 21257 0 2 0x4000000 syz-executor.6
99798 379503 48284 0 2 0 syz-executor.4
12146 180450 28936 0 2 0 syz-executor.1
65311 208690 20760 0 2 0 syz-executor.0
65311 410111 20760 0 2 0x4000000 syz-executor.0
47287 234881 48272 0 2 0 syz-executor.2
47287 501352 48272 0 2 0x4000000 syz-executor.2
61535 494538 57183 0 2 0 syz-executor.3
61535 468459 57183 0 3 0x4000080 fsleep syz-executor.3
86956 328699 96531 0 2 0 syz-executor.7
86956 405493 96531 0 3 0x4000080 fsleep syz-executor.7
20760 427453 17478 0 3 0x82 nanoslp syz-executor.0
91948 315705 0 0 3 0x14200 acct acct
48284 170785 17478 0 3 0x82 nanoslp syz-executor.4
21257 395096 17478 0 2 0x482 syz-executor.6
85690 451713 1 0 3 0x100083 ttyin getty
28936 82105 17478 0 3 0x82 nanoslp syz-executor.1
57183 491109 17478 0 3 0x82 nanoslp syz-executor.3
48272 202542 17478 0 3 0x82 nanoslp syz-executor.2
83438 353179 17478 0 2 0x2 syz-executor.5
96531 310878 17478 0 3 0x82 nanoslp syz-executor.7
71031 276261 0 0 3 0x14200 bored sosplice
17478 515544 10132 0 3 0x82 thrsleep syz-fuzzer
17478 388101 10132 0 3 0x4000082 thrsleep syz-fuzzer
17478 56318 10132 0 3 0x4000082 thrsleep syz-fuzzer
17478 432146 10132 0 3 0x4000082 thrsleep syz-fuzzer
17478 128994 10132 0 3 0x4000082 thrsleep syz-fuzzer
17478 9319 10132 0 3 0x4000082 thrsleep syz-fuzzer
17478 483881 10132 0 3 0x4000082 thrsleep syz-fuzzer
17478 262308 10132 0 3 0x4000082 kqread syz-fuzzer
17478 76792 10132 0 3 0x4000082 thrsleep syz-fuzzer
10132 428948 19544 0 3 0x10008a sigsusp ksh
19544 82311 63379 0 3 0x9a kqread sshd
63379 155239 1 0 3 0x88 kqread sshd
43291 472893 28839 73 3 0x1100090 kqread syslogd
28839 1643 1 0 3 0x100082 netio syslogd
76090 495851 1 0 3 0x100080 kqread resolvd
18659 486002 98089 77 3 0x100092 kqread dhcpleased
17788 350907 98089 77 3 0x100092 kqread dhcpleased
98089 123734 1 0 3 0x80 kqread dhcpleased
21517 131295 0 0 3 0x14200 bored smr
59392 249718 0 0 2 0x14200 zerothread
99109 246169 0 0 3 0x14200 aiodoned aiodoned
64324 273306 0 0 3 0x14200 syncer update
5009 326090 0 0 3 0x14200 cleaner cleaner
89053 11061 0 0 3 0x14200 reaper reaper
60487 366411 0 0 3 0x14200 pgdaemon pagedaemon
56936 261595 0 0 3 0x14200 bored viomb
44382 200738 0 0 3 0x40014200 acpi0 acpi0
74291 329910 0 0 3 0x14200 bored softnet
*83951 53199 0 0 7 0x14200 systqmp
40904 90849 0 0 3 0x14200 bored systq
99052 321053 0 0 3 0x40014200 bored softclock
92380 363673 0 0 3 0x40014200 idle0
1 62828 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 10199 6481K 7123K 78643K 35427 0
pcb 13 16K 18K 78643K 1672 0
rtable 284 28K 30K 78643K 3802 0
ifaddr 111 26K 27K 78643K 1822 0
sysctl 3 1K 1K 78643K 3 0
counters 28 17K 17K 78643K 267 0
ioctlops 0 0K 4K 78643K 3432 0
iov 0 0K 28K 78643K 1496 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1528 95K 96K 78643K 8721 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 9K 78643K 168 0
VM map 2 0K 0K 78643K 2 0
sem 12 0K 0K 78643K 1647 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 17 61K 73K 78643K 12169 0
sigio 0 0K 0K 78643K 40 0
proc 67 59K 83K 78643K 2207 0
subproc 104 6K 6K 78643K 703 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 413 0
in_multi 94 6K 6K 78643K 1026 0
ether_multi 1 0K 0K 78643K 121 0
mrt 1 0K 0K 78643K 17 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 205 917K 917K 78643K 205 0
exec 0 0K 2K 78643K 4075 0
pfkey data 0 0K 1K 78643K 78 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 363 517K 1123K 78643K 66406 0
UVM aobj 131 4K 4K 78643K 139 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 714 0
NDP 13 0K 1K 78643K 380 0
temp 191 4836K 4916K 78643K 139737 0
kqueue 12 18K 24K 78643K 720 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 1096 0 1093 18 16 2 5 0 8 1
rtpcb: pool(0xffffffff82995f30:rtpcb): page inconsistency: page 0x0; at page head addr 0xfffffd8064c7df90 (p 0xfffffd8064c7d000)
rtentry 112 794 0 692 4 1 3 4 0 8 0
unpcb 136 7397 0 7384 79 76 3 9 0 8 2
syncache 296 66 0 66 17 16 1 1 0 8 1
tcpqe 32 17 0 17 8 7 1 1 0 8 1
tcpcb 736 4459 0 4453 151 143 8 20 0 8 5
arp 88 123 0 105 1 0 1 1 0 8 0
ipq 40 14 0 14 6 6 0 1 0 8 0
ipqe 40 43 0 43 6 6 0 1 0 8 0
inpcb 312 11377 0 11368 127 121 6 11 0 8 5
rttmr 72 5 0 5 2 2 0 1 0 8 0
ip6q 72 54 0 54 3 3 0 1 0 8 0
ip6af 40 107 0 107 3 3 0 1 0 8 0
nd6 48 197 0 173 1 0 1 1 0 8 0
pkpcb 40 25 0 25 7 7 0 1 0 8 0
kcovpl 48 53 0 45 1 0 1 1 0 8 0
ppxss 1152 121 0 121 19 18 1 1 0 8 1
pfstscr 40 236 0 230 3 2 1 1 0 8 0
pfosfp 40 70 0 68 1 0 1 1 0 8 0
pfosfpen 112 70 0 66 1 0 1 1 0 8 0
pfrktable 1344 550 0 524 8 5 3 3 0 8 0
pftag 88 16 0 10 1 0 1 1 0 8 0
pfqueue 264 1 0 1 1 1 0 1 0 8 0
pfstitem 24 102 0 82 1 0 1 1 0 8 0
pfstkey 112 336 0 331 2 1 1 1 0 8 0
pfstate 320 168 0 158 2 1 1 1 0 8 0
pfrule 1360 783 0 702 19 12 7 13 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 3580 0 3129 47 18 29 31 0 8 0
art_table 32 3581 0 3129 4 0 4 4 0 8 0
art_node 16 789 0 699 1 0 1 1 0 8 0
sysvmsgpl 40 8 0 6 1 0 1 1 0 8 0
semapl 112 1631 0 1621 1 0 1 1 0 8 0
shmpl 112 136 0 8 4 0 4 4 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 17207 0 15702 95 0 95 95 0 8 0
ffsino 240 17207 0 15702 89 0 89 89 0 8 0
nchpl 144 33310 0 31671 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 129405 0 129405 5 4 1 2 0 8 1
vcpupl 1984 115 0 1 15 0 15 15 0 8 0
vmpool 528 132 0 18 8 0 8 8 0 8 0
pfiaddrpl 120 174 0 138 6 4 2 2 0 8 0
scsiplug 72 2 0 2 1 1 0 1 0 8 0
scxspl 216 97114 0 97114 31 30 1 8 0 8 1
plimitpl 152 1110 0 1096 1 0 1 1 0 8 0
sigapl 424 12387 0 12344 10 4 6 8 0 8 0
futexpl 64 123704 0 123702 3 2 1 1 0 8 0
knotepl 120 141732 0 141652 67 60 7 10 0 8 3
kqueuepl 184 2595 0 2587 31 30 1 4 0 8 0
pipepl 304 2520 0 2492 61 56 5 8 0 8 2
fdescpl 432 12351 0 12323 4 0 4 4 0 8 0
filepl 120 90413 0 90177 142 128 14 15 0 8 6
lockfpl 104 4247 0 4245 10 9 1 2 0 8 0
lockfspl 48 974 0 972 1 0 1 1 0 8 0
sessionpl 144 70 0 54 1 0 1 1 0 8 0
pgrppl 48 89 0 73 1 0 1 1 0 8 0
ucredpl 96 9808 0 9792 1 0 1 1 0 8 0
zombiepl 144 12344 0 12344 1 0 1 1 0 8 1
processpl 1000 12387 0 12344 13 7 6 9 0 8 0
procpl 672 30777 0 30721 13 6 7 9 0 8 0
sosppl 168 167 0 167 23 22 1 1 0 8 1
sockpl 448 19947 0 19922 362 350 12 30 0 8 8
mcl64k 65536 439 0 439 26 25 1 1 0 8 1
mcl16k 16384 179 0 179 26 25 1 1 0 8 1
mcl12k 12288 376 0 376 33 32 1 1 0 8 1
mcl9k 9216 429 0 429 33 32 1 1 0 8 1
mcl8k 8192 895 0 895 26 25 1 1 0 8 1
mcl4k 4096 1439 0 1439 18 17 1 1 0 8 1
mcl2k2 2112 111 0 111 33 33 0 1 0 8 0
mcl2k 2048 102127 0 102085 48 40 8 24 0 8 1
mtagpl 96 4279 0 4106 31 21 10 16 0 8 3
mbufpl 256 246611 0 246255 197 160 37 140 0 8 4
bufpl 288 23928 0 17527 458 0 458 458 0 8 0
anonpl 24 2281161 0 2263252 214 92 122 139 0 188 2
amapchunkpl 152 235997 0 235365 730 599 131 655 0 158 100
amappl16 200 31759 0 31076 112 69 43 49 0 8 0
amappl15 192 1883 0 1879 3 2 1 1 0 8 0
amappl14 184 1122 0 1116 1 0 1 1 0 8 0
amappl13 176 2721 0 2716 1 0 1 1 0 8 0
amappl12 168 279 0 278 2 1 1 1 0 8 0
amappl11 160 2789 0 2772 2 1 1 2 0 8 0
amappl10 152 1576 0 1570 1 0 1 1 0 8 0
amappl9 144 1624 0 1619 1 0 1 1 0 8 0
amappl8 136 3342 0 3234 4 0 4 4 0 8 0
amappl7 128 2019 0 2009 1 0 1 1 0 8 0
amappl6 120 1640 0 1619 2 1 1 2 0 8 0
amappl5 112 10735 0 10717 1 0 1 1 0 8 0
amappl4 104 6380 0 6344 6 4 2 2 0 8 1
amappl3 96 35047 0 35002 3 1 2 2 0 8 0
amappl2 88 15824 0 15741 3 1 2 3 0 8 0
amappl1 80 287013 0 286384 35 20 15 19 0 8 0
amappl 88 64935 0 64739 6 0 6 6 0 92 1
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 138 0 8 3 0 3 3 0 8 0
uaddrrnd 24 12483 0 12341 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 12483 0 12341 1 0 1 1 0 8 0
vmmpekpl 168 86066 0 85986 4 0 4 4 0 8 0
vmmpepl 168 1199201 0 1196124 353 190 163 163 0 357 17
vmsppl 272 12482 0 12341 12 2 10 10 0 8 0
rwobjpl 24 283567 0 275783 52 3 49 49 0 8 0
pdppl 4096 24972 0 24796 876 698 178 179 0 8 2
pvpl 32 4969110 0 4946546 402 207 195 245 0 265 0
pmappl 216 12482 0 12341 8 0 8 8 0 8 0
extentpl 40 58 0 38 1 0 1 1 0 8 0
phpool 112 2589 0 1642 30 0 30 30 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
pool_gc_pages(0) at pool_gc_pages+0x1a5 pool_p_remove sys/kern/subr_pool.c:1051 [inline]
pool_gc_pages(0) at pool_gc_pages+0x1a5 sys/kern/subr_pool.c:1578
taskq_thread(ffffffff82930b00) at taskq_thread+0x9b sys/kern/kern_task.c:449
end trace frame: 0x0, count: -2
ddb> machine ddbcpu 1
No such command
ddb> trace
pool_gc_pages(0) at pool_gc_pages+0x1a5 pool_p_remove sys/kern/subr_pool.c:1051 [inline]
pool_gc_pages(0) at pool_gc_pages+0x1a5 sys/kern/subr_pool.c:1578
taskq_thread(ffffffff82930b00) at taskq_thread+0x9b sys/kern/kern_task.c:449
end trace frame: 0x0, count: -2


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

unread,
Jan 17, 2023, 5:31:41 PM1/17/23
to syzkaller-o...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages