[GIT,PULL] x86/urgent for 6.1-rc6

Message ID Y3oao37SUu9tluFY@zn.tnic
State New
Headers
Series [GIT,PULL] x86/urgent for 6.1-rc6 |

Pull-request

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

Message

Borislav Petkov Nov. 20, 2022, 12:16 p.m. UTC
  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(-)
  

Comments

pr-tracker-bot@kernel.org Nov. 20, 2022, 6:52 p.m. UTC | #1
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!