public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-stable-6.x 0/2] Stable backport of c00b413a96261fae
@ 2025-03-09 22:03 Ard Biesheuvel
  2025-03-09 22:03 ` [PATCH for-stable-6.x 1/2] x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr' Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ard Biesheuvel @ 2025-03-09 22:03 UTC (permalink / raw)
  To: stable; +Cc: Ard Biesheuvel

From: Ard Biesheuvel <ardb@kernel.org>

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(-)

-- 
2.49.0.rc0.332.g42c0ae87b1-goog


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

end of thread, other threads:[~2025-03-13  9:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-09 22:03 [PATCH for-stable-6.x 0/2] Stable backport of c00b413a96261fae Ard Biesheuvel
2025-03-09 22:03 ` [PATCH for-stable-6.x 1/2] x86/boot: Rename conflicting 'boot_params' pointer to 'boot_params_ptr' Ard Biesheuvel
2025-03-13  9:01   ` Sasha Levin
2025-03-09 22:03 ` [PATCH for-stable-6.x 2/2] x86/boot: Sanitize boot params before parsing command line Ard Biesheuvel
2025-03-10 16:11 ` [PATCH for-stable-6.x 0/2] Stable backport of c00b413a96261fae Greg KH

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