Skip to content

Stable backport of c00b413a96261fae

Ard Biesheuvel lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr'arch/x86/boot/compressed/acpi.c arch/x86/boot/compressed/cmdline.c arch/x86/boot/compressed/ident_map_64.c +9 more+50 -511 reply
2/2x86/boot: Sanitize boot params before parsing command linearch/x86/boot/compressed/pgtable_64.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH for-stable-6.x 0/2] Stable backport of c00b413a96261fae

From: Ard Biesheuvel <[email protected]>

This is the stable backport of commit

c00b413a96261fae ("x86/boot: Sanitize boot params before parsing command line")

to the v6.6 and v6.1 trees.

Patch #2 can be applied to both v6.1 and v6.6. Patch #1 is a prerequisite that is already present in v6.1 but was not backported to v6.6 yet for reasons that are unclear to me, and so it needs to be applied to v6.6 first.

Ard Biesheuvel (2):
x86/boot: Rename conflicting 'boot_params' pointer to
'boot_params_ptr'
x86/boot: Sanitize boot params before parsing command line

 arch/x86/boot/compressed/acpi.c         | 14 +++++------
 arch/x86/boot/compressed/cmdline.c      |  4 +--
 arch/x86/boot/compressed/ident_map_64.c |  7 +++---
 arch/x86/boot/compressed/kaslr.c        | 26 ++++++++++----------
 arch/x86/boot/compressed/mem.c          |  6 ++---
 arch/x86/boot/compressed/misc.c         | 26 ++++++++++----------
 arch/x86/boot/compressed/misc.h         |  1 -
 arch/x86/boot/compressed/pgtable_64.c   | 11 +++++----
 arch/x86/boot/compressed/sev.c          |  2 +-
 arch/x86/include/asm/boot.h             |  2 ++
 drivers/firmware/efi/libstub/x86-stub.c |  2 +-
 drivers/firmware/efi/libstub/x86-stub.h |  2 --
 12 files changed, 52 insertions(+), 51 deletions(-)
Signature · 1 line
2.49.0.rc0.332.g42c0ae87b1-goog