mirror-linux/arch
Linus Torvalds 52f657e34d x86: shadow stacks: proper error handling for mmap lock
김영민 reports that shstk_pop_sigframe() doesn't check for errors from
mmap_read_lock_killable(), which is a silly oversight, and also shows
that we haven't marked those functions with "__must_check", which would
have immediately caught it.

So let's fix both issues.

Reported-by: 김영민 <osori@hspace.io>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Dave Hansen <dave.hansen@intel.com>
Acked-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2026-04-08 13:18:57 -07:00
..
alpha kbuild: Split .modinfo out from ELF_DETAILS 2026-02-26 11:50:19 -07:00
arc kbuild: Split .modinfo out from ELF_DETAILS 2026-02-26 11:50:19 -07:00
arm soc fixes for 7.0, part 2 2026-04-06 09:03:19 -07:00
arm64 soc fixes for 7.0, part 2 2026-04-06 09:03:19 -07:00
csky kbuild: Split .modinfo out from ELF_DETAILS 2026-02-26 11:50:19 -07:00
hexagon kbuild: Split .modinfo out from ELF_DETAILS 2026-02-26 11:50:19 -07:00
loongarch LoongArch: KVM: Fix base address calculation in kvm_eiointc_regs_access() 2026-03-26 14:29:09 +08:00
m68k kbuild: Split .modinfo out from ELF_DETAILS 2026-02-26 11:50:19 -07:00
microblaze mm.git review status for linus..mm-stable 2026-02-12 11:32:37 -08:00
mips Fix TLB uniquification for systems with TLB not initialised by firmware 2026-04-05 11:29:07 -07:00
nios2 kbuild: Split .modinfo out from ELF_DETAILS 2026-02-26 11:50:19 -07:00
openrisc kbuild: Split .modinfo out from ELF_DETAILS 2026-02-26 11:50:19 -07:00
parisc parisc: Flush correct cache in cacheflush() syscall 2026-03-15 09:28:49 +01:00
powerpc powerpc/powernv/iommu: iommu incorrectly bypass DMA APIs 2026-04-01 22:08:55 +05:30
riscv riscv: use _BITUL macro rather than BIT() in ptrace uapi and kselftests 2026-04-04 18:37:54 -06:00
s390 s390 updates for 7.0-rc7 2026-04-03 17:50:24 -07:00
sh sh: platform_early: remove pdev->driver_override check 2026-03-17 20:30:57 +01:00
sparc Second round of Kbuild fixes for 7.0 2026-03-06 20:27:13 -08:00
um Second round of Kbuild fixes for 7.0 2026-03-06 20:27:13 -08:00
x86 x86: shadow stacks: proper error handling for mmap lock 2026-04-08 13:18:57 -07:00
xtensa Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
.gitignore
Kconfig