uvm_fault: sysctl_sysvipc

0 views
Skip to first unread message

syzbot

unread,
Jul 16, 2026, 2:20:24 PMJul 16
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 3cb5d360b276 move to a better place
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=12e14b46580000
kernel config: https://syzkaller.appspot.com/x/.config?x=1bc15e68cd2a49e5
dashboard link: https://syzkaller.appspot.com/bug?extid=547a2510bd6ccb0874eb

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/01dd58317d01/disk-3cb5d360.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/7009432c0480/bsd-3cb5d360.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/deadb3eeddba/kernel-3cb5d360.xz

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

uvm_fault(0xffffffff839b66c0, 0xffff800001686000, 0, 2) -> e
kernel: page fault trap, code=2
Stopped at sysctl_sysvipc+0x529: repe movsq (%rsi),%es:(%rdi)
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*136825 62622 0 0 0x4000000 0 syz-executor
sysctl_sysvipc(ffff80002a7abdb8,1,200000000100,ffff80002a7abde8) at sysctl_sysvipc+0x529 sys/kern/kern_sysctl.c:2779
kern_sysctl(ffff80002a7abdb4,2,200000000100,ffff80002a7abde8,0,27,73ec1e08ab45bec0) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:736
sys_sysctl(ffff80002f4b6a88,ffff80002a7abf10,ffff80002a7abe60) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1
syscall(ffff80002a7abf10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002a7abf10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc9fb9a1ea30, 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>
ddb> set $lines = 0
ddb> set $maxwidth = 0
ddb> show panic
*cpu0: uvm_fault(0xffffffff839b66c0, 0xffff800001686000, 0, 2) -> e
ddb> show kasan
No such command
ddb> trace
sysctl_sysvipc(ffff80002a7abdb8,1,200000000100,ffff80002a7abde8) at sysctl_sysvipc+0x529 sys/kern/kern_sysctl.c:2779
kern_sysctl(ffff80002a7abdb4,2,200000000100,ffff80002a7abde8,0,27,73ec1e08ab45bec0) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:736
sys_sysctl(ffff80002f4b6a88,ffff80002a7abf10,ffff80002a7abe60) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1
syscall(ffff80002a7abf10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002a7abf10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc9fb9a1ea30, count: -5
ddb> show registers
rdi 0xffff800001686000
rsi 0xfffffd007bdc1480
rbp 0xffff80002a7abba0
rbx 0
rdx 0xffff8000320be000
rcx 0x8
rax 0xffffffff812c58d5 sysctl_sysvipc+0x515
r8 0xffff80002a7abde8
r9 0
r10 0x7a1011e82e599187
r11 0xfe09ad7bf25d734a
r12 0xfffffffffffff694
r13 0xfffffd007bdc1460
r14 0x17
r15 0xffff800001685fe0
rip 0xffffffff812c58e9 sysctl_sysvipc+0x529
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80002a7abb10
ss 0x10
sysctl_sysvipc+0x529: repe movsq (%rsi),%es:(%rdi)
ddb> show proc
PROC (syz-executor) tid=136825 pid=62622 tcnt=2 stat=onproc
flags process=0 proc=4000000<THREAD>
runpri=32, usrpri=50, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff80002f4b6fb8,0xffffffff83a3fd60
process=0xffff800045ff9b18 user=0xffff80002a7a6000, vmspace=0xfffffd007f22e8a0
estcpu=36, cpticks=1, pctcpu=0.0, user=0, sys=1, intr=0
ddb> ps
PID TID PPID UID S PRLAGS PFLAGS WAIT COMMAND
62622 117913 20663 0 2 0 0 syz-executor
*62622 136825 20663 0 7 0 0x4000000 syz-executor
73142 378942 47922 0 3 0 0x80 nanoslp syz-executor
73142 79388 47922 0 3 0 0x4000080 rest syz-executor
73142 117079 47922 0 3 0 0x4000080 fsleep syz-executor
50403 392342 48043 -1 2 0x10 0xc80 syz-executor
50403 311301 48043 -1 3 0x10 0x4000080 fifow syz-executor
50403 39178 48043 -1 3 0x10 0x4000080 fsleep syz-executor
29584 52705 83035 0 3 0 0x80 nanoslp syz-executor
29584 105679 83035 0 3 0 0x4000080 pppxread syz-executor
29584 14446 83035 0 3 0 0x4000080 fsleep syz-executor
97371 457322 0 0 3 0x14000 0x280 nfsidl nfsio
32419 511261 0 0 3 0x14000 0x280 nfsidl nfsio
94248 434357 0 0 3 0x14000 0x280 nfsidl nfsio
58938 357666 0 0 3 0x14000 0x280 nfsidl nfsio
79938 152119 0 0 3 0x14000 0x280 nfsidl nfsio
68880 94967 0 0 3 0x14000 0x280 nfsidl nfsio
51898 226398 0 0 3 0x14000 0x280 nfsidl nfsio
84387 44433 0 0 3 0x14000 0x280 nfsidl nfsio
73478 354059 0 0 3 0x14000 0x280 nfsidl nfsio
29542 93810 0 0 3 0x14000 0x280 nfsidl nfsio
46855 464127 0 0 3 0x14000 0x280 nfsidl nfsio
67605 8814 0 0 3 0x14000 0x280 nfsidl nfsio
12620 448295 0 0 3 0x14000 0x280 nfsidl nfsio
93084 268761 0 0 3 0x14000 0x280 nfsidl nfsio
63079 312147 0 0 3 0x14000 0x280 nfsidl nfsio
90610 427182 0 0 3 0x14000 0x280 nfsidl nfsio
50963 180233 0 0 3 0x14000 0x280 nfsidl nfsio
99659 348695 0 0 3 0x14000 0x280 nfsidl nfsio
81647 516330 0 0 3 0x14000 0x280 nfsidl nfsio
89969 212083 0 0 3 0x14000 0x280 nfsidl nfsio
9404 238305 1 0 3 0x100003 0x80 ttyin getty
58651 14838 60258 0 2 0x2 0 syz-executor
77172 222545 60258 0 2 0x2 0 syz-executor
31751 217362 60258 0 3 0x2 0x80 nanoslp syz-executor
20663 147003 60258 0 2 0x2 0xc80 syz-executor
47922 338940 60258 0 2 0x2 0xc80 syz-executor
9442 49274 60258 0 2 0x2 0 syz-executor
83035 164887 60258 0 3 0x2 0x80 nanoslp syz-executor
48043 72523 60258 0 3 0x2 0x80 nanoslp syz-executor
60258 406817 1 0 3 0x2 0x80 kqread syz-executor
88836 178203 0 0 3 0x14000 0x200 bored smr
19328 18414 0 0 2 0x14000 0x200 zerothread
49722 95979 0 0 3 0x14000 0x200 aiodoned aiodoned
44258 486376 0 0 3 0x14000 0x200 syncer update
62479 28313 0 0 3 0x14000 0x200 cleaner cleaner
32583 233848 0 0 3 0x14000 0x200 reaper reaper
3776 297255 0 0 3 0x14000 0x200 pgdaemon pagedaemon
60597 33106 0 0 3 0x14000 0x200 bored viomb
96868 220771 0 0 3 0x14000 0x40000200 acpi0 acpi0
17106 511661 0 0 3 0x14000 0x200 bored softnet0
88400 185127 0 0 3 0x14000 0x200 bored systqmp
89951 187039 0 0 3 0x14000 0x200 bored systq
5290 448031 0 0 3 0x14000 0x40000200 tmoslp softclock
86754 405323 0 0 3 0x14000 0x40000200 idle0
1 492215 0 0 3 0x80002 0x80 wait init
0 0 -1 0 3 0x10010000 0x200 scheduler swapper
ddb> show all locks
No such command
ddb> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 11034 12182K 12381K 166960K 12712 0
pcb 18 18K 23K 166960K 207 0
rtable 257 9K 10K 166960K 440 0
pf 34 13K 21K 166960K 120 0
ifaddr 42 7K 8K 166960K 55 0
ifgroup 50 2K 2K 166960K 67 0
sysctl 2 1K 9K 166960K 10 0
counters 33 17K 18K 166960K 42 0
ioctlops 0 0K 4K 166960K 237 0
iov 0 0K 16K 166960K 79 0
mount 1 1K 1K 166960K 1 0
log 3 2K 2K 166960K 7 0
vnodes 1425 90K 90K 166960K 1808 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 9K 166960K 13 0
VM map 2 1K 1K 166960K 2 0
sem 12 1K 1K 166960K 90 0
dirhash 12 2K 2K 166960K 15 0
ACPI 1734 201K 291K 166960K 11964 0
file desc 14 53K 89K 166960K 495 0
sigio 0 0K 0K 166960K 68 0
proc 20 25K 91K 166960K 543 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 28 0
in_multi 98 7K 7K 166960K 102 0
ether_multi 1 0K 0K 166960K 2 0
mrt 0 0K 0K 166960K 12 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 73 334K 334K 166960K 73 0
exec 0 0K 1K 166960K 460 0
fusefs mount 1 32K 32K 166960K 1 0
pfkey data 0 0K 0K 166960K 1 0
tdb 3 0K 0K 166960K 3 0
VM swap 8 62K 64K 166960K 10 0
UVM amap 120 86K 165K 166960K 5978 0
UVM aobj 76 3K 3K 166960K 79 0
pinsyscall 17 34K 93K 166960K 1603 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 17 0
NDP 11 0K 2K 166960K 33 0
temp 44 9112K 9172K 166960K 10104 0
kqueue 2 4K 31K 166960K 94 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 65 0 64 2 1 1 1 0 8 0
rtentry 136 125 0 15 4 0 4 4 0 8 0
unpcb 144 539 0 537 14 6 8 8 0 8 7
syncache 336 5 0 5 2 1 1 1 0 8 1
tcpcb 736 222 0 221 7 6 1 7 0 8 0
arp 96 22 0 4 1 0 1 1 0 8 0
ipq 40 1 0 0 1 0 1 1 0 8 0
ipqe 40 1 0 0 1 0 1 1 0 8 0
inpcb 328 836 0 831 20 13 7 13 0 8 6
ip6q 72 1 0 0 1 0 1 1 0 8 0
nd6 112 25 0 0 1 0 1 1 0 8 0
pkpcb 40 67 0 67 1 1 0 1 0 8 0
kcovpl 48 8 0 0 1 0 1 1 0 8 0
ppxss 1072 7 0 7 1 1 0 1 0 8 0
pppxif 1416 2 0 2 1 1 0 1 0 8 0
pfstscr 40 75 0 70 1 0 1 1 0 8 0
pffrag 232 1 0 0 1 0 1 1 0 482 0
pffrnode 88 1 0 0 1 0 1 1 0 8 0
pffrent 40 3 0 2 1 0 1 1 0 8 0
pfosfp 40 1 0 0 1 0 1 1 0 8 0
pfosfpen 112 1 0 0 1 0 1 1 0 8 0
pfanchor 1288 6 0 0 1 0 1 1 0 8 0
pftag 88 1 0 1 1 1 0 1 0 8 0
pfqueue 320 1 0 1 1 1 0 1 0 8 0
pfstitem 24 5 0 0 1 0 1 1 0 8 0
pfstkey 128 74 0 69 1 0 1 1 0 8 0
pfstate 384 38 0 35 1 0 1 1 0 8 0
pfrule 1360 2 0 2 1 1 0 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 468 0 13 29 0 29 29 0 8 0
art_table 40 469 0 13 5 0 5 5 0 8 0
art_node 32 122 0 23 1 0 1 1 0 8 0
sysvmsgpl 40 2 0 1 1 0 1 1 0 8 0
semupl 112 1 0 1 1 0 1 1 0 8 1
semapl 72 20 0 10 1 0 1 1 0 8 0
shmpl 112 76 0 3 3 0 3 3 0 8 0
dirhash 1024 19 0 2 3 0 3 3 0 8 0
dino2pl 256 2263 0 801 92 0 92 92 0 8 0
ffsino 256 2264 0 801 92 0 92 92 0 8 0
nchpl 144 2967 0 1271 64 0 64 64 0 8 0
vnodes 216 2593 0 0 145 0 145 145 0 8 0
namei 1024 9472 0 9471 3 2 1 2 0 8 0
acpiwqpl 32 1 0 1 1 0 1 1 1 8 1
kstatmem 264 35 0 12 2 0 2 2 0 8 0
scsiplug 72 3 0 3 2 1 1 1 0 8 1
scxspl 216 9599 0 9599 3 2 1 3 1 8 1
plimitpl 152 63 0 50 1 0 1 1 0 8 0
sigapl 424 815 0 765 7 1 6 6 0 8 0
knotepl 120 18866 0 18611 30 14 16 16 0 8 8
kqueuepl 184 177 0 175 4 0 4 4 0 8 3
pipepl 304 208 0 181 8 5 3 8 0 8 0
fdescpl 448 779 0 762 5 1 4 5 0 8 0
filepl 120 4916 0 4749 22 8 14 15 0 8 7
lockfpl 104 138 0 137 1 0 1 1 0 8 0
lockfspl 48 61 0 60 1 0 1 1 0 8 0
sessionpl 144 41 0 38 1 0 1 1 0 8 0
pgrppl 48 56 0 45 1 0 1 1 0 8 0
ucredpl 104 616 0 610 1 0 1 1 0 8 0
zombiepl 144 766 0 765 2 1 1 1 0 8 0
processpl 1152 815 0 765 4 0 4 4 0 8 0
procpl 664 1345 0 1288 7 1 6 6 0 8 0
sosppl 176 5 0 5 1 1 0 1 0 8 0
sockpl 552 1521 0 1513 35 20 15 17 0 8 13
mcl64k 65536 50 0 50 2 1 1 1 0 8 1
mcl8k 8192 8 0 8 2 1 1 1 0 8 1
mcl4k 4096 2997 0 2946 15 7 8 15 0 8 1
mcl2k 2048 361 0 361 3 1 2 2 0 8 2
mextrefs 64 195 0 195 2 1 1 1 0 8 1
mtagpl 96 5 0 5 1 1 0 1 0 8 0
mbufpl 256 8342 0 8132 20 3 17 19 0 8 3
bufpl 272 3200 0 104 207 0 207 207 0 8 0
anonpl 24 133126 0 131604 46 21 25 46 0 187 3
amapchunkpl 152 20100 0 19794 34 4 30 32 0 158 13
amappl16 200 2003 0 1982 5 2 3 5 0 8 0
amappl15 192 5 0 5 1 1 0 1 0 8 0
amappl14 184 408 0 408 1 1 0 1 0 8 0
amappl13 176 148 0 147 1 0 1 1 0 8 0
amappl12 168 1017 0 1000 2 0 2 2 0 8 0
amappl11 160 11 0 11 1 1 0 1 0 8 0
amappl10 152 58 0 58 1 1 0 1 0 8 0
amappl9 144 271 0 271 1 1 0 1 0 8 0
amappl8 136 100 0 100 1 1 0 1 0 8 0
amappl7 128 145 0 143 1 0 1 1 0 8 0
amappl6 120 145 0 144 1 0 1 1 0 8 0
amappl5 112 93 0 92 2 1 1 1 0 8 0
amappl4 104 264 0 261 1 0 1 1 0 8 0
amappl3 96 3719 0 3650 4 0 4 4 0 8 0
amappl2 88 535 0 526 2 0 2 2 0 8 0
amappl1 80 11610 0 11499 13 8 5 13 0 8 0
amappl 88 5209 0 5104 4 0 4 4 0 92 0
uvmvnodes 80 109 0 0 3 0 3 3 0 8 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 7 0 7 2 1 1 1 0 8 1
dma128 128 254 0 254 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 19 0 18 1 0 1 1 0 8 0
aobjpl 72 78 0 3 2 0 2 2 0 8 0
uaddrrnd 24 779 0 762 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 779 0 762 1 0 1 1 0 8 0
vmmpekpl 168 8070 0 8035 2 0 2 2 0 8 0
vmmpepl 168 56433 0 55680 82 38 44 82 0 357 0
vmsppl 368 778 0 762 4 1 3 4 0 8 0
rwobjpl 40 17908 0 17420 11 0 11 11 0 8 0
pdppl 4096 1564 0 1524 94 48 46 78 0 8 6
pvpl 32 349711 0 344334 121 46 75 106 0 265 18
pmappl 216 778 0 762 2 0 2 2 0 8 0
extentpl 40 46 0 28 1 0 1 1 0 8 0
phpool 112 586 0 75 15 0 15 15 0 8 0
ddb> machine ddbcpu 0
No such command
ddb> trace
sysctl_sysvipc(ffff80002a7abdb8,1,200000000100,ffff80002a7abde8) at sysctl_sysvipc+0x529 sys/kern/kern_sysctl.c:2779
kern_sysctl(ffff80002a7abdb4,2,200000000100,ffff80002a7abde8,0,27,73ec1e08ab45bec0) at kern_sysctl+0x139 sys/kern/kern_sysctl.c:736
sys_sysctl(ffff80002f4b6a88,ffff80002a7abf10,ffff80002a7abe60) at sys_sysctl+0x3e5 sys/kern/kern_sysctl.c:-1
syscall(ffff80002a7abf10) at syscall+0x962 mi_syscall sys/sys/syscall_mi.h:-1 [inline]
syscall(ffff80002a7abf10) at syscall+0x962 sys/arch/amd64/amd64/trap.c:783
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xc9fb9a1ea30, count: -5
ddb> machine ddbcpu 1
No such command
ddb>


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