From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 0/4] boot: UAF and double free fixes
Date: Fri, 30 Oct 2026 08:34:40 +0100 [thread overview]
Message-ID: <20261030-boot-mem-fixes-v1-0-6d64824356eb@pengutronix.de> (raw)
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>
next reply other threads:[~2026-10-30 7:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-30 7:34 Sascha Hauer [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261030-boot-mem-fixes-v1-0-6d64824356eb@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox