Skip to contentSkip to conversation

disable VBE by default

PATCH In review Peter Robinson 3 participants 4 messages Jun 15, 2025 – Jun 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 disable VBE by default

The VBE protocol needs explicit device support and as such isn't particularly useful by itself without that, it also adds size and the potential of an attack vector so devices that wish to use this protocol should explicitly opt in to it like all other large features in U-Boot.

---
 boot/Kconfig | 1 -
 1 file changed, 1 deletion(-)
boot/Kconfig +0 -1
index 30eb5b328d7..e8c3fbcb11d 100644
@@ -635,7 +635,6 @@ config BOOTMETH_QFW
 config BOOTMETH_VBE
 	bool "Bootdev support for Verified Boot for Embedded"
 	depends on FIT
-	default y
 	select BOOTMETH_GLOBAL
 	select EVENT
 	help
Signature · 1 line
2.49.0
Acked-by on v1 1/1
#1 lore raw
Quoted 8 lines · Peter Robinson

The VBE protocol needs explicit device support and as such isn't particularly useful by itself without that, it also adds size and the potential of an attack vector so devices that wish to use this protocol should explicitly opt in to it like all other large features in U-Boot.

Quoted 16 lines
---
 boot/Kconfig | 1 -
 1 file changed, 1 deletion(-)
boot/Kconfig +0 -1
index 30eb5b328d7..e8c3fbcb11d 100644
@@ -635,7 +635,6 @@ config BOOTMETH_QFW
 config BOOTMETH_VBE
 	bool "Bootdev support for Verified Boot for Embedded"
 	depends on FIT
-	default y
 	select BOOTMETH_GLOBAL
 	select EVENT
 	help
#2 lore raw
Quoted 11 lines · Ilias Apalodimas
Quoted 8 lines · Peter Robinson

The VBE protocol needs explicit device support and as such isn't particularly useful by itself without that, it also adds size and the potential of an attack vector so devices that wish to use this protocol should explicitly opt in to it like all other large features in U-Boot.

This is I think a tad premature. I believe Fedora has been carrying this patch for some time, and that's the prerogative of that project and so fine. There is a chicken-and-egg type problem with this feature and if we aren't going to enable it by default, we then ought not bother including it and that's not a collection of issues I wish to open at this time.

Signature · 1 line
Tom
#3 lore raw
Quoted 13 lines · Tom Rini
Quoted 10 lines · Ilias Apalodimas
Quoted 8 lines · Peter Robinson

The VBE protocol needs explicit device support and as such isn't particularly useful by itself without that, it also adds size and the potential of an attack vector so devices that wish to use this protocol should explicitly opt in to it like all other large features in U-Boot.

Quoted 8 lines
Quoted 1 line

This is I think a tad premature. I believe Fedora has been carrying this patch for some time, and that's the prerogative of that project and so fine. There is a chicken-and-egg type problem with this feature and if we aren't going to enable it by default, we then ought not bother including it and that's not a collection of issues I wish to open at this time.

Can you provide some docs on how to use it on every device without device specifc config?