Skip to contentSkip to conversation

u-boot: Fix CVE-2020-8432

PATCH In review Sakib Sajal 2 participants 2 messages Mar 27, 2020 – Mar 29, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 u-boot: Fix CVE-2020-8432

Fix a double free in cmd/gpt.c, function do_rename_gpt_parts().

CVE: CVE-2020-8432

---
 meta/recipes-bsp/u-boot/u-boot-common.inc     |   1 +
 ...error-cases-during-gpt-rename-more-c.patch | 116 ++++++++++++++++++
 2 files changed, 117 insertions(+)
 create mode 100644 meta/recipes-bsp/u-boot/u-boot/0001-cmd-gpt-Address-error-cases-during-gpt-rename-more-c.patch
meta/recipes-bsp/u-boot/u-boot-common.inc +1 -0
index edd0004792..a6bbd37d2a 100644
@@ -15,6 +15,7 @@ PE = "1"
 SRCREV = "303f8fed261020c1cb7da32dad63b610bf6873dd"
 
 SRC_URI = "git://git.denx.de/u-boot.git \
+           file://0001-cmd-gpt-Address-error-cases-during-gpt-rename-more-c.patch \
           "
 
 S = "${WORKDIR}/git"
meta/recipes-bsp/u-boot/u-boot/0001-cmd-gpt-Address-error-cases-during-gpt-rename-more-c.patch new file +116 -0

116 lines not on this page · raw message

Signature · 1 line
2.24.1
#1 lore raw
Quoted 10 lines · Sakib Sajal

Fix a double free in cmd/gpt.c, function do_rename_gpt_parts().

CVE: CVE-2020-8432

---
 meta/recipes-bsp/u-boot/u-boot-common.inc     |   1 +
 ...error-cases-during-gpt-rename-more-c.patch | 116 ++++++++++++++++++
 2 files changed, 117 insertions(+)
 create mode 100644 meta/recipes-bsp/u-boot/u-boot/0001-cmd-gpt-Address-error-cases-during-gpt-rename-more-c.patch

Breaks the build:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/843

Cheers,

Richard