mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] boot: UAF and double free fixes
@ 2026-10-30  7:34 Sascha Hauer
  2026-10-30  7:34 ` [PATCH 1/4] boot: fix use-after-free when restoring bootm variables Sascha Hauer
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Sascha Hauer @ 2026-10-30  7:34 UTC (permalink / raw)
  To: BAREBOX

This fixes some Use after free and double free cases. Also bring back the
information that the kernel image can be overriden to the boot help text.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
Sascha Hauer (4):
      boot: fix use-after-free when restoring bootm variables
      bootargs: fix double free in linux_bootargs_get()
      commands: boot: fix use-after-free of overrides taken from globalvars
      commands: boot: list bootm.image in the -o help text again

 commands/boot.c   | 40 +++++++++++++++++++++++++++++++---------
 common/boot.c     | 17 +++++++++++++++++
 common/bootargs.c |  1 +
 3 files changed, 49 insertions(+), 9 deletions(-)
---
base-commit: f2e574b9c63c6da07a06179a868cae8a471ec176
change-id: 20261030-boot-mem-fixes-e19012a6b82d

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-10-30  7:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30  7:34 [PATCH 0/4] boot: UAF and double free fixes Sascha Hauer
2026-10-30  7:34 ` [PATCH 1/4] boot: fix use-after-free when restoring bootm variables Sascha Hauer
2026-10-30  7:34 ` [PATCH 2/4] bootargs: fix double free in linux_bootargs_get() Sascha Hauer
2026-10-30  7:45   ` Ahmad Fatoum
2026-10-30  7:34 ` [PATCH 3/4] commands: boot: fix use-after-free of overrides taken from globalvars Sascha Hauer
2026-10-30  7:34 ` [PATCH 4/4] commands: boot: list bootm.image in the -o help text again Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox