Hello,
syzbot found the following issue on:
HEAD commit: 4a7e1005694f Update awk to the Jan 14, 2025 version. * Fi..
git tree: openbsd
console output:
https://syzkaller.appspot.com/x/log.txt?x=13a241b0580000
kernel config:
https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link:
https://syzkaller.appspot.com/bug?extid=6d88abc44e13bdeba3d5
Unfortunately, I don't have any reproducer for this issue yet.
Downloadable assets:
disk image:
https://storage.googleapis.com/syzbot-assets/090fa20dffa9/disk-4a7e1005.raw.xz
bsd.gdb:
https://storage.googleapis.com/syzbot-assets/aaa329f11a33/bsd-4a7e1005.gdb.xz
kernel image:
https://storage.googleapis.com/syzbot-assets/9b9ed246eb46/kernel-4a7e1005.xz
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+6d88ab...@syzkaller.appspotmail.com
login: uvm_fault(0xffffffff835e7fb8, 0xffff800029082004, 0, 1) -> d
fatal page fault in supervisor mode
trap type 6 code 0 rip ffffffff810e3a61 cs 8 rflags 10202 cr2 ffff800029082004 cpl 0 rsp ffff80003c5b41c0
gsbase 0xffff800029b5bff0 kgsbase 0x0
panic: trap type 6, code=0, pc=ffffffff810e3a61
Starting stack trace...
panic(ffffffff830473a3) at panic+0x1d0 sys/kern/subr_prf.c:229
kerntrap(ffff80003c5b4110) at kerntrap+0x29b sys/arch/amd64/amd64/trap.c:327
alltraps_kern_meltdown() at alltraps_kern_meltdown+0x7b
ufs_lookup() at ufs_lookup+0x5e1 sys/ufs/ufs/ufs_lookup.c:279
VOP_LOOKUP(fffffd805c9f6cb8,ffff80003c5b43b8,ffff80003c5b4358) at VOP_LOOKUP+0x6e sys/kern/vfs_vops.c:85
unveil_find_cover(fffffd805c9f6cb8,ffff8000ffff6f68) at unveil_find_cover+0x16d sys/kern/kern_unveil.c:277
unveil_start_relative(ffff8000ffff6f68,ffff80003c5b4528,fffffd805c9f6cb8) at unveil_start_relative+0x14b sys/kern/kern_unveil.c:606
namei(ffff80003c5b4528) at namei+0x54a sys/kern/vfs_lookup.c:222
sys_unveil(ffff8000ffff6f68,ffff80003c5b4710,ffff80003c5b4660) at sys_unveil+0x319 sys/kern/vfs_syscalls.c:997
syscall(ffff80003c5b4710) at syscall+0xb08 mi_syscall sys/sys/syscall_mi.h:176 [inline]
syscall(ffff80003c5b4710) at syscall+0xb08 sys/arch/amd64/amd64/trap.c:577
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0xf3f498e42f0, count: 246
End of stack trace.
WARNING: SPL NOT LOWERED ON TRAP EXIT 4 0
Stopped at proc_trampoline+0xc7: movl $0,%gs:0x680
TID PID UID PRFLAGS PFLAGS CPU COMMAND
*202823 20343 0 0 0 1 syz-executor
49533 18923 0 0x14000 0x40000200 0 softclock
proc_trampoline() at proc_trampoline+0xc7
end of kernel
end trace frame: 0x73e875a6c3d0, count: 14
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{1}> set $lines = 0
ddb{1}> set $maxwidth = 0
ddb{1}> show panic
*cpu1: uvm_fault(0xffffffff835e7fb8, 0xffff800029082004, 0, 1) -> d
ddb{1}> trace
proc_trampoline() at proc_trampoline+0xc7
end of kernel
end trace frame: 0x73e875a6c3d0, count: -1
ddb{1}> show registers
rdi 0
rsi 0
rbp 0xffff80003c180240
rbx 0
rdx 0
rcx 0xffff8000ffff67d0
rax 0x2a
r8 0xffff80003c180170
r9 0x1
r10 0xec52a269b6e4d9e6
r11 0xa466b458a1e3f2bc
r12 0
r13 0xffffffff815c5178 Xdoreti+0x18
r14 0
r15 0
rip 0xffffffff8258f4c7 proc_trampoline+0xc7
cs 0x8
rflags 0x246
rsp 0xffff80003c1801c0
ss 0x10
proc_trampoline+0xc7: movl $0,%gs:0x680
ddb{1}> show proc
PROC (syz-executor) tid=202823 pid=20343 tcnt=2 stat=onproc
flags process=0 proc=0
runpri=86, usrpri=86, slppri=32, nice=20
wchan=0x0, wmesg=, ps_single=0x0 scnt=0 ecnt=0
forw=0xffffffffffffffff, list=0xffff8000ffff6a58,0xffff8000ffff6558
process=0xffff80003c666240 user=0xffff80003c17b000, vmspace=0xfffffd806c0ecc90
estcpu=36, cpticks=5, pctcpu=0.0, user=3, sys=2, intr=0
ddb{1}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
59716 518773 26757 0 2 0 syz-executor
99567 308114 92666 0 2 0 syz-executor
*20343 202823 63319 0 7 0 syz-executor
20343 378358 63319 0 3 0x4000080 fsleep syz-executor
59667 184172 38033 0 2 0x1000000 syz-executor
59667 157798 38033 0 3 0x5000000 sbar syz-executor
8476 71775 9039 0 2 0 syz-executor
8476 355991 9039 0 3 0x4000080 ttyout syz-executor
8476 421602 9039 0 2 0x4000000 syz-executor
70811 45669 91679 0 2 0 syz-executor
70811 417518 91679 0 3 0x4000080 fsleep syz-executor
8249 499433 72679 0 2 0 syz-executor
8249 341644 72679 0 3 0x4000080 ttyout syz-executor
8249 472328 72679 0 3 0x4000080 ttyout syz-executor
8249 264992 72679 0 2 0x4000000 syz-executor
94913 60336 1 0 2 0x100083 getty
6291 364961 0 0 3 0x14200 acct acct
38033 277610 85523 0 2 0x482 syz-executor
70982 274824 57172 0 3 0x82 sbwait sshd-session
72679 129053 85523 0 2 0x482 syz-executor
32143 301211 0 0 3 0x14200 bored sosplice
92666 223050 85523 0 2 0x482 syz-executor
26757 25926 85523 0 2 0x482 syz-executor
91679 501234 85523 0 2 0x482 syz-executor
63319 171773 85523 0 2 0x482 syz-executor
9039 524131 85523 0 2 0x482 syz-executor
85523 82067 75980 0 3 0x82 wait syz-executor
75980 363551 31724 0 3 0x10008a sigsusp ksh
31724 212700 43164 0 3 0x98 kqread sshd-session
43164 79498 57172 0 3 0x92 kqread sshd-session
57172 59211 1 0 3 0x88 kqread sshd
90455 127444 93853 74 3 0x1100092 bpf pflogd
93853 294477 1 0 3 0x80 sbwait pflogd
48724 171886 24118 73 3 0x1100090 kqread syslogd
24118 331064 1 0 3 0x100082 sbwait syslogd
46107 60790 1 0 3 0x100080 kqread resolvd
80158 470285 91033 77 3 0x100092 kqread dhcpleased
63506 53044 91033 77 3 0x100092 kqread dhcpleased
91033 338184 1 0 3 0x80 kqread dhcpleased
48331 175927 0 0 2 0x14200 smr
40229 36302 0 0 2 0x14200 zerothread
32783 496914 0 0 3 0x14200 aiodoned aiodoned
40779 190599 0 0 3 0x14200 syncer update
6005 183762 0 0 3 0x14200 cleaner cleaner
42316 230557 0 0 3 0x14200 reaper reaper
9143 472689 0 0 3 0x14200 pgdaemon pagedaemon
60208 383149 0 0 3 0x14200 bored viomb
31412 132278 0 0 3 0x40014200 acpi0 acpi0
92621 319164 0 0 3 0x40014200 idle1
76413 150665 0 0 3 0x14200 bored softnet3
55648 278078 0 0 3 0x14200 bored softnet2
28925 139420 0 0 3 0x14200 bored softnet1
85532 16022 0 0 2 0x14200 softnet0
40426 61724 0 0 2 0x14200 systqmp
5422 24755 0 0 3 0x14200 bored systq
44501 149270 0 0 2 0x14200 softclockmp
18923 49533 0 0 7 0x40014200 softclock
12251 445871 0 0 3 0x40014200 idle0
1 490759 0 0 3 0x80082 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{1}> show all locks
Process 59667 (syz-executor) thread 0xffff8000ffff6f68 (157798)
Process 70811 (syz-executor) thread 0xffff8000ffff71f0 (45669)
ddb{1}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10262 11241K 15316K 166960K 15780 0
pcb 17 16K 18K 166960K 689 0
rtable 162 7K 9K 166960K 792 0
pf 42 19K 22K 166960K 128 0
ifaddr 37 6K 7K 166960K 101 0
ifgroup 67 2K 3K 166960K 152 0
sysctl 4 1K 1K 166960K 4 0
counters 68 36K 37K 166960K 128 0
ioctlops 0 0K 4K 166960K 1896 0
iov 0 0K 20K 166960K 277 0
mount 1 1K 1K 166960K 1 0
log 0 0K 0K 166960K 4 0
vnodes 1425 90K 91K 166960K 3762 0
UFS quota 1 32K 32K 166960K 1 0
UFS mount 5 36K 36K 166960K 5 0
shm 2 1K 5K 166960K 50 0
VM map 2 1K 1K 166960K 2 0
sem 12 0K 1K 166960K 95 0
dirhash 12 2K 2K 166960K 108 0
ACPI 1690 195K 286K 166960K 12468 0
file desc 17 61K 93K 166960K 2528 0
sigio 0 0K 0K 166960K 136 0
proc 75 103K 128K 166960K 806 0
subproc 72 4K 4K 166960K 99 0
NFS srvsock 1 0K 0K 166960K 1 0
NFS daemon 1 16K 16K 166960K 1 0
ip_moptions 0 0K 0K 166960K 455 0
in_multi 67 5K 7K 166960K 198 0
ether_multi 1 0K 0K 166960K 14 0
mrt 2 0K 0K 166960K 11 0
ISOFS mount 1 32K 32K 166960K 1 0
MSDOSFS mount 1 16K 16K 166960K 1 0
ttys 325 1447K 1447K 166960K 325 0
exec 0 0K 1K 166960K 756 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 244 74K 88K 166960K 25850 0
UVM aobj 86 7K 7K 166960K 92 0
pinsyscall 44 88K 102K 166960K 3766 0
memdesc 1 4K 4K 166960K 1 0
crypto data 1 1K 1K 166960K 1 0
ip6_options 0 0K 0K 166960K 148 0
NDP 14 0K 2K 166960K 70 0
temp 80 6900K 6973K 166960K 104463 0
kqueue 13 20K 30K 166960K 384 0
SYN cache 2 16K 16K 166960K 2 0
ddb{1}> show all pools
Name Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
plcache 128 24 0 0 1 0 1 1 0 8 0
rtpcb 120 469 0 466 5 4 1 3 0 8 0
rtentry 112 232 0 165 4 0 4 4 0 8 0
unpcb 144 2075 0 2058 12 11 1 6 0 8 0
syncache 336 18 0 18 4 4 0 1 0 8 0
tcpqe 32 2 0 2 2 2 0 1 0 8 0
tcpcb 808 912 0 904 17 14 3 8 0 8 2
arp 120 52 0 38 1 0 1 1 0 8 0
inpcb 376 3738 0 3726 39 32 7 21 0 8 4
nd6 136 41 0 24 1 0 1 1 0 8 0
pkpcb 40 8 0 8 3 3 0 1 0 8 0
kcovpl 48 11 0 3 1 0 1 1 0 8 0
ppxss 1168 21 0 21 5 4 1 1 0 8 1
pfstscr 40 2 0 2 1 1 0 1 0 8 0
pffrag 232 11 0 10 1 0 1 1 0 482 0
pffrnode 88 11 0 10 1 0 1 1 0 8 0
pffrent 40 24 0 23 1 0 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
pfrktable 1344 1 0 1 1 1 0 1 0 8 0
pftag 88 1 0 0 1 0 1 1 0 8 0
pfstitem 24 215 0 59 1 0 1 1 0 8 0
pfstkey 128 345 0 190 6 0 6 6 0 8 0
pfstate 376 279 0 124 16 0 16 16 0 8 0
pfrule 1344 24 0 18 2 1 1 2 0 8 0
art_heap8 4096 3 0 0 3 0 3 3 0 8 0
art_heap4 256 872 0 542 32 8 24 29 0 8 0
art_table 32 875 0 542 4 0 4 4 0 8 0
art_node 16 218 0 164 1 0 1 1 0 8 0
sysvmsgpl 40 37 0 20 1 0 1 1 0 8 0
semapl 112 93 0 83 1 0 1 1 0 8 0
shmpl 112 89 0 6 3 0 3 3 0 8 0
dirhash 1024 85 0 68 3 0 3 3 0 8 0
dino2pl 256 6138 0 4631 96 0 96 96 0 8 0
ffsino 280 6138 0 4631 109 0 109 109 0 8 0
nchpl 144 9714 0 9174 64 33 31 64 0 8 7
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 36028 0 36026 5 4 1 3 0 8 0
percpumem 16 78 0 30 1 0 1 1 0 8 0
kstatmem 264 88 0 60 3 0 3 3 0 8 0
scsiplug 72 12 0 12 4 3 1 1 0 8 1
scxspl 216 33311 0 33311 15 13 2 8 1 8 2
plimitpl 152 604 0 587 1 0 1 1 0 8 0
sigapl 424 2861 0 2809 9 2 7 9 0 8 0
futexpl 64 37139 0 37137 1 0 1 1 0 8 0
knotepl 120 547 0 0 17 0 17 17 0 8 0
kqueuepl 216 980 0 971 13 8 5 5 0 8 4
pipepl 328 537 0 509 11 8 3 8 0 8 0
fdescpl 504 2819 0 2787 5 0 5 5 0 8 0
filepl 152 21595 0 21373 29 13 16 18 0 8 5
lockfpl 104 1025 0 1023 2 0 2 2 0 8 1
lockfspl 48 385 0 383 1 0 1 1 0 8 0
sessionpl 144 42 0 32 1 0 1 1 0 8 0
pgrppl 48 163 0 145 1 0 1 1 0 8 0
ucredpl 104 3675 0 3662 1 0 1 1 0 8 0
zombiepl 144 3586 0 3585 2 1 1 1 0 8 0
processpl 1168 2861 0 2809 6 2 4 6 0 8 0
procpl 648 6924 0 6864 9 2 7 8 0 8 0
srpgc 96 14 0 14 3 3 0 1 0 8 0
sosppl 168 26 0 26 4 3 1 1 0 8 1
sockpl 688 6357 0 6325 48 40 8 22 0 8 4
mcl64k 65536 11 0 0 2 0 2 2 0 8 0
mcl16k 16384 9 0 0 2 0 2 2 0 8 0
mcl12k 12288 2 0 0 1 0 1 1 0 8 0
mcl8k 8192 9 0 0 2 0 2 2 0 8 0
mcl4k 4096 122 0 0 16 0 16 16 0 8 0
mcl2k2 2112 1 0 0 1 0 1 1 0 8 0
mcl2k 2048 36 0 0 4 0 4 4 0 8 0
mtagpl 96 182 0 0 5 0 5 5 0 8 0
mbufpl 256 1391 0 0 84 0 84 84 0 8 0
bufpl 280 9811 0 3645 441 0 441 441 0 8 0
anonpl 24 373081 0 365780 109 39 70 84 0 185 3
amapchunkpl 152 84400 0 83757 49 10 39 39 0 158 7
amappl16 200 8058 0 7934 57 38 19 30 0 8 4
amappl15 192 5 0 5 1 1 0 1 0 8 0
amappl14 184 150 0 137 1 0 1 1 0 8 0
amappl13 176 5 0 5 1 1 0 1 0 8 0
amappl12 168 3523 0 3491 2 0 2 2 0 8 0
amappl11 160 67 0 53 1 0 1 1 0 8 0
amappl10 152 12 0 12 3 3 0 1 0 8 0
amappl9 144 246 0 245 1 0 1 1 0 8 0
amappl8 136 26 0 23 1 0 1 1 0 8 0
amappl7 128 125 0 111 1 0 1 1 0 8 0
amappl6 120 223 0 218 1 0 1 1 0 8 0
amappl5 112 139 0 128 1 0 1 1 0 8 0
amappl4 104 397 0 376 1 0 1 1 0 8 0
amappl3 96 17586 0 17473 4 0 4 4 0 8 0
amappl2 88 838 0 767 2 0 2 2 0 8 0
amappl1 80 18801 0 18142 15 1 14 14 0 8 0
amappl 88 25190 0 25007 5 0 5 5 0 92 0
dma32768 32768 2 0 2 2 2 0 1 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 6 0 6 1 1 0 1 0 8 0
dma128 128 254 0 254 2 2 0 1 0 8 0
dma64 64 6 0 6 1 1 0 1 0 8 0
dma32 32 8 0 8 2 2 0 1 0 8 0
dma16 16 19 0 18 1 0 1 1 0 8 0
aobjpl 72 91 0 6 2 0 2 2 0 8 0
uaddrrnd 24 2819 0 2787 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 2819 0 2787 1 0 1 1 0 8 0
vmmpekpl 168 23877 0 23820 4 1 3 4 0 8 0
vmmpepl 168 178958 0 176836 123 18 105 108 0 357 4
vmsppl 456 2818 0 2787 5 0 5 5 0 8 0
rwobjpl 64 53480 0 46323 121 2 119 120 0 8 1
pdppl 4096 5645 0 5574 122 49 73 85 0 8 2
pvpl 32 22686 0 0 183 0 183 183 0 265 0
pmappl 248 2818 0 2787 3 0 3 3 0 8 0
extentpl 40 55 0 38 1 0 1 1 0 8 0
phpool 112 413 0 89 10 0 10 10 0 8 0
ddb{1}> machine ddbcpu 0
Stopped at x86_ipi_db+0x27: addq $0x8,%rsp
x86_ipi_db(ffffffff834fdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff835e3748) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff835e3748) at __mp_lock+0x192 sys/kern/kern_lock.c:144
__mp_acquire_count(ffffffff835e3748,1) at __mp_acquire_count+0x58
mi_switch() at mi_switch+0x4b7 sys/kern/sched_bsd.c:441
sleep_finish(0,1) at sleep_finish+0x24f sys/kern/kern_synch.c:414
msleep(ffffffff83644d00,ffffffff83510110,0,ffffffff83156d77,0) at msleep+0x13b sys/kern/kern_synch.c:249
softclock_thread(ffff8000fffff6c8) at softclock_thread+0x11f sys/kern/kern_timeout.c:806
end trace frame: 0x0, count: 6
ddb{0}> trace
x86_ipi_db(ffffffff834fdff0) at x86_ipi_db+0x27 sys/arch/amd64/amd64/db_interface.c:393
x86_ipi_handler() at x86_ipi_handler+0xd9 sys/arch/amd64/amd64/ipi.c:106
Xresume_lapic_ipi() at Xresume_lapic_ipi+0x27
__mp_lock(ffffffff835e3748) at __mp_lock+0x192 __mp_lock_spin sys/kern/kern_lock.c:113 [inline]
__mp_lock(ffffffff835e3748) at __mp_lock+0x192 sys/kern/kern_lock.c:144
__mp_acquire_count(ffffffff835e3748,1) at __mp_acquire_count+0x58
mi_switch() at mi_switch+0x4b7 sys/kern/sched_bsd.c:441
sleep_finish(0,1) at sleep_finish+0x24f sys/kern/kern_synch.c:414
msleep(ffffffff83644d00,ffffffff83510110,0,ffffffff83156d77,0) at msleep+0x13b sys/kern/kern_synch.c:249
softclock_thread(ffff8000fffff6c8) at softclock_thread+0x11f sys/kern/kern_timeout.c:806
end trace frame: 0x0, count: -9
ddb{0}> machine ddbcpu 1
Stopped at proc_trampoline+0xc7: movl $0,%gs:0x680
proc_trampoline() at proc_trampoline+0xc7
end of kernel
end trace frame: 0x73e875a6c3d0, count: 14
ddb{1}> trace
proc_trampoline() at proc_trampoline+0xc7
end of kernel
end trace frame: 0x73e875a6c3d0, count: -1
---
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