[GIT PULL] x86/urgent for v6.4

From: Borislav Petkov
Date: Sun Jun 25 2023 - 05:20:11 EST


Hi Linus,

please pull two final urgent x86 fixes for 6.4.

Thx.

---

The following changes since commit a37f2699c36a7f6606ba3300f243227856c5ad6b:

x86/head/64: Switch to KERNEL_CS as soon as new GDT is installed (2023-06-02 16:59:57 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 85d38d5810e285d5aec7fb5283107d1da70c12a9:

x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys (2023-06-19 20:59:40 +0200)

----------------------------------------------------------------
- Do not use set_pgd() when updating the KASLR trampoline pgd entry
because that updates the user PGD too on KPTI builds, resulting in
memory corruption

- Prevent a panic in the IO-APIC setup code due to conflicting command
line parameters

----------------------------------------------------------------
Dheeraj Kumar Srivastava (1):
x86/apic: Fix kernel panic when booting with intremap=off and x2apic_phys

Lee Jones (1):
x86/mm: Avoid using set_pgd() outside of real PGD pages

arch/x86/kernel/apic/x2apic_phys.c | 5 ++++-
arch/x86/mm/kaslr.c | 8 ++++----
2 files changed, 8 insertions(+), 5 deletions(-)

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette