Skip to contentSkip to conversation

package/uboot-tools: security bump to version 2021.04

PATCH New Fabrice Fontaine 3 participants 7 messages Apr 18, 2021 – Apr 26, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/uboot-tools: security bump to version 2021.04

- Fix CVE-2021-27097: The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.
- Fix CVE-2021-27138: The boot loader in Das U-Boot before 2021.04-rc2 mishandles use of unit addresses in a FIT.

- Update second patch
- Drop fourth patch (already in version)

---
 ...-tools-only-in-no-dot-config-targets.patch |  6 ++-
 ...0004-tools-env-fw_env.h-remove-env.h.patch | 52 -------------------
 package/uboot-tools/uboot-tools.hash          |  2 +-
 package/uboot-tools/uboot-tools.mk            |  2 +-
 4 files changed, 6 insertions(+), 56 deletions(-)
 delete mode 100644 package/uboot-tools/0004-tools-env-fw_env.h-remove-env.h.patch
package/uboot-tools/0002-tools-only-in-no-dot-config-targets.patch +4 -2
index a376afbc75..8557af499a 100644
@@ -20,6 +20,8 @@ http://ftp.de.debian.org/debian/pool/main/u/u-boot/u-boot_2014.10+dfsg1-2.1.debi
 Signed-off-by: J?rg Krause <[email protected]>
 [fabio: adapt it to 2016.09]
 Signed-off-by: Fabio Estevam <[email protected]>
+[Fabrice: adapt it to 2021.04]
+Signed-off-by: Fabrice Fontaine <[email protected]>
 ---
  Makefile | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
@@ -32,8 +34,8 @@ index 6aa08964ff..fcec83d183 100644
  
  no-dot-config-targets := clean clobber mrproper distclean \
  			 help %docs check% coccicheck \
--			 ubootversion backup tests check qcheck
-+			 ubootversion backup tests tools-only check qcheck
+-			 ubootversion backup tests check qcheck tcheck
++			 ubootversion backup tests tools-only check qcheck tcheck
  
  config-targets := 0
  mixed-targets  := 0
package/uboot-tools/0004-tools-env-fw_env.h-remove-env.h.patch deleted +0 -52

52 lines not on this page · raw message

package/uboot-tools/uboot-tools.hash +1 -1
index 8274246cf6..9a0b0cb6b0 100644
@@ -1,3 +1,3 @@
 # Locally computed:
-sha256  fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372  u-boot-2020.04.tar.bz2
+sha256  0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a  u-boot-2021.04.tar.bz2
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  Licenses/gpl-2.0.txt
package/uboot-tools/uboot-tools.mk +1 -1
index c4006fe3de..179e39f9c0 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UBOOT_TOOLS_VERSION = 2020.04
+UBOOT_TOOLS_VERSION = 2021.04
 UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2
 UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot
 UBOOT_TOOLS_LICENSE = GPL-2.0+
Signature · 1 line
2.30.2
#1 lore raw

PATCH 1/1 package/uboot-tools: security bump to version 2021.04

Quoted 8 lines · On Sun, 18 Apr 2021 21:43:32 +0200 Fabrice Fontaine…

- Fix CVE-2021-27097: The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.
- Fix CVE-2021-27138: The boot loader in Das U-Boot before 2021.04-rc2 mishandles use of unit addresses in a FIT.

- Update second patch
- Drop fourth patch (already in version)

Quoted 8 lines
---
 ...-tools-only-in-no-dot-config-targets.patch |  6 ++-
 ...0004-tools-env-fw_env.h-remove-env.h.patch | 52 -------------------
 package/uboot-tools/uboot-tools.hash          |  2 +-
 package/uboot-tools/uboot-tools.mk            |  2 +-
 4 files changed, 6 insertions(+), 56 deletions(-)
 delete mode 100644 package/uboot-tools/0004-tools-env-fw_env.h-remove-env.h.patch

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH 1/1 package/uboot-tools: security bump to version 2021.04

In reply to Fabrice Fontaine
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

- Fix CVE-2021-27097: The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.
- Fix CVE-2021-27138: The boot loader in Das U-Boot before 2021.04-rc2 mishandles use of unit addresses in a FIT.

Are these really bugs in uboot-tools, E.G. the (host-side) tools and not in u-boot itself?

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 package/uboot-tools: security bump to version 2021.04

Le lun. 26 avr. 2021 ? 14:37, Peter Korsgaard <[email protected]> a ?crit :

Quoted 10 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

- Fix CVE-2021-27097: The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.
- Fix CVE-2021-27138: The boot loader in Das U-Boot before 2021.04-rc2 mishandles use of unit addresses in a FIT.

Are these really bugs in uboot-tools, E.G. the (host-side) tools and not in u-boot itself?

Indeed, these CVEs are affecting uboot and not uboot-tools.

Quoted 3 lines

--
Bye, Peter Korsgaard

Best Regards,

Fabrice

#4 lore raw

PATCH 1/1 package/uboot-tools: security bump to version 2021.04

Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Le lun. 26 avr. 2021 ? 14:37, Peter Korsgaard <[email protected]> a ?crit :

Quoted 3 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Quoted 8 lines
Quoted 7 lines
Quoted 4 lines

- Fix CVE-2021-27097: The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.
- Fix CVE-2021-27138: The boot loader in Das U-Boot before 2021.04-rc2 mishandles use of unit addresses in a FIT.

Are these really bugs in uboot-tools, E.G. the (host-side) tools and not in u-boot itself?

Indeed, these CVEs are affecting uboot and not uboot-tools.

Ok, thanks.

I BTW noticed quite some build errors in uboot-tools since the bump:

http://autobuild.buildroot.net/?reason=host-uboot-tools-2021.04

Signature · 1 line
Bye, Peter Korsgaard
#5 lore raw

PATCH 1/1 package/uboot-tools: security bump to version 2021.04

Le lun. 26 avr. 2021 ? 19:56, Peter Korsgaard <[email protected]> a ?crit :

Quoted 14 lines
Quoted 14 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Le lun. 26 avr. 2021 ? 14:37, Peter Korsgaard <[email protected]> a ?crit :

Quoted 10 lines
Quoted 7 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

- Fix CVE-2021-27097: The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.
- Fix CVE-2021-27138: The boot loader in Das U-Boot before 2021.04-rc2 mishandles use of unit addresses in a FIT.

Are these really bugs in uboot-tools, E.G. the (host-side) tools and not in u-boot itself?

Quoted 7 lines
Quoted 1 line

Indeed, these CVEs are affecting uboot and not uboot-tools.

Ok, thanks.

I BTW noticed quite some build errors in uboot-tools since the bump:

http://autobuild.buildroot.net/?reason=host-uboot-tools-2021.04

Indeed, should be fixed by
https://git.buildroot.net/buildroot/commit/?id=a8eef7d2e62aba92fbab3906862c6422410c8677

Quoted 3 lines

--
Bye, Peter Korsgaard

Best Regards,

Fabrice

#6 lore raw

PATCH 1/1 package/uboot-tools: security bump to version 2021.04

Quoted 7 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

I BTW noticed quite some build errors in uboot-tools since the bump:

http://autobuild.buildroot.net/?reason=host-uboot-tools-2021.04

Indeed, should be fixed by
https://git.buildroot.net/buildroot/commit/?id=a8eef7d2e62aba92fbab3906862c6422410c8677

Ahh, indeed - Sorry for the noise.

Signature · 1 line
Bye, Peter Korsgaard