protection_fault: __x86_indirect_thunk_r11

1 view
Skip to first unread message

syzbot

unread,
Oct 30, 2023, 6:43:21 AM10/30/23
to syzkaller-o...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: a19ee134455f drm/amd/pm: add unique_id for gc 11.0.3
git tree: openbsd
console output: https://syzkaller.appspot.com/x/log.txt?x=10c965fd680000
kernel config: https://syzkaller.appspot.com/x/.config?x=7058272de1526588
dashboard link: https://syzkaller.appspot.com/bug?extid=db5432f4e917e1e852be

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/7d58d9e70795/disk-a19ee134.raw.xz
bsd.gdb: https://storage.googleapis.com/syzbot-assets/25a0d66e9d6f/bsd-a19ee134.gdb.xz
kernel image: https://storage.googleapis.com/syzbot-assets/7daec5a21503/kernel-a19ee134.xz

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

kernel: protection fault trap, code=0
Stopped at __x86_indirect_thunk_r11+0x14: ret
ddb{0}>
ddb{0}> set $lines = 0
ddb{0}> set $maxwidth = 0
ddb{0}> show panic
the kernel did not panic
ddb{0}> trace
__x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14
softclock_process_kclock_timeout(fffffd80710d0f00,0) at softclock_process_kclock_timeout+0x1d7 sys/kern/kern_timeout.c:695
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:754
softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82c3fff0) at sched_idle+0x41e sys/kern/kern_sched.c:191
end trace frame: 0x0, count: -7
ddb{0}> show registers
rdi 0x73000000001e542a
rsi 0
rbp 0xffff80002115f770
rbx 0
rdx 0
rcx 0xffff800021159540
rax 0x9
r8 0xd2
r9 0xd2
r10 0x18848adc15ef44f7
r11 0x6b00000000060000
r12 0x73000000001e542a
r13 0xffffffff82bab5b8 timeout_spinlock_obj
r14 0x75636578652d7a79
r15 0x6b00000000060000
rip 0xffffffff81f81314 __x86_indirect_thunk_r11+0x14
cs 0x8
rflags 0x10246 __ALIGN_SIZE+0xf246
rsp 0xffff80002115f720
ss 0x10
__x86_indirect_thunk_r11+0x14: ret
ddb{0}> show proc
PROC (idle0) tid=331988 pid=77089 tcnt=1 stat=onproc
flags process=14000<NOZOMBIE,SYSTEM> proc=40000200<SYSTEM,CPUPEG>
runpri=0, usrpri=50, slppri=0, nice=20
wchan=0x0, wmesg=, ps_single=0x0
forw=0xff997d4164510c28, list=0xffff800021159a90,0xffff800021158d58
process=0xffff8000fffff240 user=0xffff80002115a000, vmspace=0xffffffff82c9dff0
estcpu=0, cpticks=20885, pctcpu=0.0, user=0, sys=0, intr=1
ddb{0}> ps
PID TID PPID UID S FLAGS WAIT COMMAND
2994 224691 88429 0 3 0x80 nanoslp syz-executor.0
2994 285001 88429 0 3 0x4000080 fsleep syz-executor.0
2994 177992 88429 0 3 0x4000080 netio syz-executor.0
82588 440625 33382 0 3 0x80 nanoslp syz-executor.6
82588 4613 33382 0 3 0x4000080 pipewr syz-executor.6
82588 380174 33382 0 3 0x4000080 fsleep syz-executor.6
93939 447834 44127 0 3 0x82 piperd syz-executor.1
23785 381598 44127 0 3 0x82 piperd syz-executor.3
98947 402236 1 0 3 0x100083 ttyin getty
76055 448450 0 0 3 0x14200 acct acct
9416 90848 44127 0 3 0x82 piperd syz-executor.5
68325 48216 44127 0 3 0x82 piperd syz-executor.4
33382 336142 44127 0 2 0x482 syz-executor.6
1092 404651 0 0 3 0x14280 nfsidl nfsio
32232 467719 0 0 3 0x14280 nfsidl nfsio
22544 308484 0 0 3 0x14280 nfsidl nfsio
22352 387584 0 0 3 0x14280 nfsidl nfsio
28268 148844 0 0 3 0x14280 nfsidl nfsio
54680 469057 0 0 3 0x14280 nfsidl nfsio
8026 305708 0 0 3 0x14280 nfsidl nfsio
85980 197761 0 0 3 0x14280 nfsidl nfsio
89593 259400 0 0 3 0x14280 nfsidl nfsio
52932 64728 0 0 3 0x14280 nfsidl nfsio
46648 443835 0 0 3 0x14280 nfsidl nfsio
26653 104694 0 0 3 0x14280 nfsidl nfsio
80494 383722 0 0 3 0x14280 nfsidl nfsio
97197 286040 0 0 3 0x14280 nfsidl nfsio
30492 514265 0 0 3 0x14280 nfsidl nfsio
76678 427468 0 0 3 0x14280 nfsidl nfsio
26575 249060 0 0 3 0x14280 nfsidl nfsio
86504 197767 0 0 3 0x14280 nfsidl nfsio
74451 168679 0 0 3 0x14280 nfsidl nfsio
55557 480446 0 0 3 0x14280 nfsidl nfsio
75508 90039 0 0 3 0x14200 bored sosplice
50536 175714 44127 0 3 0x82 piperd syz-executor.7
76001 95621 44127 0 3 0x82 piperd syz-executor.2
88429 452540 44127 0 7 0x2 syz-executor.0
44127 351073 19524 0 3 0x2000082 wait syz-fuzzer
44127 170953 19524 0 3 0x6000082 thrsleep syz-fuzzer
44127 69850 19524 0 3 0x6000082 wait syz-fuzzer
44127 151398 19524 0 3 0x6000082 thrsleep syz-fuzzer
44127 5271 19524 0 3 0x6000082 wait syz-fuzzer
44127 173229 19524 0 3 0x6000082 thrsleep syz-fuzzer
44127 78885 19524 0 3 0x6000082 wait syz-fuzzer
44127 151064 19524 0 3 0x6000082 wait syz-fuzzer
44127 399170 19524 0 3 0x6000082 thrsleep syz-fuzzer
44127 319836 19524 0 3 0x6000082 thrsleep syz-fuzzer
44127 54191 19524 0 3 0x6000082 thrsleep syz-fuzzer
44127 135594 19524 0 3 0x6000082 thrsleep syz-fuzzer
44127 269209 19524 0 3 0x6000082 wait syz-fuzzer
44127 28907 19524 0 3 0x6000082 kqread syz-fuzzer
44127 404613 19524 0 3 0x6000082 wait syz-fuzzer
44127 49350 19524 0 3 0x6000082 wait syz-fuzzer
44127 27446 19524 0 3 0x6000082 thrsleep syz-fuzzer
19524 236071 51214 0 3 0x10008a sigsusp ksh
51214 230843 71438 0 3 0x9a kqread sshd
71438 342126 1 0 3 0x88 kqread sshd
18706 318391 89465 74 3 0x1100092 bpf pflogd
89465 279207 1 0 3 0x80 netio pflogd
42414 235162 46002 73 3 0x1100090 kqread syslogd
46002 222242 1 0 3 0x100082 netio syslogd
66346 350029 1 0 3 0x100080 kqread resolvd
25248 197525 59137 77 3 0x100092 kqread dhcpleased
92556 421602 59137 77 3 0x100092 kqread dhcpleased
59137 12679 1 0 3 0x80 kqread dhcpleased
57954 16704 0 0 3 0x14200 bored smr
88049 374937 0 0 3 0x14200 pgzero zerothread
24852 396238 0 0 3 0x14200 aiodoned aiodoned
49130 118488 0 0 3 0x14200 syncer update
69357 402492 0 0 3 0x14200 cleaner cleaner
6725 351491 0 0 3 0x14200 reaper reaper
98061 470514 0 0 3 0x14200 pgdaemon pagedaemon
46007 317505 0 0 3 0x14200 bored viomb
35026 332982 0 0 3 0x40014200 acpi0 acpi0
9287 86945 0 0 3 0x40014200 idle1
51992 461704 0 0 3 0x14200 bored softnet3
14669 83819 0 0 3 0x14200 bored softnet2
28923 153585 0 0 3 0x14200 bored softnet1
65573 47019 0 0 3 0x14200 bored softnet0
63624 244935 0 0 3 0x14200 bored systqmp
97229 284690 0 0 3 0x14200 bored systq
3592 36767 0 0 3 0x14200 tmoslp softclockmp
77537 418097 0 0 3 0x40014200 tmoslp softclock
*77089 331988 0 0 7 0x40014200 idle0
1 478497 0 0 3 0x82 wait init
0 0 -1 0 3 0x10200 scheduler swapper
ddb{0}> show all locks
CPU 0:
shared mutex timeout r = 0 (0xffffffff82bab5b8)
#0 witness_lock+0x447
#1 timeout_run+0xbb sys/kern/kern_timeout.c:661
#2 softclock_process_kclock_timeout+0x1d7 sys/kern/kern_timeout.c:695
#3 softclock+0x11a sys/kern/kern_timeout.c:754
#4 softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
#5 Xsoftclock+0x27
#6 acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
#7 sched_idle+0x41e sys/kern/kern_sched.c:191
#8 proc_trampoline+0x10
Process 77089 (idle0) thread 0xffff800021159540 (331988)
exclusive kernel_lock &kernel_lock r = 0 (0xffffffff82d0f4f8)
#0 witness_lock+0x447
#1 softintr_dispatch+0x52 sys/arch/amd64/amd64/softintr.c:88
#2 Xsoftclock+0x27
#3 acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
#4 sched_idle+0x41e sys/kern/kern_sched.c:191
#5 proc_trampoline+0x10
shared mutex timeout r = 0 (0xffffffff82bab5b8)
#0 witness_lock+0x447
#1 timeout_run+0xbb sys/kern/kern_timeout.c:661
#2 softclock_process_kclock_timeout+0x1d7 sys/kern/kern_timeout.c:695
#3 softclock+0x11a sys/kern/kern_timeout.c:754
#4 softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
#5 Xsoftclock+0x27
#6 acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
#7 sched_idle+0x41e sys/kern/kern_sched.c:191
#8 proc_trampoline+0x10
ddb{0}> show malloc
Type InUse MemUse HighUse Limit Requests Type Lim
devbuf 10201 6484K 7511K 78643K 13144 0
pcb 13 11K 13K 78643K 305 0
rtable 241 7K 7K 78643K 727 0
pf 35 10K 10K 78643K 136 0
ifaddr 46 16K 16K 78643K 124 0
ifgroup 60 2K 2K 78643K 196 0
sysctl 3 0K 0K 78643K 3 0
counters 62 36K 36K 78643K 152 0
ioctlops 0 0K 4K 78643K 1807 0
iov 0 0K 16K 78643K 1017 0
mount 1 1K 1K 78643K 1 0
log 0 0K 0K 78643K 4 0
vnodes 1351 84K 85K 78643K 3052 0
UFS quota 1 32K 32K 78643K 1 0
UFS mount 5 36K 36K 78643K 5 0
shm 2 1K 25K 78643K 103 0
VM map 2 1K 1K 78643K 2 0
sem 12 0K 0K 78643K 1477 0
dirhash 12 2K 3K 78643K 54 0
ACPI 1697 195K 286K 78643K 12548 0
file desc 12 41K 89K 78643K 10124 0
sigio 0 0K 0K 78643K 51 0
proc 70 91K 115K 78643K 1026 0
subproc 104 6K 6K 78643K 221 0
NFS srvsock 1 0K 0K 78643K 1 0
NFS daemon 1 16K 16K 78643K 1 0
ip_moptions 0 0K 0K 78643K 522 0
in_multi 99 7K 7K 78643K 305 0
ether_multi 1 0K 0K 78643K 12 0
mrt 0 0K 0K 78643K 15 0
ISOFS mount 1 32K 32K 78643K 1 0
MSDOSFS mount 1 16K 16K 78643K 1 0
ttys 79 360K 360K 78643K 79 0
exec 0 0K 1K 78643K 1000 0
pfkey data 0 0K 0K 78643K 2 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 384 94K 95K 78643K 96640 0
UVM aobj 131 4K 4K 78643K 131 0
memdesc 1 4K 4K 78643K 1 0
crypto data 1 1K 1K 78643K 1 0
ip6_options 0 0K 0K 78643K 147 0
NDP 13 0K 2K 78643K 92 0
temp 74 5924K 6052K 78643K 83493 0
kqueue 12 18K 24K 78643K 380 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 283 0 280 3 2 1 3 0 8 0
rtentry 112 222 0 110 4 0 4 4 0 8 0
unpcb 144 7040 0 7025 69 66 3 6 0 8 2
syncache 304 184 0 184 8 7 1 1 0 8 1
tcpqe 32 186 46 186 4 4 0 1 0 8 0
tcpcb 808 3138 0 3119 37 28 9 11 0 8 6
arp 120 38 0 19 1 0 1 1 0 8 0
inpcb 368 5568 0 5539 48 39 9 14 0 8 6
nd6 136 60 0 35 2 0 2 2 0 8 0
pkpcb 40 44 0 44 3 3 0 1 0 8 0
kcovpl 48 17 0 9 1 0 1 1 0 8 0
ppxss 1256 22 0 22 5 5 0 1 0 8 0
pffrag 232 71 0 67 5 4 1 1 0 482 0
pffrnode 88 71 0 67 5 4 1 1 0 8 0
pffrent 40 155 0 151 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
pfstitem 24 167 0 149 1 0 1 1 0 8 0
pfstkey 128 167 0 149 2 1 1 2 0 8 0
pfstate 376 167 0 149 7 5 2 4 0 8 0
pfrule 1344 21 0 16 2 1 1 2 0 8 0
rttmr 136 1 0 1 1 1 0 1 0 8 0
art_heap8 4096 1 0 0 1 0 1 1 0 8 0
art_heap4 256 912 0 442 31 1 30 30 0 8 0
art_table 32 913 0 442 4 0 4 4 0 8 0
art_node 16 221 0 119 1 0 1 1 0 8 0
sysvmsgpl 40 4 0 4 1 1 0 1 0 8 0
semapl 112 1475 0 1465 1 0 1 1 0 8 0
shmpl 112 128 0 0 4 0 4 4 0 8 0
dirhash 1024 45 0 28 3 0 3 3 0 8 0
dino2pl 256 14144 0 12666 93 0 93 93 0 8 0
ffsino 272 14144 0 12666 99 0 99 99 0 8 0
nchpl 144 26682 0 25036 64 0 64 64 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 84510 0 84510 7 6 1 2 0 8 1
percpumem 16 89 0 45 1 0 1 1 0 8 0
vcpupl 2048 40 0 0 5 0 5 5 0 8 0
vmpool 696 50 0 10 4 0 4 4 0 8 0
kstatmem 264 116 0 90 2 0 2 2 0 8 0
scxspl 216 86352 0 86352 15 14 1 8 1 8 1
plimitpl 152 557 0 541 1 0 1 1 0 8 0
sigapl 424 10598 0 10533 9 1 8 8 0 8 0
futexpl 64 73188 0 73186 9 8 1 1 0 8 0
knotepl 120 325 0 0 10 5 5 10 0 8 0
kqueuepl 216 579 0 571 3 2 1 3 0 8 0
pipepl 320 1270 0 1241 40 37 3 8 0 8 0
fdescpl 496 10417 0 10392 5 1 4 5 0 8 0
filepl 152 52591 0 52347 96 83 13 19 0 8 3
lockfpl 104 2011 0 2009 2 1 1 2 0 8 0
lockfspl 48 564 0 562 1 0 1 1 0 8 0
sessionpl 144 35 0 18 1 0 1 1 0 8 0
pgrppl 48 73 0 56 1 0 1 1 0 8 0
ucredpl 104 5099 0 5087 1 0 1 1 0 8 0
zombiepl 144 10533 0 10533 2 1 1 1 0 8 1
processpl 1072 10598 0 10533 5 0 5 5 0 8 0
procpl 680 26183 0 26098 14 5 9 10 0 8 0
sosppl 168 84 0 84 11 11 0 1 0 8 0
sockpl 488 13005 0 12964 280 266 14 29 0 8 8
mcl64k 65536 17 0 0 3 1 2 3 0 8 0
mcl16k 16384 22 0 0 3 1 2 3 0 8 0
mcl12k 12288 26 0 0 2 0 2 2 0 8 0
mcl9k 9216 13 0 0 1 0 1 1 0 8 0
mcl8k 8192 35 0 0 3 0 3 3 0 8 0
mcl4k 4096 32 0 0 3 0 3 3 0 8 0
mcl2k2 2112 11 0 0 1 0 1 1 0 8 0
mcl2k 2048 608 0 0 29 10 19 29 0 8 0
mtagpl 96 93 0 0 3 0 3 3 0 8 0
mbufpl 256 1901 0 0 114 0 114 114 0 8 0
bufpl 288 18414 0 12092 452 0 452 452 0 8 0
anonpl 24 1017188 0 1007989 190 122 68 90 0 186 0
amapchunkpl 152 303905 0 303230 94 61 33 43 0 158 1
amappl16 200 20366 0 20119 118 104 14 33 0 8 0
amappl15 192 19 0 19 1 1 0 1 0 8 0
amappl14 184 200 0 183 2 1 1 2 0 8 0
amappl13 176 7 0 7 1 1 0 1 0 8 0
amappl12 168 11285 0 11250 4 2 2 3 0 8 0
amappl11 160 93 0 79 1 0 1 1 0 8 0
amappl10 152 40 0 27 1 0 1 1 0 8 0
amappl9 144 202 0 202 12 12 0 1 0 8 0
amappl8 136 576 0 448 5 0 5 5 0 8 0
amappl7 128 246 0 215 2 0 2 2 0 8 0
amappl6 120 447 0 437 1 0 1 1 0 8 0
amappl5 112 313 0 302 1 0 1 1 0 8 0
amappl4 104 652 0 618 4 3 1 2 0 8 0
amappl3 96 60355 0 60281 5 2 3 3 0 8 0
amappl2 88 11139 0 11062 3 1 2 3 0 8 0
amappl1 80 44576 0 44030 23 11 12 23 0 8 0
amappl 88 95801 0 95603 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 130 0 0 3 0 3 3 0 8 0
uaddrrnd 24 10467 0 10402 1 0 1 1 0 8 0
uaddrbest 32 2 0 0 1 0 1 1 0 8 0
uaddr 24 10467 0 10402 1 0 1 1 0 8 0
vmmpekpl 168 69764 0 69690 5 1 4 4 0 8 0
vmmpepl 168 601942 0 599855 244 135 109 116 0 357 3
vmsppl 464 10466 0 10402 10 1 9 9 0 8 0
rwobjpl 56 147641 0 140197 119 12 107 109 0 8 0
pdppl 4096 20941 0 20844 654 545 109 109 0 8 12
pvpl 32 3185218 0 3170529 525 382 143 338 0 265 0
pmappl 248 10466 0 10402 6 1 5 5 0 8 0
extentpl 40 56 0 38 1 0 1 1 0 8 0
phpool 112 1607 0 643 28 0 28 28 0 8 0
ddb{0}> machine ddbcpu 0
Invalid cpu 0
ddb{0}> trace
__x86_indirect_thunk_r11() at __x86_indirect_thunk_r11+0x14
softclock_process_kclock_timeout(fffffd80710d0f00,0) at softclock_process_kclock_timeout+0x1d7 sys/kern/kern_timeout.c:695
softclock(0) at softclock+0x11a sys/kern/kern_timeout.c:754
softintr_dispatch(0) at softintr_dispatch+0xfb sys/arch/amd64/amd64/softintr.c:90
Xsoftclock() at Xsoftclock+0x27
acpicpu_idle() at acpicpu_idle+0x312 sys/dev/acpi/acpicpu.c:1206
sched_idle(ffffffff82c3fff0) at sched_idle+0x41e sys/kern/kern_sched.c:191
end trace frame: 0x0, count: -7
ddb{0}> machine ddbcpu 1
Stopped at x86_ipi_db+0x1e: addq $0x8,%rsp
ddb{1}> trace
x86_ipi_db(ffff800020d48ff0) at x86_ipi_db+0x1e 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+0x27
__mp_lock(ffffffff82d0f2f0) at __mp_lock+0x122 __mp_lock_spin sys/kern/kern_lock.c:116 [inline]
__mp_lock(ffffffff82d0f2f0) at __mp_lock+0x122 sys/kern/kern_lock.c:147
syscall(ffff800021279ae0) at syscall+0x5cd mi_syscall sys/sys/syscall_mi.h:110 [inline]
syscall(ffff800021279ae0) at syscall+0x5cd sys/arch/amd64/amd64/trap.c:623
Xsyscall() at Xsyscall+0x128
end of kernel
end trace frame: 0x6f8cefbb9940, 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.

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

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

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

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jan 28, 2024, 5:43:15 AMJan 28
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