summary refs log tree commit diff stats
path: root/results/classifier/zero-shot/105/graphic/1950
blob: fa5e08c05505d7e280cb9b00aa8794a56298c7c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
graphic: 0.946
instruction: 0.878
device: 0.872
network: 0.860
socket: 0.798
vnc: 0.776
semantic: 0.614
mistranslation: 0.608
boot: 0.542
other: 0.413
KVM: 0.325
assembly: 0.290

[AARCH64] GP bit (BTI) lost during two stages translation
Description of problem:
I noticed that the BTI faults were not reported.
That's because the GP (guarded page) information is lost during the two stages translation in get_phys_addr_twostage().
The "guarded" information is correctly retrieved by the first call to get_phys_addr_nogpc() but overwritten by the the second call to get_phys_addr_nogpc().
The call to combine_cacheattrs() copies cacheattrs1.guarded but this field is never modified.

The attached patch fixes the issue for me.
[get_phys_addr_twostage_bti_gp_bit_lost_master.patch](/uploads/2fbe8090f92c43a63e39ee66ab2daf47/get_phys_addr_twostage_bti_gp_bit_lost_master.patch)