public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ardb+git@google.com>
To: stable@vger.kernel.org
Cc: Ard Biesheuvel <ardb@kernel.org>
Subject: [PATCH for-stable-6.x 0/2] Stable backport of c00b413a96261fae
Date: Sun,  9 Mar 2025 23:03:18 +0100	[thread overview]
Message-ID: <20250309220320.1876084-1-ardb+git@google.com> (raw)

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


             reply	other threads:[~2025-03-09 22:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-09 22:03 Ard Biesheuvel [this message]
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

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=20250309220320.1876084-1-ardb+git@google.com \
    --to=ardb+git@google.com \
    --cc=ardb@kernel.org \
    --cc=stable@vger.kernel.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