Two different toolchain fixes for Scarthgap. The binutils change was found in a AMD/Xilinx specific build script that attempts to disassemble some code as part of a firmware setup. This cortex-a53 baremetal firmware triggered a fault fixed by the issue.
The newer versions of binutils have already accepted this change, but I'm not exactly sure which version(s) have it other then then the current development tree. The GCC change only affects cortex-M. This is simply a port of the GCC accepted change into Yocto Project for baremetal usage. Unfortunately I don't have any sort of test cases to show it works or doesn't. It does not break any of my existing test cases related to Linux for cortex-r baremetal. Again this change has already been accepted to newer versions of GCC. Mark Hatle (2): binutils: Fix aarch64 disassembly abort gcc: Fix for CVE-2024-0151 .../binutils/binutils-2.42.inc | 1 + ...sserts-from-operand-qualifier-decode.patch | 382 ++++++++++++++++++ meta/recipes-devtools/gcc/gcc-13.2.inc | 1 + .../gcc/gcc/CVE-2024-0151.patch | 315 +++++++++++++++ 4 files changed, 699 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0016-aarch64-Remove-asserts-from-operand-qualifier-decode.patch create mode 100644 meta/recipes-devtools/gcc/gcc/CVE-2024-0151.patch -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#199860): https://lists.openembedded.org/g/openembedded-core/message/199860 Mute This Topic: https://lists.openembedded.org/mt/106288401/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-