uvm_fault: NUM TID PID UID PRFLAGS PFLAGS CPU COMMAND*ADDR NUM NUM 0x2 ADDR 0K syz

1 view
Skip to first unread message

syzbot

unread,
Feb 10, 2023, 3:42:42 AM2/10/23
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: c6749b327af2 Use GEN_OTHERNAME instead of hardcoding 0
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=13403f5b480000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=9b2859fcf978d79e4b33

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/09bca9a629bc/disk-c6749b32.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/1452f9867631/bsd-c6749b32.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/8bcf41ab063a/kernel-c6749b32.xz

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

kernel: page fault trap, code=0
Stopped at 0 TID PID UID PRFLAGS PFLAGS CPU COMMAND
*217999 87914 0 0x2 0x4000000 0K syz-fuzzer
0(0,0,0,ffff800021202da8,0,0) at 0
timeout_run(fffffd806857fdf0) at timeout_run+0xcc sys/kern/kern_timeout.c:641
softclock_process_kclock_timeout(fffffd806857fdf0,0) at softclock_process_kclock_timeout+0x1c6 sys/kern/kern_timeout.c:666
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:717
softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x25516bab0, count: 10
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{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
*cpu0: attempt to execute user address 0x0 in supervisor mode
ddb{0}> trace
0(0,0,0,ffff800021202da8,0,0) at 0
timeout_run(fffffd806857fdf0) at timeout_run+0xcc sys/kern/kern_timeout.c:641
softclock_process_kclock_timeout(fffffd806857fdf0,0) at softclock_process_kclock_timeout+0x1c6 sys/kern/kern_timeout.c:666
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:717
softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x25516bab0, count: -5
ddb{0}> show registers
rdi 0
rsi 0
rbp 0xffff800029df10c0
rbx 0
rdx 0
rcx 0xffffffff82b46ff0 cpu_info_full_primary+0x1ff0
rax 0x9
r8 0x83
r9 0x83
r10 0xabbc4d84ba530535
r11 0
r12 0
r13 0xffffffff82b25a68 timeout_spinlock_obj
r14 0
r15 0
rip 0
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff800029df1078
ss 0
0
ddb{0}> show proc
PROC (syz-fuzzer) pid=217999 stat=onproc
flags process=2<EXEC> proc=4000000<THREAD>
pri=53, usrpri=53, nice=20
forw=0xffffffffffffffff, list=0xffff8000212435e8,0xffff800021228858
process=0xffff80002122c870 user=0xffff800029dec000, vmspace=0xfffffd806f1318a0
estcpu=3, cpticks=18, pctcpu=0.1
user=1, sys=0, intr=1
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
48609 246058 16094 0 2 0 syz-executor.2
38795 27043 8277 0 2 0 syz-executor.3
38795 439880 8277 0 2 0x4000000 syz-executor.3
38795 340671 8277 0 3 0x4000080 fsleep syz-executor.3
38795 368184 8277 0 2 0x4000000 syz-executor.3
38795 235043 8277 0 2 0x4000000 syz-executor.3
35892 22519 18988 0 2 0 syz-executor.6
35892 443308 18988 0 3 0x4000080 fsleep syz-executor.6
41381 466891 63844 0 2 0 syz-executor.0
41381 418306 63844 0 3 0x4000080 fsleep syz-executor.0
41381 226023 63844 0 3 0x4000080 fsleep syz-executor.0
41381 189790 63844 0 3 0x4000080 fsleep syz-executor.0
66660 265978 7514 0 2 0 syz-executor.7
66660 110693 7514 0 3 0x4000080 fsleep syz-executor.7
44364 421808 40908 0 2 0 syz-executor.1
44364 224886 40908 0 3 0x4000080 fsleep syz-executor.1
18988 385590 87914 0 3 0x82 nanoslp syz-executor.6
34464 168130 0 0 3 0x14280 nfsidl nfsio
68134 130907 0 0 3 0x14280 nfsidl nfsio
3107 109738 0 0 3 0x14280 nfsidl nfsio
19133 500402 0 0 3 0x14280 nfsidl nfsio
53076 321016 0 0 3 0x14280 nfsidl nfsio
20916 91821 0 0 3 0x14280 nfsidl nfsio
58922 341690 0 0 3 0x14280 nfsidl nfsio
25402 40609 0 0 3 0x14280 nfsidl nfsio
65113 186684 0 0 3 0x14280 nfsidl nfsio
18304 346087 0 0 3 0x14280 nfsidl nfsio
64449 379842 0 0 3 0x14280 nfsidl nfsio
26771 157089 0 0 3 0x14280 nfsidl nfsio
41502 157692 0 0 3 0x14280 nfsidl nfsio
25222 113244 0 0 3 0x14280 nfsidl nfsio
88143 396773 0 0 3 0x14280 nfsidl nfsio
45119 155613 0 0 3 0x14280 nfsidl nfsio
83799 163444 0 0 3 0x14280 nfsidl nfsio
81999 128019 0 0 3 0x14280 nfsidl nfsio
74713 514659 0 0 3 0x14280 nfsidl nfsio
15201 377893 0 0 3 0x14280 nfsidl nfsio
8277 138358 87914 0 2 0x482 syz-executor.3
16094 131196 87914 0 2 0x2 syz-executor.2
63844 143514 87914 0 3 0x82 nanoslp syz-executor.0
29448 380396 0 0 3 0x14200 acct acct
18623 263137 87914 0 2 0x2 syz-executor.4
46868 67372 1 0 3 0x100083 ttyin getty
40908 54965 87914 0 3 0x82 nanoslp syz-executor.1
7514 446727 87914 0 2 0x482 syz-executor.7
89064 390684 0 0 3 0x14200 bored sosplice
87914 95603 79589 0 3 0x82 thrsleep syz-fuzzer
87914 111827 79589 0 2 0x4000482 syz-fuzzer
87914 23229 79589 0 3 0x4000082 wait syz-fuzzer
87914 263797 79589 0 3 0x4000082 thrsleep syz-fuzzer
87914 121617 79589 0 3 0x4000082 thrsleep syz-fuzzer
87914 259722 79589 0 3 0x4000082 wait syz-fuzzer
87914 190180 79589 0 3 0x4000082 wait syz-fuzzer
87914 149247 79589 0 3 0x4000082 thrsleep syz-fuzzer
87914 431755 79589 0 3 0x4000082 wait syz-fuzzer
87914 248429 79589 0 2 0x4000002 syz-fuzzer
87914 335343 79589 0 3 0x4000082 thrsleep syz-fuzzer
87914 382911 79589 0 3 0x4000082 wait syz-fuzzer
*87914 217999 79589 0 7 0x4000002 syz-fuzzer
87914 107211 79589 0 3 0x4000082 wait syz-fuzzer
87914 57096 79589 0 3 0x4000082 wait syz-fuzzer
87914 396419 79589 0 3 0x4000082 thrsleep syz-fuzzer
79589 445776 81825 0 3 0x10008a sigsusp ksh
81825 445777 99000 0 3 0x9a kqread sshd
99000 111000 1 0 3 0x88 kqread sshd
487 480978 76372 74 3 0x1100092 bpf pflogd
76372 84828 1 0 3 0x80 netio pflogd
94485 138914 83295 73 3 0x1100090 kqread syslogd
83295 192193 1 0 3 0x100082 netio syslogd
4626 480052 1 0 3 0x100080 kqread resolvd
96115 44520 6300 77 3 0x100092 kqread dhcpleased
578 84826 6300 77 3 0x100092 kqread dhcpleased
6300 464447 1 0 3 0x80 kqread dhcpleased
32067 88015 0 0 3 0x14200 bored smr
62426 363077 0 0 2 0x14200 zerothread
72813 51662 0 0 3 0x14200 aiodoned aiodoned
22122 323196 0 0 3 0x14200 syncer update
80573 88399 0 0 3 0x14200 cleaner cleaner
36258 271912 0 0 3 0x14200 reaper reaper
95086 436176 0 0 3 0x14200 pgdaemon pagedaemon
19093 153997 0 0 3 0x14200 bored viomb
15243 482403 0 0 3 0x40014200 acpi0 acpi0
46494 36827 0 0 7 0x40014200 idle1
39055 236293 0 0 3 0x14200 bored softnet
73507 348474 0 0 3 0x14200 bored softnet
73959 470734 0 0 3 0x14200 bored softnet
74338 233237 0 0 3 0x14200 bored softnet
4450 148216 0 0 3 0x14200 bored systqmp
85795 278319 0 0 3 0x14200 bored systq
79378 280833 0 0 3 0x40014200 bored softclock
50380 380692 0 0 3 0x40014200 idle0
1 31554 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10248 6507K 7095K 78643K 30308 0
pcb 13 18K 23K 78643K 1830 0
rtable 204 17K 18K 78643K 2085 0
ifaddr 79 26K 29K 78643K 903 0
sysctl 2 0K 0K 78643K 4 0
counters 58 35K 36K 78643K 798 0
ioctlops 0 0K 4K 78643K 4074 0
iov 0 0K 24K 78643K 2274 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1634 102K 103K 78643K 11730 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 9K 78643K 103 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 0K 78643K 1771 0
dirhash 12 2K 2K 78643K 12 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 15 53K 81K 78643K 9947 0
sigio 0 0K 0K 78643K 205 0
proc 72 91K 115K 78643K 1839 0
subproc 91 5K 6K 78643K 533 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 454 0
in_multi 78 5K 6K 78643K 634 0
ether_multi 1 0K 0K 78643K 35 0
mrt 1 0K 0K 78643K 50 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 247 1102K 1102K 78643K 247 0
exec 0 0K 1K 78643K 2134 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 388 90K 111K 78643K 66043 0
UVM aobj 131 4K 4K 78643K 134 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 536 0
NDP 14 0K 0K 78643K 300 0
temp 133 5778K 6802K 78643K 86837 0
kqueue 12 18K 28K 78643K 770 0
SYN cache 2 16K 16K 78643K 2 0
ddb{0}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 22 0 0 1 0 1 1 0 8 0
rtpcb 120 749 0 746 11 10 1 3 0 8 0
rtentry 112 612 0 529 4 0 4 4 0 8 0
unpcb 144 9635 0 9618 114 108 6 10 0 8 5
syncache 296 49 0 49 11 11 0 1 0 8 0
sackhl 24 1 0 1 1 1 0 1 0 8 0
tcpqe 32 255 0 255 10 10 0 1 0 8 0
tcpcb 776 3684 0 3678 117 116 1 14 0 8 0
arp 120 94 0 80 1 0 1 1 0 8 0
inpcb 368 20783 0 20773 253 244 9 24 0 8 7
nd6 48 133 0 112 1 0 1 1 0 8 0
pkpcb 40 32 0 32 7 6 1 1 0 8 1
kcovpl 48 41 0 34 1 0 1 1 0 8 0
mppekey 1024 5 0 5 3 3 0 1 0 8 0
ppxss 1256 253 0 253 22 22 0 1 0 8 0
pppxif 1456 141 0 141 11 11 0 1 0 8 0
pfstscr 40 15 0 15 3 3 0 1 0 8 0
pffrag 232 59 0 58 6 5 1 1 0 482 0
pffrnode 88 59 0 58 6 5 1 1 0 8 0
pffrent 40 236 0 235 6 5 1 1 0 8 0
pfosfp 40 1428 0 1005 5 0 5 5 0 8 0
pfosfpen 112 1428 0 714 21 0 21 21 0 8 0
pfanchor 1280 784 82 272 47 4 43 43 0 8 0
pfqueue 264 6 0 6 2 2 0 1 0 8 0
pfstitem 24 17 0 15 1 0 1 1 0 8 0
pfstkey 128 43 0 41 1 0 1 1 0 8 0
pfstate 384 31 0 29 2 1 1 2 0 8 0
pfrule 1344 21 0 20 2 1 1 2 0 8 0
rttmr 136 4 0 4 1 1 0 1 0 8 0
art_heap8 4096 2 0 1 2 0 2 2 0 8 1
art_heap4 256 2797 0 2444 48 22 26 29 0 8 3
art_table 32 2799 0 2445 4 0 4 4 0 8 0
art_node 16 608 0 537 1 0 1 1 0 8 0
semapl 112 1769 0 1759 1 0 1 1 0 8 0
shmpl 112 131 0 3 4 0 4 4 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 14857 0 13390 93 0 93 93 0 8 0
ffsino 272 14857 0 13390 99 0 99 99 0 8 0
nchpl 144 28750 0 27111 63 0 63 63 0 8 0
rtmask 32 16 0 16 7 7 0 1 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 111841 0 111841 6 5 1 2 0 8 1
percpumem 16 412 0 370 1 0 1 1 0 8 0
vmpool 696 11 0 11 3 3 0 1 0 8 0
kstatmem 264 408 0 380 11 8 3 3 0 8 0
scsiplug 72 6 0 6 2 2 0 1 0 8 0
scxspl 216 81918 0 81918 16 15 1 8 0 8 1
plimitpl 152 1391 0 1375 1 0 1 1 0 8 0
sigapl 424 10418 0 10351 11 3 8 8 0 8 0
futexpl 64 110871 0 110864 2 1 1 1 0 8 0
knotepl 120 811 0 0 15 1 14 14 0 8 0
kqueuepl 216 2211 0 2203 35 34 1 5 0 8 0
pipepl 320 2428 0 2403 69 63 6 8 0 8 3
fdescpl 496 10177 0 10149 5 1 4 5 0 8 0
filepl 152 89800 0 89575 155 140 15 23 0 8 4
lockfpl 104 2452 0 2450 4 3 1 2 0 8 0
lockfspl 48 828 0 826 1 0 1 1 0 8 0
sessionpl 144 61 0 45 1 0 1 1 0 8 0
pgrppl 48 266 0 250 1 0 1 1 0 8 0
ucredpl 104 13149 0 13130 1 0 1 1 0 8 0
zombiepl 144 10351 0 10351 1 0 1 1 0 8 1
processpl 1072 10418 0 10351 5 0 5 5 0 8 0
procpl 696 25992 0 25900 29 19 10 11 0 8 0
srpgc 96 48 0 48 12 11 1 1 0 8 1
sosppl 168 83 0 83 17 17 0 1 0 8 0
sockpl 488 31239 0 31209 715 703 12 42 0 8 7
mcl64k 65536 7 0 0 1 0 1 1 0 8 0
mcl16k 16384 4 0 0 1 0 1 1 0 8 0
mcl12k 12288 8 0 0 1 0 1 1 0 8 0
mcl9k 9216 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 6 0 0 1 0 1 1 0 8 0
mcl4k 4096 10 0 0 2 0 2 2 0 8 0
mcl2k2 2112 3 0 0 1 0 1 1 0 8 0
mcl2k 2048 620 0 0 53 15 38 53 0 8 0
mtagpl 96 911 0 0 16 0 16 16 0 8 0
mbufpl 256 1591 0 0 85 0 85 85 0 8 0
bufpl 288 20011 0 13686 453 0 453 453 0 8 0
anonpl 24 1965882 0 1949338 243 61 182 193 0 186 43
amapchunkpl 152 191090 0 190312 105 52 53 62 0 158 19
amappl16 200 17887 0 17189 134 89 45 50 0 8 8
amappl15 192 78 0 73 1 0 1 1 0 8 0
amappl14 184 259 0 241 2 1 1 2 0 8 0
amappl13 176 5 0 5 1 1 0 1 0 8 0
amappl12 168 811 0 808 1 0 1 1 0 8 0
amappl11 160 50 0 36 1 0 1 1 0 8 0
amappl10 152 75 0 63 1 0 1 1 0 8 0
amappl9 144 1020 0 1018 1 0 1 1 0 8 0
amappl8 136 562 0 453 4 0 4 4 0 8 0
amappl7 128 246 0 218 2 0 2 2 0 8 0
amappl6 120 394 0 380 2 1 1 2 0 8 0
amappl5 112 387 0 378 1 0 1 1 0 8 0
amappl4 104 1006 0 971 2 0 2 2 0 8 0
amappl3 96 28885 0 28830 2 0 2 2 0 8 0
amappl2 88 11181 0 11100 4 2 2 4 0 8 0
amappl1 80 228529 0 227756 28 10 18 28 0 8 0
amappl 88 64949 0 64736 7 1 6 6 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 133 0 3 3 0 3 3 0 8 0
uaddrrnd 24 10188 0 10160 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 10188 0 10160 1 0 1 1 0 8 0
vmmpekpl 168 79666 0 79604 4 0 4 4 0 8 0
vmmpepl 168 929451 0 926403 391 222 169 169 0 357 23
vmsppl 440 10187 0 10160 5 1 4 4 0 8 0
rwobjpl 56 241612 0 233597 136 20 116 118 0 8 1
pdppl 4096 20383 0 20320 599 532 67 77 0 8 4
pvpl 32 3839139 0 3816889 620 301 319 365 0 265 96
pmappl 248 10187 0 10160 3 1 2 3 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 1727 0 845 26 0 26 26 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
0(0,0,0,ffff800021202da8,0,0) at 0
timeout_run(fffffd806857fdf0) at timeout_run+0xcc sys/kern/kern_timeout.c:641
softclock_process_kclock_timeout(fffffd806857fdf0,0) at softclock_process_kclock_timeout+0x1c6 sys/kern/kern_timeout.c:666
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:717
softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x1f
end of kernel
end trace frame: 0x25516bab0, count: -5
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1a: addq $0x8,%rsp
x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d68ff0) at sched_idle+0x417 sys/kern/kern_sched.c:175
end trace frame: 0x0, count: 10
ddb{1}> trace
x86_ipi_db(ffff800020d68ff0) at x86_ipi_db+0x1a sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xb7 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x23
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffff800020d68ff0) at sched_idle+0x417 sys/kern/kern_sched.c:175
end trace frame: 0x0, count: -5


---
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,
May 11, 2023, 4:43:38 AM5/11/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