gcc: Fix for CVE-2026-102010
PATCH 1/1 gcc: Fix for CVE-2026-102010
From: Hemanth Kumar M D <[email protected]>
PR 127656 use-after-free in libstdc++ pbds binary heap erase_if
After reallocating the storage the m_a_entries pointer is left dangling and the new storage is leaked. Update m_a_entries after reallocation
References:
https://nvd.nist.gov/vuln/detail/CVE-2026-102010
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127656
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=aaa8351f4d2e636f9680a1f0a8ebc2f0a60611e6
Signed-off-by Hemanth Kumar M D <[email protected]>
Signed-off-by Mathieu Dubois-Briand <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(From OE-Core rev: afc275bd17dea41c2ea6a5c73c697052c2df4e38)
Signed-off-by Peter Marko <[email protected]>
--- meta/recipes-devtools/gcc/gcc-16.2.inc | 1 + .../gcc/gcc/0026-CVE-2026-102010.patch | 71 +++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 meta/recipes-devtools/gcc/gcc/0026-CVE-2026-102010.patch
meta/recipes-devtools/gcc/gcc-16.2.inc +1 -0
@@ -74,6 +74,7 @@ SRC_URI = "${BASEURI} \ file://0025-gcc-testsuite-tweaks-for-mips-OE.patch \ file://0001-mapper-localhost-might-not-be-known.patch \ file://0001-Fix-check-for-working-assembler-gdwarf-4-option.patch \ + file://0026-CVE-2026-102010.patch \ " UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources"
meta/recipes-devtools/gcc/gcc/0026-CVE-2026-102010.patch new file +71 -0
71 lines not on this page · raw message