2022-11-20 12:38:42

by Borislav Petkov

[permalink] [raw]
Subject: [GIT PULL] x86/urgent for 6.1-rc6

Hi Linus,

please pull two urgent x86 fixes for 6.1.

Thx.

---

The following changes since commit f0c4d9fc9cc9462659728d168387191387e903cc:

Linux 6.1-rc4 (2022-11-06 15:07:11 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.1_rc6

for you to fetch changes up to 36b038791e1e2baea892e9276588815fd14894b4:

x86/fpu: Drop fpregs lock before inheriting FPU permissions (2022-11-10 16:57:38 +0100)

----------------------------------------------------------------
- Do not hold fpregs lock when inheriting FPU permissions because the
fpregs lock disables preemption on RT but fpu_inherit_perms() does
spin_lock_irq(), which, on RT, uses rtmutexes and they need to be
preemptible.

- Check the page offset and the length of the data supplied by userspace
for overflow when specifying a set of pages to add to an SGX enclave

----------------------------------------------------------------
Borys Popławski (1):
x86/sgx: Add overflow check in sgx_validate_offset_length()

Mel Gorman (1):
x86/fpu: Drop fpregs lock before inheriting FPU permissions

arch/x86/kernel/cpu/sgx/ioctl.c | 3 +++
arch/x86/kernel/fpu/core.c | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)

--
Regards/Gruss,
Boris.

SUSE Software Solutions Germany GmbH
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman
(HRB 36809, AG Nürnberg)


2022-11-20 19:10:34

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] x86/urgent for 6.1-rc6

The pull request you sent on Sun, 20 Nov 2022 13:16:35 +0100:

> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_urgent_for_v6.1_rc6

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/894909f95aa1473f49f767dcd5750ba152b85e13

Thank you!

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