uvm_fault: softclock_process_kclock_timeout

0 views
Skip to first unread message

syzbot

unread,
Feb 7, 2023, 6:54:53 PM2/7/23
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 0da56a053721 Add an L modifier like P, W, S to loop over c..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=115cb98d480000
kernel config: https://syzkaller.appspot.com/x/.config?x=1bc15e68cd2a49e5
dashboard link: https://syzkaller.appspot.com/bug?extid=8422bc7c865ccbcf6fde

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/5f4abd0b7676/disk-0da56a05.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/5dab68af495a/bsd-0da56a05.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/0bb29e2293d1/kernel-0da56a05.xz

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

uvm_fault(0xffffffff82cbc998, 0xffffffffbcb37730, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at softclock_process_kclock_timeout+0x3a: movq timeout_kclock(%r15),%r13
TID PID UID PRFLAGS PFLAGS CPU COMMAND
softclock_process_kclock_timeout(fffffd806d50cc58,0) at softclock_process_kclock_timeout+0x3a sys/kern/kern_timeout.c:652
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:717
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
acpicpu_idle() at acpicpu_idle+0x2ee sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82ba1ff0) at sched_idle+0x2ea sys/kern/kern_sched.c:175
end trace frame: 0x0, count: 9
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(0xffffffff82cbc998, 0xffffffffbcb37730, 0, 1) -> e
ddb> trace
softclock_process_kclock_timeout(fffffd806d50cc58,0) at softclock_process_kclock_timeout+0x3a sys/kern/kern_timeout.c:652
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:717
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
acpicpu_idle() at acpicpu_idle+0x2ee sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82ba1ff0) at sched_idle+0x2ea sys/kern/kern_sched.c:175
end trace frame: 0x0, count: -6
ddb> show registers
rdi 0xfffffd806d50cc58
rsi 0
rbp 0xffff8000215fec60
rbx 0
rdx 0
rcx 0xffffffff82cb0670 timeout_todo
rax 0x134d500 __kernel_phys_base+0x34d500
r8 0
r9 0
r10 0x23989c92b9057582
r11 0xb27be6cc41c45193
r12 0x2d7a797300000000
r13 0xffffffff82ccc550 rdrand_tmo
r14 0xfffffd806d50cc58
r15 0x39e7f000
rip 0xffffffff81bd588a softclock_process_kclock_timeout+0x3a
cs 0x8
rflags 0x10206 __ALIGN_SIZE+0xf206
rsp 0xffff8000215fec10
ss 0x10
softclock_process_kclock_timeout+0x3a: movq timeout_kclock(%r15),%r13
ddb> show proc
PROC (idle0) pid=71662 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
pri=0, usrpri=50, nice=20
forw=0xcf8f5ac7e1ec5d80, list=0xffff8000fffffb30,0xffff8000fffff318
process=0xffff8000ffffcfc0 user=0xffff8000215f9000, vmspace=0xffffffff82cd0248
estcpu=0, cpticks=18633, pctcpu=0.0
user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
40423 396190 3035 0 3 0x80 nanoslp syz-executor.7
40423 408590 3035 0 3 0x4000080 lockf syz-executor.7
40423 384976 3035 0 3 0x4000080 lockf syz-executor.7
40423 140561 3035 0 3 0x4000080 lockf syz-executor.7
40423 261951 3035 0 3 0x4000080 lockf syz-executor.7
40423 409118 3035 0 3 0x4000080 fsleep syz-executor.7
26172 186416 0 0 3 0x14200 acct acct
38268 497099 80143 0 3 0x82 piperd syz-executor.3
73417 132637 80143 0 3 0x82 piperd syz-executor.4
65913 226469 80143 0 3 0x82 nanoslp syz-executor.5
24668 494497 80143 0 3 0x82 piperd syz-executor.6
21967 38206 80143 0 3 0x82 piperd syz-executor.1
74638 252053 80143 0 3 0x82 piperd syz-executor.0
3035 470226 80143 0 3 0x82 nanoslp syz-executor.7
87488 266170 80143 0 3 0x82 piperd syz-executor.2
29575 306930 1 0 3 0x100083 ttyin getty
66245 24106 0 0 3 0x14200 bored sosplice
80143 463840 21106 0 3 0x82 wait syz-fuzzer
80143 95762 21106 0 3 0x4000082 thrsleep syz-fuzzer
80143 145705 21106 0 3 0x4000082 wait syz-fuzzer
80143 476 21106 0 3 0x4000082 wait syz-fuzzer
80143 296839 21106 0 3 0x4000082 thrsleep syz-fuzzer
80143 462293 21106 0 3 0x4000082 wait syz-fuzzer
80143 24364 21106 0 3 0x4000082 thrsleep syz-fuzzer
80143 34065 21106 0 3 0x4000082 kqread syz-fuzzer
80143 58006 21106 0 3 0x4000082 thrsleep syz-fuzzer
80143 121530 21106 0 3 0x4000082 wait syz-fuzzer
80143 114512 21106 0 3 0x4000082 thrsleep syz-fuzzer
80143 347639 21106 0 3 0x4000082 wait syz-fuzzer
80143 521394 21106 0 3 0x4000082 wait syz-fuzzer
80143 393388 21106 0 3 0x4000082 wait syz-fuzzer
21106 60667 28794 0 3 0x10008a sigsusp ksh
28794 418708 46805 0 3 0x9a kqread sshd
46805 410783 1 0 3 0x88 kqread sshd
80209 505026 48454 73 3 0x1100090 kqread syslogd
48454 441103 1 0 3 0x100082 netio syslogd
55919 258763 1 0 3 0x100080 kqread resolvd
90836 244710 162 77 3 0x100092 kqread dhcpleased
41767 240493 162 77 3 0x100092 kqread dhcpleased
162 156587 1 0 3 0x80 kqread dhcpleased
83110 401340 0 0 3 0x14200 bored smr
70110 298273 0 0 3 0x14200 pgzero zerothread
96462 88893 0 0 3 0x14200 aiodoned aiodoned
15385 154277 0 0 3 0x14200 syncer update
55378 213870 0 0 3 0x14200 cleaner cleaner
49805 220612 0 0 3 0x14200 reaper reaper
60649 291296 0 0 3 0x14200 pgdaemon pagedaemon
10462 321092 0 0 3 0x14200 bored viomb
43580 394862 0 0 3 0x40014200 acpi0 acpi0
68373 468057 0 0 3 0x14200 bored softnet
20757 85068 0 0 3 0x14200 bored softnet
72649 71599 0 0 3 0x14200 bored softnet
11671 56283 0 0 3 0x14200 bored softnet
9201 260091 0 0 3 0x14200 bored systqmp
18855 181469 0 0 3 0x14200 bored systq
62129 254693 0 0 3 0x40014200 bored softclock
*89644 71662 0 0 7 0x40014200 idle0
1 268002 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 10230 6432K 6875K 78643K 14328 0
pcb 13 18K 21K 78643K 1754 0
rtable 136 6K 8K 78643K 2464 0
ifaddr 63 20K 23K 78643K 714 0
sysctl 3 1K 1K 78643K 3 0
counters 25 17K 17K 78643K 220 0
ioctlops 0 0K 4K 78643K 690 0
iov 0 0K 17K 78643K 1223 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1602 100K 101K 78643K 5193 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 9K 78643K 62 0
VM map 2 1K 1K 78643K 2 0
sem 37 2K 2K 78643K 296 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 12 41K 69K 78643K 6430 0
sigio 0 0K 0K 78643K 719 0
proc 60 59K 75K 78643K 1874 0
subproc 104 6K 6K 78643K 706 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 282 0
in_multi 46 3K 6K 78643K 802 0
ether_multi 1 0K 0K 78643K 31 0
mrt 1 0K 0K 78643K 29 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 295 1314K 1314K 78643K 295 0
exec 0 0K 1K 78643K 2048 0
pfkey data 0 0K 0K 78643K 77 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 8 62K 64K 78643K 10 0
UVM amap 278 85K 99K 78643K 41825 0
UVM aobj 131 4K 4K 78643K 144 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 206 0
NDP 11 0K 1K 78643K 264 0
temp 126 5770K 6794K 78643K 70046 0
kqueue 12 18K 26K 78643K 611 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 537 0 534 8 7 1 3 0 8 0
rtentry 112 741 0 686 5 2 3 4 0 8 0
unpcb 144 16429 0 16416 96 95 1 10 0 8 0
syncache 296 38 0 38 13 13 0 1 0 8 0
tcpqe 32 280 0 280 8 8 0 1 0 8 0
tcpcb 776 1756 0 1752 66 65 1 11 0 8 0
arp 88 111 0 101 1 0 1 1 0 8 0
ipq 40 44 0 44 4 4 0 1 0 8 0
ipqe 40 94 0 94 4 4 0 1 0 8 0
inpcb 336 8262 0 8255 120 119 1 17 0 8 0
nd6 48 181 0 169 1 0 1 1 0 8 0
pkpcb 40 21 0 21 6 6 0 1 0 8 0
kcovpl 48 54 0 46 1 0 1 1 0 8 0
mppekey 1024 3 0 3 1 1 0 1 0 8 0
ppxss 1160 86 0 86 10 9 1 1 0 8 1
pppxif 1360 55 0 55 8 7 1 1 0 8 1
pfstscr 40 38 0 37 1 0 1 1 0 8 0
pfosfp 40 15 0 12 1 0 1 1 0 8 0
pfosfpen 112 15 0 6 1 0 1 1 0 8 0
pfanchor 1280 404 0 239 19 3 16 19 0 8 0
pfstitem 24 1 0 0 1 0 1 1 0 8 0
pfstkey 128 41 0 40 1 0 1 1 0 8 0
pfstate 352 38 0 37 1 0 1 1 0 8 0
rttmr 136 7 0 7 3 3 0 1 0 8 0
art_heap8 4096 2 0 1 2 1 1 2 0 8 0
art_heap4 256 3478 0 3261 55 40 15 30 0 8 0
art_table 32 3480 0 3262 6 2 4 4 0 8 0
art_node 16 740 0 694 1 0 1 1 0 8 0
sysvmsgpl 40 49 0 9 1 0 1 1 0 8 0
semupl 112 1 0 1 1 1 0 1 0 8 0
semapl 112 289 0 254 1 0 1 1 0 8 0
shmpl 112 141 0 13 4 0 4 4 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 10017 0 8579 92 1 91 91 0 8 0
ffsino 240 10017 0 8579 86 0 86 86 0 8 0
nchpl 144 18629 0 17007 63 1 62 63 0 8 0
uvmvnodes 80 5926 0 0 121 0 121 121 0 8 0
vnodes 216 5926 0 0 330 0 330 330 0 8 0
namei 1024 74515 0 74515 9 8 1 3 0 8 1
vmpool 664 22 0 22 4 4 0 1 0 8 0
kstatmem 264 290 0 268 3 1 2 3 0 8 0
scsiplug 72 6 0 6 2 2 0 1 0 8 0
scxspl 216 53465 0 53465 21 20 1 8 0 8 1
plimitpl 152 1530 0 1514 1 0 1 1 0 8 0
sigapl 424 6678 0 6637 8 2 6 8 0 8 0
futexpl 64 61710 0 61709 5 4 1 1 0 8 0
knotepl 120 96899 0 96819 65 59 6 15 0 8 0
kqueuepl 184 1639 0 1631 21 20 1 4 0 8 0
pipepl 288 2492 0 2463 37 34 3 8 0 8 0
fdescpl 432 6616 0 6593 4 0 4 4 0 8 0
filepl 120 62689 0 62445 106 96 10 20 0 8 1
lockfpl 104 1324 0 1317 3 2 1 2 0 8 0
lockfspl 48 435 0 432 1 0 1 1 0 8 0
sessionpl 144 70 0 54 1 0 1 1 0 8 0
pgrppl 48 162 0 146 1 0 1 1 0 8 0
ucredpl 104 7455 0 7443 1 0 1 1 0 8 0
zombiepl 144 6638 0 6637 5 4 1 1 0 8 0
processpl 1008 6678 0 6637 10 3 7 9 0 8 0
procpl 696 16193 0 16134 17 9 8 10 0 8 0
sosppl 168 60 0 60 7 7 0 1 0 8 0
sockpl 456 25253 0 25230 631 623 8 45 0 8 5
mcl64k 65536 166 0 166 19 18 1 1 0 8 1
mcl16k 16384 91 0 91 18 18 0 1 0 8 0
mcl12k 12288 196 0 196 18 17 1 1 0 8 1
mcl9k 9216 172 0 172 15 15 0 1 0 8 0
mcl8k 8192 577 0 577 22 22 0 1 0 8 0
mcl4k 4096 719 0 719 13 12 1 1 0 8 1
mcl2k2 2112 48 0 48 16 16 0 1 0 8 0
mcl2k 2048 96936 0 96859 75 63 12 34 0 8 0
mtagpl 96 102 0 102 6 6 0 2 0 8 0
mbufpl 256 251683 0 251504 700 685 15 443 0 8 1
bufpl 288 12841 0 6447 458 0 458 458 0 8 0
anonpl 24 1302053 0 1285441 230 106 124 181 0 188 0
amapchunkpl 152 118389 0 117724 74 43 31 59 0 158 0
amappl16 200 12584 0 11981 104 71 33 45 0 8 0
amappl15 192 73 0 70 2 1 1 1 0 8 0
amappl14 184 335 0 320 2 1 1 2 0 8 0
amappl13 176 3 0 3 1 1 0 1 0 8 0
amappl12 168 952 0 950 1 0 1 1 0 8 0
amappl11 160 48 0 36 1 0 1 1 0 8 0
amappl10 152 123 0 111 2 1 1 1 0 8 0
amappl9 144 976 0 976 4 4 0 1 0 8 0
amappl8 136 357 0 288 3 0 3 3 0 8 0
amappl7 128 249 0 224 2 0 2 2 0 8 0
amappl6 120 365 0 354 2 1 1 2 0 8 0
amappl5 112 367 0 361 1 0 1 1 0 8 0
amappl4 104 1083 0 1057 2 1 1 2 0 8 0
amappl3 96 17923 0 17880 2 0 2 2 0 8 0
amappl2 88 7416 0 7351 3 1 2 3 0 8 0
amappl1 80 148269 0 147619 31 14 17 26 0 8 0
amappl 88 40856 0 40691 6 1 5 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 143 0 13 3 0 3 3 0 8 0
uaddrrnd 24 6638 0 6615 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 6638 0 6615 1 0 1 1 0 8 0
vmmpekpl 168 55700 0 55642 3 0 3 3 0 8 0
vmmpepl 168 625492 0 623040 296 162 134 160 0 357 0
vmsppl 344 6637 0 6615 3 0 3 3 0 8 0
rwobjpl 24 161242 0 153517 51 2 49 49 0 8 0
pdppl 4096 13282 0 13230 563 499 64 66 0 8 12
pvpl 32 2652424 0 2630702 488 281 207 361 0 265 0
pmappl 216 6637 0 6615 2 0 2 2 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 2284 0 1530 35 11 24 35 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
softclock_process_kclock_timeout(fffffd806d50cc58,0) at softclock_process_kclock_timeout+0x3a sys/kern/kern_timeout.c:652
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:717
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
acpicpu_idle() at acpicpu_idle+0x2ee sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82ba1ff0) at sched_idle+0x2ea sys/kern/kern_sched.c:175
end trace frame: 0x0, count: -6
ddb> machine ddbcpu 1
No such command
ddb> trace
softclock_process_kclock_timeout(fffffd806d50cc58,0) at softclock_process_kclock_timeout+0x3a sys/kern/kern_timeout.c:652
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:717
softintr_dispatch(0) at softintr_dispatch+0xd1 sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
acpicpu_idle() at acpicpu_idle+0x2ee sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82ba1ff0) at sched_idle+0x2ea sys/kern/kern_sched.c:175
end trace frame: 0x0, count: -6


---
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,
Jul 31, 2023, 3:55:35 PM7/31/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