mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Will Deacon <will@kernel.org>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org
Subject: [GIT PULL] arm64 fixes for 7.4-rc2
Date: Fri, 6 Nov 2026 20:01:17 +0000	[thread overview]
Message-ID: <au4yDc-l14h7hwMI@arm.com> (raw)

Hi Linus,

Please pull the arm64 fixes below: SDEI (software delegated exception
interface) handlers taking nested exceptions (looping on the KPTI
trampoline vectors and clobbering the interrupted context's exception
registers), TPIDR2_EL0 preservation across CPU suspend, a
kexec_file_load() memory leak and an overflow in the /dev/mem
valid_mmap_phys_addr_range() check.

Thanks.

The following changes since commit 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4:

  Linux 7.4-rc1 (2026-11-01 13:26:31 -0800)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes

for you to fetch changes up to 58c1eb84e97701c583605ba2fd553b69afba2245:

  arm64: sdei: Preserve the interrupted context's exception registers (2026-11-06 17:43:20 +0000)

----------------------------------------------------------------
arm64 fixes:

 - Fix nested exceptions taken by SDEI event handlers. With KPTI, an
   event interrupting user space left the trampoline vectors installed
   and any exception in the handler looped forever. Also save and
   restore ELR/SPSR/ESR/FAR around the handler since an event can
   interrupt exception entry or return where these registers are live

 - Save and restore TPIDR2_EL0 across CPU suspend. Its value is UNKNOWN
   after a warm reset and the task initiating suspend could return to
   user space with a corrupted value

 - Fix an overflow in valid_mmap_phys_addr_range() allowing /dev/mem to
   map out-of-range PFNs

 - Fix an elf_headers memory leak in the kexec_file segment placement
   retry loop

----------------------------------------------------------------
Jinjie Ruan (1):
      arm64: kexec_file: Fix elf_headers memory leak in retry loop

Kiryl Shutsemau (Meta) (2):
      arm64: sdei: Run the event handler on the kernel vectors
      arm64: sdei: Preserve the interrupted context's exception registers

Wei Wang (1):
      arm64: suspend: Save and restore TPIDR2_EL0 across CPU suspend

Zhao Gongyi (1):
      arm64: mm: validate /dev/mem mmap ranges without overflow

 arch/arm64/include/asm/sdei.h          |  3 +-
 arch/arm64/include/asm/suspend.h       |  2 +-
 arch/arm64/kernel/entry-common.c       | 40 ++++++++++++++++++++++-
 arch/arm64/kernel/machine_kexec_file.c |  2 ++
 arch/arm64/kernel/sdei.c               | 59 +++++++++++++++++++++++++++-------
 arch/arm64/mm/mmap.c                   |  4 ++-
 arch/arm64/mm/proc.S                   |  8 +++++
 7 files changed, 103 insertions(+), 15 deletions(-)

-- 
Catalin

             reply	other threads:[~2026-11-06 20:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-06 20:01 Catalin Marinas [this message]
2026-11-06 21:47 ` pr-tracker-bot

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=au4yDc-l14h7hwMI@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    --cc=will@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

all inboxes | Powered by JetHome®