Skip to contentSkip to conversation

parisc architecture fixes and updates for v6.17-rc1

GIT PULL Merged Helge Deller 2 participants 2 messages Aug 1, 2025

lore
Share & tools
lore
#0 lore raw

The following changes since commit 89be9a83ccf1f88522317ce02f854f30d6115c41:

Linux 6.16-rc7 (2025-07-20 15:18:33 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.17-rc1

for you to fetch changes up to 89f686a0fb6e473a876a9a60a13aec67a62b9a7e:

parisc: Revise __get_user() to probe user read access (2025-07-25 22:45:24 +0200)

----------------------------------------------------------------
parisc architecture fixes for kernel v6.17-rc1:

The parisc kernel wrongly allows reading from read-protected userspace memory without faulting, e.g. when userspace uses mprotect() to read-protect a memory area and then uses a pointer to this memory in a write(2, addr, 1) syscall. To fix this issue, Dave Anglin developed a set of patches which use the proberi assembler instruction to additionally check read access permissions at runtime.

Randy Dunlap contributed two patches to fix a minor typo and to explain why a 32-bit compiler is needed although a 64-bit kernel is built.

----------------------------------------------------------------
John David Anglin (8):
parisc: Update comments in make_insert_tlb
parisc: Check region is readable by user in raw_copy_from_user()
parisc: Rename pte_needs_flush() to pte_needs_cache_flush() in cache.c
parisc: Define and use set_pte_at()
parisc: Try to fixup kernel exception in bad_area_nosemaphore path of do_page_fault()
parisc: Drop WARN_ON_ONCE() from flush_cache_vmap
parisc: Revise gateway LWS calls to probe user read access
parisc: Revise __get_user() to probe user read access

Randy Dunlap (2):
parisc: Makefile: fix a typo in palo.conf
parisc: Makefile: explain that 64BIT requires both 32-bit and 64-bit compilers

 arch/parisc/Makefile                    |  6 ++++--
 arch/parisc/include/asm/pgtable.h       |  7 ++++---
 arch/parisc/include/asm/special_insns.h | 28 ++++++++++++++++++++++++++++
 arch/parisc/include/asm/uaccess.h       | 21 ++++++++++++++++++---
 arch/parisc/kernel/cache.c              |  6 +++---
 arch/parisc/kernel/entry.S              | 17 ++++++++++++-----
 arch/parisc/kernel/syscall.S            | 30 +++++++++++++++++++++---------
 arch/parisc/lib/memcpy.c                | 19 ++++++++++++++++++-
 arch/parisc/mm/fault.c                  |  4 ++++
 9 files changed, 112 insertions(+), 26 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 1 Aug 2025 20:00:27 +0200:

The pull request you sent on Fri, 1 Aug 2025 20:00:27 +0200:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git tags/parisc-for-6.17-rc1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0905809b38bda1fa0b206986c44d846e46f13c1d

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html