protection_fault: uvm_fault_upper_lookup

0 views
Skip to first unread message

syzbot

unread,
Jul 15, 2026, 2:06:45 PMJul 15
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: af68cf7bb0f1 Fix a potential 1-byte buffer overflow in usb..
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=100ca4b9580000
kernel config: https://syzkaller.appspot.com/x/.config?x=1bc15e68cd2a49e5
dashboard link: https://syzkaller.appspot.com/bug?extid=50f0374c777aecde49d1

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/2731571bb1cb/disk-af68cf7b.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/012c1459600a/bsd-af68cf7b.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/aa5158661707/kernel-af68cf7b.xz

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

login: kernel: protection fault trap, code=0
Stopped at uvm_fault_upper_lookup+0x194: movq 0(%r14),%rax
ddb>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
the kernel did not panic
ddb> show kasan
No such command
ddb> trace
uvm_fault_upper_lookup(ffff80002ccab570,ffff80002ccab5a8,ffff80002ccab470,ffff80002ccab4f0) at uvm_fault_upper_lookup+0x194 sys/uvm/uvm_fault.c:968
uvm_fault(fffff2806d187010,52dd5a35000,0,1) at uvm_fault+0x139 sys/uvm/uvm_fault.c:632
upageflttrap(ffff80002ccab710,52dd5a35e70) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff80002ccab710) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x72b3a02036f0, count: -5
ddb> show registers
rdi 0x1
rsi 0x3
rbp 0xffff80002ccab460
rbx 0x1
rdx 0
rcx 0xffff80002ccab5a8
rax 0xffff80003c8fa550
r8 0xffffffff8217a8c0 uvm_map_inentry_sp
r9 0
r10 0xae54663b01d26bb5
r11 0x1be183fbd33bb9c
r12 0xffff80002ccab4f0
r13 0x52dd5a33000
r14 0xf000000000000000
r15 0x3
rip 0xffffffff818119f4 uvm_fault_upper_lookup+0x194
cs 0x8
rflags 0x10293 __ALIGN_SIZE+0xf293
rsp 0xffff80002ccab3c0
ss 0
uvm_fault_upper_lookup+0x194: movq 0(%r14),%rax
ddb> show proc
PROC (syz-executor) tid=271056 pid=22368 tcnt=1 stat=onproc
flags process=0 proc=0
runpri=50, usrpri=50, slppri=17, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80003c8fb4e0,0xffffffff839bb6b0
process=0xffff800045ffb198 user=0xffff80002cca6000, vmspace=0xfffff2806d187010
estcpu=29, cpticks=0, pctcpu=0.0, user=0, sys=0, intr=0
ddb> ps
PID TID PPID UID S FLAGS WAIT COMMAND
*22368 271056 46314 0 7 0 syz-executor
70580 57494 40558 -1 2 0x10 syz-executor
70580 177724 40558 -1 3 0x4000090 kqread syz-executor
99529 462549 14616 0 3 0x80 nanoslp syz-executor
99529 116866 14616 0 3 0x4000080 msgwait syz-executor
50941 289229 59590 0 3 0x80 nanoslp syz-executor
50941 466078 59590 0 3 0x4000080 kqread syz-executor
50941 221793 59590 0 3 0x4000080 fsleep syz-executor
44311 241655 97234 0 2 0x2 syz-executor
4608 334623 97234 0 2 0x2 syz-executor
9434 206742 97234 0 2 0x2 syz-executor
59590 391409 97234 0 3 0x82 nanoslp syz-executor
40558 366499 97234 0 3 0x82 nanoslp syz-executor
46314 327759 97234 0 3 0x82 nanoslp syz-executor
14616 71954 97234 0 3 0x82 nanoslp syz-executor
78130 221900 97234 0 2 0x2 syz-executor
97234 318828 18708 0 3 0x82 kqread syz-executor
18708 517381 5470 0 3 0x10008a sigsusp ksh
5470 307121 55637 0 3 0x98 kqread sshd-session
55637 387248 14511 0 3 0x92 kqread sshd-session
75642 249197 1 0 3 0x100083 ttyin getty
14511 398166 1 0 3 0x88 kqread sshd
24554 205763 15726 73 3 0x1100090 kqread syslogd
15726 368003 1 0 3 0x100082 sbwait syslogd
31247 80316 1 0 3 0x100080 kqread resolvd
78588 254943 31148 77 3 0x100092 kqread dhcpleased
41762 60727 31148 77 3 0x100092 kqread dhcpleased
31148 486034 1 0 3 0x80 kqread dhcpleased
7800 317542 0 0 3 0x14200 bored smr
36051 242039 0 0 2 0x14200 zerothread
60308 330653 0 0 3 0x14200 aiodoned aiodoned
8007 300157 0 0 3 0x14200 syncer update
73531 187833 0 0 3 0x14200 cleaner cleaner
60809 217210 0 0 3 0x14200 reaper reaper
5358 454734 0 0 3 0x14200 pgdaemon pagedaemon
69340 162800 0 0 3 0x14200 bored viomb
13823 479766 0 0 3 0x40014200 acpi0 acpi0
19424 434438 0 0 2 0x14200 softnet0
30139 412225 0 0 3 0x14200 bored systqmp
43393 214266 0 0 3 0x14200 bored systq
51044 347738 0 0 3 0x40014200 tmoslp softclock
36260 379927 0 0 3 0x40014200 idle0
1 24894 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 11032 12167K 12425K 166960K 12172 0
pcb 17 12K 12K 166960K 26 0
rtable 245 7K 7K 166960K 363 0
pf 31 13K 19K 166960K 37 0
ifaddr 43 7K 7K 166960K 46 0
ifgroup 50 2K 2K 166960K 52 0
sysctl 2 1K 9K 166960K 6 0
counters 33 17K 18K 166960K 45 0
ioctlops 0 0K 4K 166960K 71 0
iov 0 0K 4K 166960K 4 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1295 82K 82K 166960K 1390 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 3 0
VM map 2 1K 1K 166960K 2 0
sem 3 0K 0K 166960K 3 0
dirhash 12 2K 2K 166960K 12 0
ACPI 1734 201K 291K 166960K 11964 0
file desc 14 49K 97K 166960K 192 0
sigio 0 0K 0K 166960K 4 0
proc 60 59K 116K 166960K 506 0
subproc 72 4K 4K 166960K 72 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 1 0
in_multi 103 7K 7K 166960K 103 0
ether_multi 1 0K 0K 166960K 1 0
mrt 0 0K 0K 166960K 2 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 49 228K 228K 166960K 49 0
exec 0 0K 1K 166960K 367 0
fusefs mount 1 32K 32K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 190 158K 167K 166960K 3300 0
UVM aobj 4 2K 2K 166960K 4 0
pinsyscall 35 70K 96K 166960K 1292 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 2 0
NDP 27 2K 2K 166960K 28 0
temp 39 9107K 9114K 166960K 11461 0
kqueue 14 22K 24K 166960K 33 0
SYN cache 2 16K 16K 166960K 2 0
ddb> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
rtpcb 120 41 0 38 1 0 1 1 0 8 0
rtentry 136 113 0 1 4 0 4 4 0 8 0
unpcb 144 42 0 27 1 0 1 1 0 8 0
syncache 336 4 0 4 1 0 1 1 0 8 1
tcpcb 736 16 0 12 1 0 1 1 0 8 0
arp 96 18 0 0 1 0 1 1 0 8 0
ipq 40 1 0 0 1 0 1 1 0 8 0
ipqe 40 2 0 1 1 0 1 1 0 8 0
inpcb 328 88 0 80 2 0 2 2 0 8 0
ip6q 72 1 0 0 1 0 1 1 0 8 0
ip6af 40 1 0 0 1 0 1 1 0 8 0
nd6 112 25 0 0 1 0 1 1 0 8 0
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1072 12 0 12 1 0 1 1 0 8 1
pfstscr 40 2 0 0 1 0 1 1 0 8 0
pfstitem 24 2 0 0 1 0 1 1 0 8 0
pfstkey 128 2 0 0 1 0 1 1 0 8 0
pfstate 384 1 0 0 1 0 1 1 0 8 0
pfrule 1360 1 0 1 1 0 1 1 0 8 1
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 451 0 0 29 0 29 29 0 8 0
art_table 40 452 0 0 5 0 5 5 0 8 0
art_node 32 113 0 12 1 0 1 1 0 8 0
sysvmsgpl 40 3 0 2 1 0 1 1 0 8 0
semapl 72 1 0 0 1 0 1 1 0 8 0
shmpl 112 1 0 0 1 0 1 1 0 8 0
dirhash 1024 17 0 0 3 0 3 3 0 8 0
dino2pl 256 1658 0 197 92 0 92 92 0 8 0
ffsino 256 1658 0 197 92 0 92 92 0 8 0
nchpl 144 1936 0 248 63 0 63 63 0 8 0
rtmask 32 1 0 1 1 0 1 1 0 8 1
vnodes 216 1762 0 0 98 0 98 98 0 8 0
namei 1024 5697 0 5696 2 0 2 2 0 8 1
kstatmem 264 25 0 2 2 0 2 2 0 8 0
scxspl 216 6879 0 6879 4 0 4 4 1 8 4
plimitpl 152 31 0 15 1 0 1 1 0 8 0
sigapl 424 487 0 448 6 0 6 6 0 8 1
knotepl 120 4388 0 4339 9 0 9 9 0 8 7
kqueuepl 184 34 0 23 1 0 1 1 0 8 0
pipepl 304 124 0 97 3 0 3 3 0 8 0
fdescpl 448 474 0 448 5 0 5 5 0 8 1
filepl 120 1650 0 1432 7 0 7 7 0 8 0
lockfpl 104 26 0 24 1 0 1 1 0 8 0
lockfspl 48 14 0 12 1 0 1 1 0 8 0
sessionpl 144 29 0 21 1 0 1 1 0 8 0
pgrppl 48 38 0 22 1 0 1 1 0 8 0
ucredpl 104 124 0 112 1 0 1 1 0 8 0
zombiepl 144 448 0 448 1 0 1 1 0 8 1
processpl 1152 487 0 448 4 0 4 4 0 8 0
procpl 664 560 0 517 5 0 5 5 0 8 1
sockpl 552 174 0 148 3 0 3 3 0 8 0
mcl64k 65536 8 0 7 1 0 1 1 0 8 0
mcl16k 16384 4 0 4 1 0 1 1 0 8 1
mcl8k 8192 4 0 4 1 0 1 1 0 8 1
mcl4k 4096 2579 0 2524 15 0 15 15 0 8 8
mcl2k 2048 140 0 138 1 0 1 1 0 8 0
mextrefs 64 55 0 54 1 0 1 1 0 8 0
mtagpl 96 4 0 4 1 0 1 1 0 8 1
mbufpl 256 4742 0 4604 10 0 10 10 0 8 1
bufpl 272 2565 0 102 165 0 165 165 0 8 0
anonpl 24 97614 0 94787 33 0 33 33 0 187 11
amapchunkpl 152 9439 0 9080 24 0 24 24 0 158 5
amappl16 200 1770 0 1747 5 0 5 5 0 8 3
amappl15 192 5 0 5 1 0 1 1 0 8 1
amappl14 184 408 0 407 1 0 1 1 0 8 0
amappl13 176 117 0 107 1 0 1 1 0 8 0
amappl12 168 713 0 689 2 0 2 2 0 8 0
amappl11 160 6 0 5 1 0 1 1 0 8 0
amappl10 152 60 0 50 1 0 1 1 0 8 0
amappl9 144 281 0 280 1 0 1 1 0 8 0
amappl8 136 98 0 97 1 0 1 1 0 8 0
amappl7 128 156 0 145 1 0 1 1 0 8 0
amappl6 120 164 0 163 1 0 1 1 0 8 0
amappl5 112 99 0 92 1 0 1 1 0 8 0
amappl4 104 259 0 244 1 0 1 1 0 8 0
amappl3 96 1677 0 1592 3 0 3 3 0 8 0
amappl2 88 519 0 466 2 0 2 2 0 8 0
amappl1 80 10369 0 9844 13 0 13 13 0 8 0
amappl 88 2606 0 2480 4 0 4 4 0 92 0
uvmvnodes 80 98 0 0 2 0 2 2 0 8 0
dma4096 4096 1 0 1 1 0 1 1 0 8 1
dma1024 1024 1 0 0 1 0 1 1 0 8 0
dma256 256 6 0 6 1 0 1 1 0 8 1
dma128 128 253 0 253 1 0 1 1 0 8 1
dma64 64 6 0 6 1 0 1 1 0 8 1
dma32 32 7 0 7 1 0 1 1 0 8 1
dma16 16 18 0 17 1 0 1 1 0 8 0
aobjpl 72 3 0 0 1 0 1 1 0 8 0
uaddrrnd 24 474 0 448 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 474 0 448 1 0 1 1 0 8 0
vmmpekpl 168 5709 0 5673 2 0 2 2 0 8 0
vmmpepl 168 39291 0 37715 80 0 80 80 0 357 0
vmsppl 368 473 0 448 4 0 4 4 0 8 1
rwobjpl 40 14555 0 13661 11 0 11 11 0 8 0
pdppl 4096 954 0 896 96 14 82 82 0 8 24
pvpl 32 228594 0 221095 87 0 87 87 0 265 10
pmappl 216 473 0 448 3 0 3 3 0 8 0
extentpl 40 46 0 28 1 0 1 1 0 8 0
phpool 112 524 0 14 15 0 15 15 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
uvm_fault_upper_lookup(ffff80002ccab570,ffff80002ccab5a8,ffff80002ccab470,ffff80002ccab4f0) at uvm_fault_upper_lookup+0x194 sys/uvm/uvm_fault.c:968
uvm_fault(fffff2806d187010,52dd5a35000,0,1) at uvm_fault+0x139 sys/uvm/uvm_fault.c:632
upageflttrap(ffff80002ccab710,52dd5a35e70) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff80002ccab710) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x72b3a02036f0, count: -5
ddb> machine ddbcpu 1
No such command
ddb> trace
uvm_fault_upper_lookup(ffff80002ccab570,ffff80002ccab5a8,ffff80002ccab470,ffff80002ccab4f0) at uvm_fault_upper_lookup+0x194 sys/uvm/uvm_fault.c:968
uvm_fault(fffff2806d187010,52dd5a35000,0,1) at uvm_fault+0x139 sys/uvm/uvm_fault.c:632
upageflttrap(ffff80002ccab710,52dd5a35e70) at upageflttrap+0xa0 sys/arch/amd64/amd64/trap.c:192
usertrap(ffff80002ccab710) at usertrap+0x413 sys/arch/amd64/amd64/trap.c:640
recall_trap() at recall_trap+0x8
end of kernel
end trace frame: 0x72b3a02036f0, 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.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages