summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pci.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-12-20 04:04:04 -0500
committerIan Moffett <ian@osmora.org>2024-12-20 04:09:48 -0500
commit817d1adc7a194082259bcd86f757f7ce48b9ad75 (patch)
tree47f16d6bdf9ca919f59eb010e485517b87e4a9a8 /sys/dev/pci/pci.c
parent6695df157d714567f938170c0bdcae5e4dcb1695 (diff)
kernel/amd64: proc: Protect SWAPGS with LFENCEmainexpt
Ensure all loads preceding SWAPGS are serialized using LFENCE. This mitigates the possibility of SWAPGS being speculatively bypassed which would lead to security issues. Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/dev/pci/pci.c')
0 files changed, 0 insertions, 0 deletions