diff options
author | Ross Burton <ross.burton@arm.com> | 2024-03-27 11:16:15 +0000 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2024-03-28 07:08:30 -1000 |
commit | 68f1b7f429c8d8f1821be6c38e54867090626ea1 (patch) | |
tree | 45edd9c5f8e0db09ff2f5c427bbd9d7923731ede /scripts/runqemu-addptable2image | |
parent | 8a20101d142f0edb32ee1c0f0292a79d2bc90af2 (diff) | |
download | poky-68f1b7f429c8d8f1821be6c38e54867090626ea1.tar.gz |
openssl: fix crash on aarch64 if BTI is enabled but no Crypto instructions
On aarch64, if the processor doesn't have the Crypto instructions then
OpenSSL will fall back onto the "bit-sliced" assembler routines. When
branch protection (BTI) was enabled in OpenSSL these routines were
missed, so if BTI is available libssl will immediately abort when it
enters this assembler.
Backport a patch submitted upstream to add the required call target
annotations so that BTI doesn't believe the code is being exploited.
(From OE-Core rev: ec555688dbdc87cc695db653201c8d9e20079d22)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/runqemu-addptable2image')
0 files changed, 0 insertions, 0 deletions