From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
patches@lists.linux.dev,
"Peter Zijlstra (Intel)" <peterz@infradead.org>,
Dave Hansen <dave.hansen@linux.intel.com>,
Alexandre Chartre <alexandre.chartre@oracle.com>,
Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Subject: [PATCH 5.10 168/208] x86/its: Use dynamic thunks for indirect branches
Date: Tue, 15 Jul 2025 15:14:37 +0200 [thread overview]
Message-ID: <20250715130817.712727942@linuxfoundation.org> (raw)
In-Reply-To: <20250715130810.830580412@linuxfoundation.org>
5.10-stable review patch. If anyone has any objections, please let me know.
------------------
From: Peter Zijlstra <peterz@infradead.org>
commit 872df34d7c51a79523820ea6a14860398c639b87 upstream.
ITS mitigation moves the unsafe indirect branches to a safe thunk. This
could degrade the prediction accuracy as the source address of indirect
branches becomes same for different execution paths.
To improve the predictions, and hence the performance, assign a separate
thunk for each indirect callsite. This is also a defense-in-depth measure
to avoid indirect branches aliasing with each other.
As an example, 5000 dynamic thunks would utilize around 16 bits of the
address space, thereby gaining entropy. For a BTB that uses
32 bits for indexing, dynamic thunks could provide better prediction
accuracy over fixed thunks.
Have ITS thunks be variable sized and use EXECMEM_MODULE_TEXT such that
they are both more flexible (got to extend them later) and live in 2M TLBs,
just like kernel code, avoiding undue TLB pressure.
[ pawan: CONFIG_EXECMEM and CONFIG_EXECMEM_ROX are not supported on
backport kernel, made changes to use module_alloc() and
set_memory_*() for dynamic thunks. ]
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
arch/x86/include/asm/alternative.h | 10 ++
arch/x86/kernel/alternative.c | 133 ++++++++++++++++++++++++++++++++++++-
arch/x86/kernel/module.c | 6 +
include/linux/module.h | 5 +
4 files changed, 151 insertions(+), 3 deletions(-)
--- a/arch/x86/include/asm/alternative.h
+++ b/arch/x86/include/asm/alternative.h
@@ -80,6 +80,16 @@ extern void apply_returns(s32 *start, s3
struct module;
+#ifdef CONFIG_MITIGATION_ITS
+extern void its_init_mod(struct module *mod);
+extern void its_fini_mod(struct module *mod);
+extern void its_free_mod(struct module *mod);
+#else /* CONFIG_MITIGATION_ITS */
+static inline void its_init_mod(struct module *mod) { }
+static inline void its_fini_mod(struct module *mod) { }
+static inline void its_free_mod(struct module *mod) { }
+#endif
+
#if defined(CONFIG_RETHUNK) && defined(CONFIG_STACK_VALIDATION)
extern bool cpu_wants_rethunk(void);
extern bool cpu_wants_rethunk_at(void *addr);
--- a/arch/x86/kernel/alternative.c
+++ b/arch/x86/kernel/alternative.c
@@ -18,6 +18,7 @@
#include <linux/mmu_context.h>
#include <linux/bsearch.h>
#include <linux/sync_core.h>
+#include <linux/moduleloader.h>
#include <asm/text-patching.h>
#include <asm/alternative.h>
#include <asm/sections.h>
@@ -29,6 +30,7 @@
#include <asm/io.h>
#include <asm/fixmap.h>
#include <asm/asm-prototypes.h>
+#include <asm/set_memory.h>
int __read_mostly alternatives_patched;
@@ -552,6 +554,127 @@ static int emit_indirect(int op, int reg
#ifdef CONFIG_MITIGATION_ITS
+static struct module *its_mod;
+static void *its_page;
+static unsigned int its_offset;
+
+/* Initialize a thunk with the "jmp *reg; int3" instructions. */
+static void *its_init_thunk(void *thunk, int reg)
+{
+ u8 *bytes = thunk;
+ int i = 0;
+
+ if (reg >= 8) {
+ bytes[i++] = 0x41; /* REX.B prefix */
+ reg -= 8;
+ }
+ bytes[i++] = 0xff;
+ bytes[i++] = 0xe0 + reg; /* jmp *reg */
+ bytes[i++] = 0xcc;
+
+ return thunk;
+}
+
+void its_init_mod(struct module *mod)
+{
+ if (!cpu_feature_enabled(X86_FEATURE_INDIRECT_THUNK_ITS))
+ return;
+
+ mutex_lock(&text_mutex);
+ its_mod = mod;
+ its_page = NULL;
+}
+
+void its_fini_mod(struct module *mod)
+{
+ int i;
+
+ if (!cpu_feature_enabled(X86_FEATURE_INDIRECT_THUNK_ITS))
+ return;
+
+ WARN_ON_ONCE(its_mod != mod);
+
+ its_mod = NULL;
+ its_page = NULL;
+ mutex_unlock(&text_mutex);
+
+ for (i = 0; i < mod->its_num_pages; i++) {
+ void *page = mod->its_page_array[i];
+ set_memory_ro((unsigned long)page, 1);
+ set_memory_x((unsigned long)page, 1);
+ }
+}
+
+void its_free_mod(struct module *mod)
+{
+ int i;
+
+ if (!cpu_feature_enabled(X86_FEATURE_INDIRECT_THUNK_ITS))
+ return;
+
+ for (i = 0; i < mod->its_num_pages; i++) {
+ void *page = mod->its_page_array[i];
+ module_memfree(page);
+ }
+ kfree(mod->its_page_array);
+}
+
+static void *its_alloc(void)
+{
+ void *page = module_alloc(PAGE_SIZE);
+
+ if (!page)
+ return NULL;
+
+ if (its_mod) {
+ void *tmp = krealloc(its_mod->its_page_array,
+ (its_mod->its_num_pages+1) * sizeof(void *),
+ GFP_KERNEL);
+ if (!tmp) {
+ module_memfree(page);
+ return NULL;
+ }
+
+ its_mod->its_page_array = tmp;
+ its_mod->its_page_array[its_mod->its_num_pages++] = page;
+ }
+
+ return page;
+}
+
+static void *its_allocate_thunk(int reg)
+{
+ int size = 3 + (reg / 8);
+ void *thunk;
+
+ if (!its_page || (its_offset + size - 1) >= PAGE_SIZE) {
+ its_page = its_alloc();
+ if (!its_page) {
+ pr_err("ITS page allocation failed\n");
+ return NULL;
+ }
+ memset(its_page, INT3_INSN_OPCODE, PAGE_SIZE);
+ its_offset = 32;
+ }
+
+ /*
+ * If the indirect branch instruction will be in the lower half
+ * of a cacheline, then update the offset to reach the upper half.
+ */
+ if ((its_offset + size - 1) % 64 < 32)
+ its_offset = ((its_offset - 1) | 0x3F) + 33;
+
+ thunk = its_page + its_offset;
+ its_offset += size;
+
+ set_memory_rw((unsigned long)its_page, 1);
+ thunk = its_init_thunk(thunk, reg);
+ set_memory_ro((unsigned long)its_page, 1);
+ set_memory_x((unsigned long)its_page, 1);
+
+ return thunk;
+}
+
static int __emit_trampoline(void *addr, struct insn *insn, u8 *bytes,
void *call_dest, void *jmp_dest)
{
@@ -599,9 +722,13 @@ clang_jcc:
static int emit_its_trampoline(void *addr, struct insn *insn, int reg, u8 *bytes)
{
- return __emit_trampoline(addr, insn, bytes,
- __x86_indirect_its_thunk_array[reg],
- __x86_indirect_its_thunk_array[reg]);
+ u8 *thunk = __x86_indirect_its_thunk_array[reg];
+ u8 *tmp = its_allocate_thunk(reg);
+
+ if (tmp)
+ thunk = tmp;
+
+ return __emit_trampoline(addr, insn, bytes, thunk, thunk);
}
/* Check if an indirect branch is at ITS-unsafe address */
--- a/arch/x86/kernel/module.c
+++ b/arch/x86/kernel/module.c
@@ -274,10 +274,15 @@ int module_finalize(const Elf_Ehdr *hdr,
returns = s;
}
+ its_init_mod(me);
+
if (retpolines) {
void *rseg = (void *)retpolines->sh_addr;
apply_retpolines(rseg, rseg + retpolines->sh_size);
}
+
+ its_fini_mod(me);
+
if (returns) {
void *rseg = (void *)returns->sh_addr;
apply_returns(rseg, rseg + returns->sh_size);
@@ -313,4 +318,5 @@ int module_finalize(const Elf_Ehdr *hdr,
void module_arch_cleanup(struct module *mod)
{
alternatives_smp_module_del(mod);
+ its_free_mod(mod);
}
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -524,6 +524,11 @@ struct module {
atomic_t refcnt;
#endif
+#ifdef CONFIG_MITIGATION_ITS
+ int its_num_pages;
+ void **its_page_array;
+#endif
+
#ifdef CONFIG_CONSTRUCTORS
/* Constructor functions. */
ctor_fn_t *ctors;
next prev parent reply other threads:[~2025-07-15 13:58 UTC|newest]
Thread overview: 218+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-15 13:11 [PATCH 5.10 000/208] 5.10.240-rc1 review Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 001/208] cifs: Fix cifs_query_path_info() for Windows NT servers Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 002/208] NFSv4.2: fix listxattr to return selinux security label Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 003/208] mailbox: Not protect module_put with spin_lock_irqsave Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 004/208] mfd: max14577: Fix wakeup source leaks on device unbind Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 005/208] leds: multicolor: Fix intensity setting while SW blinking Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 006/208] hwmon: (pmbus/max34440) Fix support for max34451 Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 007/208] dmaengine: xilinx_dma: Set dma_device directions Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 008/208] md/md-bitmap: fix dm-raid max_write_behind setting Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 009/208] bcache: fix NULL pointer in cache_set_flush() Greg Kroah-Hartman
2025-07-15 13:11 ` [PATCH 5.10 010/208] iio: pressure: zpa2326: Use aligned_s64 for the timestamp Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 011/208] um: Add cmpxchg8b_emu and checksum functions to asm-prototypes.h Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 012/208] usb: potential integer overflow in usbg_make_tpg() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 013/208] usb: common: usb-conn-gpio: use a unique name for usb connector device Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 014/208] usb: Add checks for snprintf() calls in usb_alloc_dev() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 015/208] usb: cdc-wdm: avoid setting WDM_READ for ZLP-s Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 016/208] usb: typec: displayport: Receive DP Status Update NAK request exit dp altmode Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 017/208] ALSA: hda: Ignore unsol events for cards being shut down Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 018/208] ALSA: hda: Add new pci id for AMD GPU display HD audio controller Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 019/208] ceph: fix possible integer overflow in ceph_zero_objects() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 020/208] ovl: Check for NULL d_inode() in ovl_dentry_upper() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 021/208] USB: usbtmc: Fix reading stale status byte Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 022/208] USB: usbtmc: Add USBTMC_IOCTL_GET_STB Greg Kroah-Hartman
2025-07-15 15:00 ` Guido Kiener
2025-07-15 15:11 ` Greg Kroah-Hartman
2025-07-16 9:10 ` Guido Kiener
2025-07-16 9:59 ` Guido Kiener
2025-07-16 14:10 ` Greg Kroah-Hartman
2025-07-21 12:41 ` Dave Penkler
2025-07-15 13:12 ` [PATCH 5.10 023/208] usb: usbtmc: Fix read_stb function and get_stb ioctl Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 024/208] VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 025/208] VMCI: fix race between vmci_host_setup_notify and vmci_ctx_unset_notify Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 026/208] usb: typec: tcpci_maxim: Fix uninitialized return variable Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 027/208] usb: typec: tcpci_maxim: remove redundant assignment Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 028/208] usb: typec: tcpci_maxim: add terminating newlines to logging Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 029/208] usb: typec: tcpm/tcpci_maxim: Fix bounds check in process_rx() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 030/208] fs/jfs: consolidate sanity checking in dbMount Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 031/208] jfs: validate AG parameters in dbMount() to prevent crashes Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 032/208] media: omap3isp: use sgtable-based scatterlist wrappers Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 033/208] can: tcan4x5x: fix power regulator retrieval during probe Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 034/208] f2fs: dont over-report free space or inodes in statvfs Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 035/208] RDMA/core: Use refcount_t instead of atomic_t on refcount of iwcm_id_private Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 036/208] RDMA/iwcm: Fix use-after-free of work objects after cm_id destruction Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 037/208] uio: uio_hv_generic: use devm_kzalloc() for private data alloc Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 038/208] Drivers: hv: vmbus: Fix duplicate CPU assignments within a device Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 039/208] Drivers: hv: Rename alloced to allocated Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 040/208] Drivers: hv: vmbus: Add utility function for querying ring size Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 041/208] uio_hv_generic: Query the ringbuffer size for device Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 042/208] uio_hv_generic: Align ring size to system page Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 043/208] PCI: cadence-ep: Correct PBA offset in .set_msix() callback Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 044/208] net_sched: sch_sfq: reject invalid perturb period Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 045/208] i2c: tiny-usb: disable zero-length read messages Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 046/208] i2c: robotfuzz-osif: " Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 047/208] atm: clip: prevent NULL deref in clip_push() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 048/208] ALSA: usb-audio: Fix out-of-bounds read in snd_usb_get_audioformat_uac3() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 049/208] attach_recursive_mnt(): do not lock the covering tree when sliding something under it Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 050/208] libbpf: Fix null pointer dereference in btf_dump__free on allocation failure Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 051/208] wifi: mac80211: fix beacon interval calculation overflow Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 052/208] vsock/uapi: fix linux/vm_sockets.h userspace compilation errors Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 053/208] um: ubd: Add missing error check in start_io_thread() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 054/208] net: enetc: Correct endianness handling in _enetc_rd_reg64 Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 055/208] atm: Release atm_dev_mutex after removing procfs in atm_dev_deregister() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 056/208] dt-bindings: serial: 8250: Make clocks and clock-frequency exclusive Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 057/208] Bluetooth: L2CAP: Fix L2CAP MTU negotiation Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 058/208] dm-raid: fix variable in journal device check Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 059/208] btrfs: update superblocks device bytes_used when dropping chunk Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 060/208] HID: wacom: fix memory leak on kobject creation failure Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 061/208] HID: wacom: fix memory leak on sysfs attribute " Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 062/208] HID: wacom: fix kobject reference count leak Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 063/208] drm/tegra: Assign plane type before registration Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 064/208] drm/tegra: Fix a possible null pointer dereference Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 065/208] drm/udl: Unregister device before cleaning up on disconnect Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 066/208] drm/amdkfd: Fix race in GWS queue scheduling Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 067/208] drm/bridge: cdns-dsi: Fix the clock variable for mode_valid() Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 068/208] drm/bridge: cdns-dsi: Fix connecting to next bridge Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 069/208] drm/bridge: cdns-dsi: Check return value when getting default PHY config Greg Kroah-Hartman
2025-07-15 13:12 ` [PATCH 5.10 070/208] drm/bridge: cdns-dsi: Wait for Clk and Data Lanes to be ready Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 071/208] PCI: hv: Do not set PCI_COMMAND_MEMORY to reduce VM boot time Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 072/208] s390: Add -std=gnu11 to decompressor and purgatory CFLAGS Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 073/208] Revert "ipv6: save dontfrag in cork" Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 074/208] arm64: Restrict pagetable teardown to avoid false warning Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 075/208] rtc: cmos: use spin_lock_irqsave in cmos_interrupt Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 076/208] vsock/vmci: Clear the vmci transport packet properly when initializing it Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 077/208] mmc: sdhci: Add a helper function for dump register in dynamic debug mode Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 078/208] Revert "mmc: sdhci: Disable SD card clock before changing parameters" Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 079/208] usb: typec: altmodes/displayport: do not index invalid pin_assignments Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 080/208] mtk-sd: Fix a pagefault in dma_unmap_sg() for not prepared data Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 081/208] platform/mellanox: mlxbf-tmfifo: fix vring_desc.len assignment Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 082/208] RDMA/mlx5: Initialize obj_event->obj_sub_list before xa_insert Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 083/208] nfs: Clean up /proc/net/rpc/nfs when nfs_fs_proc_net_init() fails Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 084/208] NFSv4/pNFS: Fix a race to wake on NFS_LAYOUT_DRAIN Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 085/208] scsi: qla2xxx: Fix DMA mapping test in qla24xx_get_port_database() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 086/208] scsi: qla4xxx: Fix missing DMA mapping error in qla4xxx_alloc_pdu() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 087/208] scsi: ufs: core: Fix spelling of a sysfs attribute name Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 088/208] RDMA/mlx5: Fix CC counters query for MPV Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 089/208] btrfs: fix missing error handling when searching for inode refs during log replay Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 090/208] drm/exynos: fimd: Guard display clock control with runtime PM calls Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 091/208] spi: spi-fsl-dspi: Clear completion counter before initiating transfer Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 092/208] drm/i915/selftests: Change mock_request() to return error pointers Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 093/208] drm/i915/gt: Fix timeline left held on VMA alloc error Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 094/208] lib: test_objagg: Set error message in check_expect_hints_stats() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 095/208] amd-xgbe: align CL37 AN sequence as per databook Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 096/208] enic: fix incorrect MTU comparison in enic_change_mtu() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 097/208] net: rose: Fix fall-through warnings for Clang Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 098/208] rose: fix dangling neighbour pointers in rose_rt_device_down() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 099/208] nui: Fix dma_mapping_error() check Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 100/208] net/sched: Always pass notifications when child class becomes empty Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 101/208] ALSA: sb: Force to disable DMAs once when DMA mode is changed Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 102/208] ata: pata_cs5536: fix build on 32-bit UML Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 103/208] powerpc: Fix struct termio related ioctl macros Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 104/208] scsi: target: Fix NULL pointer dereference in core_scsi3_decode_spec_i_port() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 105/208] wifi: mac80211: drop invalid source address OCB frames Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 106/208] wifi: ath6kl: remove WARN on bad firmware input Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 107/208] ACPICA: Refuse to evaluate a method if arguments are missing Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 108/208] rcu: Return early if callback is not specified Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 109/208] regulator: gpio: Fix the out-of-bounds access to drvdata::gpiods Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 110/208] mmc: mediatek: use data instead of mrq parameter from msdc_{un}prepare_data() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 111/208] mtk-sd: Prevent memory corruption from DMA map failure Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 112/208] mtk-sd: reset host->mrq on prepare_data() error Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 113/208] drm/v3d: Disable interrupts before resetting the GPU Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 114/208] RDMA/mlx5: Fix vport loopback for MPV device Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 115/208] flexfiles/pNFS: update stats on NFS4ERR_DELAY for v4.1 DSes Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 116/208] NFSv4/flexfiles: Fix handling of NFS level errors in I/O Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 117/208] btrfs: propagate last_unlink_trans earlier when doing a rmdir Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 118/208] btrfs: use btrfs_record_snapshot_destroy() during rmdir Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 119/208] dpaa2-eth: rename dpaa2_eth_xdp_release_buf into dpaa2_eth_recycle_buf Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 120/208] dpaa2-eth: Update dpni_get_single_step_cfg command Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 121/208] dpaa2-eth: Update SINGLE_STEP register access Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 122/208] net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 123/208] dpaa2-eth: fix xdp_rxq_info leak Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 124/208] xhci: dbctty: disable ECHO flag by default Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 125/208] xhci: dbc: Flush queued requests before stopping dbc Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 126/208] Logitech C-270 even more broken Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 127/208] usb: typec: displayport: Fix potential deadlock Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 128/208] ACPI: PAD: fix crash in exit_round_robin() Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 129/208] media: uvcvideo: Return the number of processed controls Greg Kroah-Hartman
2025-07-15 13:13 ` [PATCH 5.10 130/208] media: uvcvideo: Send control events for partial succeeds Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 131/208] media: uvcvideo: Rollback non processed entities on error Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 132/208] staging: rtl8723bs: Avoid memset() in aes_cipher() and aes_decipher() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 133/208] drm/exynos: exynos7_drm_decon: add vblank check in IRQ handling Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 134/208] ASoC: fsl_asrc: use internal measured ratio for non-ideal ratio mode Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 135/208] perf: Revert to requiring CAP_SYS_ADMIN for uprobes Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 136/208] fix proc_sys_compare() handling of in-lookup dentries Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 137/208] netlink: Fix wraparounds of sk->sk_rmem_alloc Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 138/208] tipc: Fix use-after-free in tipc_conn_close() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 139/208] vsock: Fix transport_{g2h,h2g} TOCTOU Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 140/208] vm_sockets: Add flags field in the vsock address data structure Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 141/208] vm_sockets: Add VMADDR_FLAG_TO_HOST vsock flag Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 142/208] af_vsock: Set VMADDR_FLAG_TO_HOST flag on the receive path Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 143/208] af_vsock: Assign the vsock transport considering the vsock address flags Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 144/208] vsock: Fix transport_* TOCTOU Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 145/208] vsock: Fix IOCTL_VM_SOCKETS_GET_LOCAL_CID to check also `transport_local` Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 146/208] net: phy: smsc: Fix Auto-MDIX configuration when disabled by strap Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 147/208] net: phy: smsc: Fix link failure in forced mode with Auto-MDIX Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 148/208] atm: clip: Fix potential null-ptr-deref in to_atmarpd() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 149/208] atm: clip: Fix memory leak of struct clip_vcc Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 150/208] atm: clip: Fix infinite recursive call of clip_push() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 151/208] atm: clip: Fix NULL pointer dereference in vcc_sendmsg() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 152/208] net/sched: Abort __tc_modify_qdisc if parent class does not exist Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 153/208] fs/proc: do_task_stat: use __for_each_thread() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 154/208] rxrpc: Fix oops due to non-existence of prealloc backlog struct Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 155/208] Documentation: x86/bugs/its: Add ITS documentation Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 156/208] x86/bhi: Define SPEC_CTRL_BHI_DIS_S Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 157/208] x86/its: Enumerate Indirect Target Selection (ITS) bug Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 158/208] x86/alternatives: Introduce int3_emulate_jcc() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 159/208] x86/alternatives: Teach text_poke_bp() to patch Jcc.d32 instructions Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 160/208] x86/its: Add support for ITS-safe indirect thunk Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 161/208] x86/alternative: Optimize returns patching Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 162/208] x86/alternatives: Remove faulty optimization Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 163/208] x86/its: Add support for ITS-safe return thunk Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 164/208] x86/its: Fix undefined reference to cpu_wants_rethunk_at() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 165/208] x86/its: Enable Indirect Target Selection mitigation Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 166/208] x86/its: Add "vmexit" option to skip mitigation on some CPUs Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 167/208] x86/modules: Set VM_FLUSH_RESET_PERMS in module_alloc() Greg Kroah-Hartman
2025-07-15 13:14 ` Greg Kroah-Hartman [this message]
2025-07-15 13:14 ` [PATCH 5.10 169/208] x86/its: Fix build errors when CONFIG_MODULES=n Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 170/208] x86/its: FineIBT-paranoid vs ITS Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 171/208] x86/mce/amd: Fix threshold limit reset Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 172/208] x86/mce: Dont remove sysfs if thresholding sysfs init fails Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 173/208] x86/mce: Make sure CMCI banks are cleared during shutdown on Intel Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 174/208] pinctrl: qcom: msm: mark certain pins as invalid for interrupts Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 175/208] drm/sched: Increment job count before swapping tail spsc queue Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 176/208] usb: gadget: u_serial: Fix race condition in TTY wakeup Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 177/208] Revert "ACPI: battery: negate current when discharging" Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 178/208] ethernet: atl1: Add missing DMA mapping error checks and count errors Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 179/208] rtc: lib_test: add MODULE_LICENSE Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 180/208] pwm: mediatek: Ensure to disable clocks in error path Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 181/208] netlink: Fix rmem check in netlink_broadcast_deliver() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 182/208] netlink: make sure we allow at least one dump skb Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 183/208] Input: xpad - add support for Amazon Game Controller Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 184/208] Input: xpad - add VID for Turtle Beach controllers Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 185/208] Input: xpad - support Acer NGR 200 Controller Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 186/208] dma-buf: fix timeout handling in dma_resv_wait_timeout v2 Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 187/208] wifi: zd1211rw: Fix potential NULL pointer dereference in zd_mac_tx_to_dev() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 188/208] md/raid1: Fix stack memory use after return in raid1_reshape Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 189/208] net: appletalk: Fix device refcount leak in atrtr_create() Greg Kroah-Hartman
2025-07-15 13:14 ` [PATCH 5.10 190/208] net: phy: microchip: limit 100M workaround to link-down events on LAN88xx Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 191/208] can: m_can: m_can_handle_lost_msg(): downgrade msg lost in rx message to debug level Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 192/208] net: ll_temac: Fix missing tx_pending check in ethtools_set_ringparam() Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 193/208] bnxt_en: Fix DCB ETS validation Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 194/208] bnxt_en: Set DMA unmap len correctly for XDP_REDIRECT Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 195/208] atm: idt77252: Add missing `dma_map_error()` Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 196/208] um: vector: Reduce stack usage in vector_eth_configure() Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 197/208] net: usb: qmi_wwan: add SIMCom 8230C composition Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 198/208] vt: add missing notification when switching back to text mode Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 199/208] HID: Add IGNORE quirk for SMARTLINKTECHNOLOGY Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 200/208] HID: quirks: Add quirk for 2 Chicony Electronics HP 5MP Cameras Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 201/208] Input: atkbd - do not skip atkbd_deactivate() when skipping ATKBD_CMD_GETID Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 202/208] vhost-scsi: protect vq->log_used with vq->mutex Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 203/208] x86/mm: Disable hugetlb page table sharing on 32-bit Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 204/208] x86/bugs: Rename MDS machinery to something more generic Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 205/208] x86/bugs: Add a Transient Scheduler Attacks mitigation Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 206/208] KVM: x86: add support for CPUID leaf 0x80000021 Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 207/208] KVM: SVM: Advertise TSA CPUID bits to guests Greg Kroah-Hartman
2025-07-15 13:15 ` [PATCH 5.10 208/208] x86/process: Move the buffer clearing before MONITOR Greg Kroah-Hartman
2025-07-15 14:36 ` [PATCH 5.10 000/208] 5.10.240-rc1 review Brett Sheffield
2025-07-15 15:50 ` Naresh Kamboju
2025-07-15 16:17 ` Borislav Petkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250715130817.712727942@linuxfoundation.org \
--to=gregkh@linuxfoundation.org \
--cc=alexandre.chartre@oracle.com \
--cc=dave.hansen@linux.intel.com \
--cc=patches@lists.linux.dev \
--cc=pawan.kumar.gupta@linux.intel.com \
--cc=peterz@infradead.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).