All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Piotr Krysiuk <piotras@gmail.com>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Johan Almbladh <johan.almbladh@anyfinetworks.com>,
	Paul Burton <paulburton@kernel.org>,
	Thomas Bogendoerfer <tsbogend@alpha.franken.de>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.14 080/172] bpf, mips: Validate conditional branch offsets
Date: Mon,  4 Oct 2021 14:52:10 +0200	[thread overview]
Message-ID: <20211004125047.578467276@linuxfoundation.org> (raw)
In-Reply-To: <20211004125044.945314266@linuxfoundation.org>

From: Piotr Krysiuk <piotras@gmail.com>

[ Upstream commit 37cb28ec7d3a36a5bace7063a3dba633ab110f8b ]

The conditional branch instructions on MIPS use 18-bit signed offsets
allowing for a branch range of 128 KBytes (backward and forward).
However, this limit is not observed by the cBPF JIT compiler, and so
the JIT compiler emits out-of-range branches when translating certain
cBPF programs. A specific example of such a cBPF program is included in
the "BPF_MAXINSNS: exec all MSH" test from lib/test_bpf.c that executes
anomalous machine code containing incorrect branch offsets under JIT.

Furthermore, this issue can be abused to craft undesirable machine
code, where the control flow is hijacked to execute arbitrary Kernel
code.

The following steps can be used to reproduce the issue:

  # echo 1 > /proc/sys/net/core/bpf_jit_enable
  # modprobe test_bpf test_name="BPF_MAXINSNS: exec all MSH"

This should produce multiple warnings from build_bimm() similar to:

  ------------[ cut here ]------------
  WARNING: CPU: 0 PID: 209 at arch/mips/mm/uasm-mips.c:210 build_insn+0x558/0x590
  Micro-assembler field overflow
  Modules linked in: test_bpf(+)
  CPU: 0 PID: 209 Comm: modprobe Not tainted 5.14.3 #1
  Stack : 00000000 807bb824 82b33c9c 801843c0 00000000 00000004 00000000 63c9b5ee
          82b33af4 80999898 80910000 80900000 82fd6030 00000001 82b33a98 82087180
          00000000 00000000 80873b28 00000000 000000fc 82b3394c 00000000 2e34312e
          6d6d6f43 809a180f 809a1836 6f6d203a 80900000 00000001 82b33bac 80900000
          00027f80 00000000 00000000 807bb824 00000000 804ed790 001cc317 00000001
  [...]
  Call Trace:
  [<80108f44>] show_stack+0x38/0x118
  [<807a7aac>] dump_stack_lvl+0x5c/0x7c
  [<807a4b3c>] __warn+0xcc/0x140
  [<807a4c3c>] warn_slowpath_fmt+0x8c/0xb8
  [<8011e198>] build_insn+0x558/0x590
  [<8011e358>] uasm_i_bne+0x20/0x2c
  [<80127b48>] build_body+0xa58/0x2a94
  [<80129c98>] bpf_jit_compile+0x114/0x1e4
  [<80613fc4>] bpf_prepare_filter+0x2ec/0x4e4
  [<8061423c>] bpf_prog_create+0x80/0xc4
  [<c0a006e4>] test_bpf_init+0x300/0xba8 [test_bpf]
  [<8010051c>] do_one_initcall+0x50/0x1d4
  [<801c5e54>] do_init_module+0x60/0x220
  [<801c8b20>] sys_finit_module+0xc4/0xfc
  [<801144d0>] syscall_common+0x34/0x58
  [...]
  ---[ end trace a287d9742503c645 ]---

Then the anomalous machine code executes:

=> 0xc0a18000:  addiu   sp,sp,-16
   0xc0a18004:  sw      s3,0(sp)
   0xc0a18008:  sw      s4,4(sp)
   0xc0a1800c:  sw      s5,8(sp)
   0xc0a18010:  sw      ra,12(sp)
   0xc0a18014:  move    s5,a0
   0xc0a18018:  move    s4,zero
   0xc0a1801c:  move    s3,zero

   # __BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, 0)
   0xc0a18020:  lui     t6,0x8012
   0xc0a18024:  ori     t4,t6,0x9e14
   0xc0a18028:  li      a1,0
   0xc0a1802c:  jalr    t4
   0xc0a18030:  move    a0,s5
   0xc0a18034:  bnez    v0,0xc0a1ffb8           # incorrect branch offset
   0xc0a18038:  move    v0,zero
   0xc0a1803c:  andi    s4,s3,0xf
   0xc0a18040:  b       0xc0a18048
   0xc0a18044:  sll     s4,s4,0x2
   [...]

   # __BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, 0)
   0xc0a1ffa0:  lui     t6,0x8012
   0xc0a1ffa4:  ori     t4,t6,0x9e14
   0xc0a1ffa8:  li      a1,0
   0xc0a1ffac:  jalr    t4
   0xc0a1ffb0:  move    a0,s5
   0xc0a1ffb4:  bnez    v0,0xc0a1ffb8           # incorrect branch offset
   0xc0a1ffb8:  move    v0,zero
   0xc0a1ffbc:  andi    s4,s3,0xf
   0xc0a1ffc0:  b       0xc0a1ffc8
   0xc0a1ffc4:  sll     s4,s4,0x2

   # __BPF_STMT(BPF_LDX | BPF_B | BPF_MSH, 0)
   0xc0a1ffc8:  lui     t6,0x8012
   0xc0a1ffcc:  ori     t4,t6,0x9e14
   0xc0a1ffd0:  li      a1,0
   0xc0a1ffd4:  jalr    t4
   0xc0a1ffd8:  move    a0,s5
   0xc0a1ffdc:  bnez    v0,0xc0a3ffb8           # correct branch offset
   0xc0a1ffe0:  move    v0,zero
   0xc0a1ffe4:  andi    s4,s3,0xf
   0xc0a1ffe8:  b       0xc0a1fff0
   0xc0a1ffec:  sll     s4,s4,0x2
   [...]

   # epilogue
   0xc0a3ffb8:  lw      s3,0(sp)
   0xc0a3ffbc:  lw      s4,4(sp)
   0xc0a3ffc0:  lw      s5,8(sp)
   0xc0a3ffc4:  lw      ra,12(sp)
   0xc0a3ffc8:  addiu   sp,sp,16
   0xc0a3ffcc:  jr      ra
   0xc0a3ffd0:  nop

To mitigate this issue, we assert the branch ranges for each emit call
that could generate an out-of-range branch.

Fixes: 36366e367ee9 ("MIPS: BPF: Restore MIPS32 cBPF JIT")
Fixes: c6610de353da ("MIPS: net: Add BPF JIT")
Signed-off-by: Piotr Krysiuk <piotras@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Tested-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Acked-by: Johan Almbladh <johan.almbladh@anyfinetworks.com>
Cc: Paul Burton <paulburton@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Link: https://lore.kernel.org/bpf/20210915160437.4080-1-piotras@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 arch/mips/net/bpf_jit.c | 57 +++++++++++++++++++++++++++++++----------
 1 file changed, 43 insertions(+), 14 deletions(-)

diff --git a/arch/mips/net/bpf_jit.c b/arch/mips/net/bpf_jit.c
index 0af88622c619..cb6d22439f71 100644
--- a/arch/mips/net/bpf_jit.c
+++ b/arch/mips/net/bpf_jit.c
@@ -662,6 +662,11 @@ static void build_epilogue(struct jit_ctx *ctx)
 	((int)K < 0 ? ((int)K >= SKF_LL_OFF ? func##_negative : func) : \
 	 func##_positive)
 
+static bool is_bad_offset(int b_off)
+{
+	return b_off > 0x1ffff || b_off < -0x20000;
+}
+
 static int build_body(struct jit_ctx *ctx)
 {
 	const struct bpf_prog *prog = ctx->skf;
@@ -728,7 +733,10 @@ static int build_body(struct jit_ctx *ctx)
 			/* Load return register on DS for failures */
 			emit_reg_move(r_ret, r_zero, ctx);
 			/* Return with error */
-			emit_b(b_imm(prog->len, ctx), ctx);
+			b_off = b_imm(prog->len, ctx);
+			if (is_bad_offset(b_off))
+				return -E2BIG;
+			emit_b(b_off, ctx);
 			emit_nop(ctx);
 			break;
 		case BPF_LD | BPF_W | BPF_IND:
@@ -775,8 +783,10 @@ static int build_body(struct jit_ctx *ctx)
 			emit_jalr(MIPS_R_RA, r_s0, ctx);
 			emit_reg_move(MIPS_R_A0, r_skb, ctx); /* delay slot */
 			/* Check the error value */
-			emit_bcond(MIPS_COND_NE, r_ret, 0,
-				   b_imm(prog->len, ctx), ctx);
+			b_off = b_imm(prog->len, ctx);
+			if (is_bad_offset(b_off))
+				return -E2BIG;
+			emit_bcond(MIPS_COND_NE, r_ret, 0, b_off, ctx);
 			emit_reg_move(r_ret, r_zero, ctx);
 			/* We are good */
 			/* X <- P[1:K] & 0xf */
@@ -855,8 +865,10 @@ static int build_body(struct jit_ctx *ctx)
 			/* A /= X */
 			ctx->flags |= SEEN_X | SEEN_A;
 			/* Check if r_X is zero */
-			emit_bcond(MIPS_COND_EQ, r_X, r_zero,
-				   b_imm(prog->len, ctx), ctx);
+			b_off = b_imm(prog->len, ctx);
+			if (is_bad_offset(b_off))
+				return -E2BIG;
+			emit_bcond(MIPS_COND_EQ, r_X, r_zero, b_off, ctx);
 			emit_load_imm(r_ret, 0, ctx); /* delay slot */
 			emit_div(r_A, r_X, ctx);
 			break;
@@ -864,8 +876,10 @@ static int build_body(struct jit_ctx *ctx)
 			/* A %= X */
 			ctx->flags |= SEEN_X | SEEN_A;
 			/* Check if r_X is zero */
-			emit_bcond(MIPS_COND_EQ, r_X, r_zero,
-				   b_imm(prog->len, ctx), ctx);
+			b_off = b_imm(prog->len, ctx);
+			if (is_bad_offset(b_off))
+				return -E2BIG;
+			emit_bcond(MIPS_COND_EQ, r_X, r_zero, b_off, ctx);
 			emit_load_imm(r_ret, 0, ctx); /* delay slot */
 			emit_mod(r_A, r_X, ctx);
 			break;
@@ -926,7 +940,10 @@ static int build_body(struct jit_ctx *ctx)
 			break;
 		case BPF_JMP | BPF_JA:
 			/* pc += K */
-			emit_b(b_imm(i + k + 1, ctx), ctx);
+			b_off = b_imm(i + k + 1, ctx);
+			if (is_bad_offset(b_off))
+				return -E2BIG;
+			emit_b(b_off, ctx);
 			emit_nop(ctx);
 			break;
 		case BPF_JMP | BPF_JEQ | BPF_K:
@@ -1056,12 +1073,16 @@ static int build_body(struct jit_ctx *ctx)
 			break;
 		case BPF_RET | BPF_A:
 			ctx->flags |= SEEN_A;
-			if (i != prog->len - 1)
+			if (i != prog->len - 1) {
 				/*
 				 * If this is not the last instruction
 				 * then jump to the epilogue
 				 */
-				emit_b(b_imm(prog->len, ctx), ctx);
+				b_off = b_imm(prog->len, ctx);
+				if (is_bad_offset(b_off))
+					return -E2BIG;
+				emit_b(b_off, ctx);
+			}
 			emit_reg_move(r_ret, r_A, ctx); /* delay slot */
 			break;
 		case BPF_RET | BPF_K:
@@ -1075,7 +1096,10 @@ static int build_body(struct jit_ctx *ctx)
 				 * If this is not the last instruction
 				 * then jump to the epilogue
 				 */
-				emit_b(b_imm(prog->len, ctx), ctx);
+				b_off = b_imm(prog->len, ctx);
+				if (is_bad_offset(b_off))
+					return -E2BIG;
+				emit_b(b_off, ctx);
 				emit_nop(ctx);
 			}
 			break;
@@ -1133,8 +1157,10 @@ static int build_body(struct jit_ctx *ctx)
 			/* Load *dev pointer */
 			emit_load_ptr(r_s0, r_skb, off, ctx);
 			/* error (0) in the delay slot */
-			emit_bcond(MIPS_COND_EQ, r_s0, r_zero,
-				   b_imm(prog->len, ctx), ctx);
+			b_off = b_imm(prog->len, ctx);
+			if (is_bad_offset(b_off))
+				return -E2BIG;
+			emit_bcond(MIPS_COND_EQ, r_s0, r_zero, b_off, ctx);
 			emit_reg_move(r_ret, r_zero, ctx);
 			if (code == (BPF_ANC | SKF_AD_IFINDEX)) {
 				BUILD_BUG_ON(sizeof_field(struct net_device, ifindex) != 4);
@@ -1244,7 +1270,10 @@ void bpf_jit_compile(struct bpf_prog *fp)
 
 	/* Generate the actual JIT code */
 	build_prologue(&ctx);
-	build_body(&ctx);
+	if (build_body(&ctx)) {
+		module_memfree(ctx.target);
+		goto out;
+	}
 	build_epilogue(&ctx);
 
 	/* Update the icache */
-- 
2.33.0




  parent reply	other threads:[~2021-10-04 13:34 UTC|newest]

Thread overview: 185+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-04 12:50 [PATCH 5.14 000/172] 5.14.10-rc1 review Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 001/172] media: hantro: Fix check for single irq Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 002/172] media: cedrus: Fix SUNXI tile size calculation Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 003/172] media: s5p-jpeg: rename JPEG marker constants to prevent build warnings Greg Kroah-Hartman
2021-10-04 12:50   ` Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 004/172] ASoC: fsl_sai: register platform component before registering cpu dai Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 005/172] ASoC: fsl_esai: " Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 006/172] ASoC: fsl_micfil: " Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 007/172] ASoC: fsl_spdif: " Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 008/172] ASoC: fsl_xcvr: " Greg Kroah-Hartman
2021-10-04 12:50 ` [PATCH 5.14 009/172] ASoC: mediatek: common: handle NULL case in suspend/resume function Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 010/172] scsi: elx: efct: Fix void-pointer-to-enum-cast warning for efc_nport_topology Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 011/172] ASoC: SOF: Fix DSP oops stack dump output contents Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 012/172] ASoC: SOF: imx: imx8: Bar index is only valid for IRAM and SRAM types Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 013/172] ASoC: SOF: imx: imx8m: " Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 014/172] pinctrl: qcom: spmi-gpio: correct parent irqspec translation Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 015/172] net/mlx4_en: Resolve bad operstate value Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 016/172] s390/qeth: Fix deadlock in remove_discipline Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 017/172] s390/qeth: fix deadlock during failing recovery Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 018/172] crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd() Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 019/172] m68k: Update ->thread.esp0 before calling syscall_trace() in ret_from_signal Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 020/172] NIOS2: fix kconfig unmet dependency warning for SERIAL_CORE_CONSOLE Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 021/172] kasan: fix Kconfig check of CC_HAS_WORKING_NOSANITIZE_ADDRESS Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 022/172] HID: amd_sfh: Fix potential NULL pointer dereference Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 023/172] perf test: Fix DWARF unwind for optimized builds Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 024/172] perf iostat: Use system-wide mode if the target cpu_list is unspecified Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 025/172] perf iostat: Fix Segmentation fault from NULL struct perf_counts_values * Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 026/172] watchdog/sb_watchdog: fix compilation problem due to COMPILE_TEST Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 027/172] tty: Fix out-of-bound vmalloc access in imageblit Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 028/172] cpufreq: schedutil: Use kobject release() method to free sugov_tunables Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 029/172] scsi: qla2xxx: Changes to support kdump kernel for NVMe BFS Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 030/172] drm/amdgpu: adjust fence driver enable sequence Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 031/172] drm/amdgpu: avoid over-handle of fence driver fini in s3 test (v2) Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 032/172] drm/amdgpu: stop scheduler when calling hw_fini (v2) Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 033/172] cpufreq: schedutil: Destroy mutex before kobject_put() frees the memory Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 034/172] scsi: ufs: ufs-pci: Fix Intel LKF link stability Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 035/172] ALSA: rawmidi: introduce SNDRV_RAWMIDI_IOCTL_USER_PVERSION Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 036/172] ALSA: firewire-motu: fix truncated bytes in message tracepoints Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 037/172] ALSA: hda/realtek: Quirks to enable speaker output for Lenovo Legion 7i 15IMHG05, Yoga 7i 14ITL5/15ITL5, and 13s Gen2 laptops Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 038/172] ACPI: NFIT: Use fallback node id when numa info in NFIT table is incorrect Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 039/172] fs-verity: fix signed integer overflow with i_size near S64_MAX Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 040/172] hwmon: (tmp421) handle I2C errors Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 041/172] hwmon: (w83793) Fix NULL pointer dereference by removing unnecessary structure field Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 042/172] hwmon: (w83792d) " Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 043/172] hwmon: (w83791d) " Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 044/172] gpio: pca953x: do not ignore i2c errors Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 045/172] scsi: ufs: Fix illegal offset in UPIU event trace Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 046/172] mac80211: fix use-after-free in CCMP/GCMP RX Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 047/172] platform/x86/intel: hid: Add DMI switches allow list Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 048/172] x86/kvmclock: Move this_cpu_pvti into kvmclock.h Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 049/172] ptp: Fix ptp_kvm_getcrosststamp issue for x86 ptp_kvm Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 050/172] KVM: x86: Fix stack-out-of-bounds memory access from ioapic_write_indirect() Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 051/172] KVM: x86: nSVM: dont copy virt_ext from vmcb12 Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 052/172] KVM: x86: Clear KVMs cached guest CR3 at RESET/INIT Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 053/172] KVM: x86: Swap order of CPUID entry "index" vs. "significant flag" checks Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 054/172] KVM: nVMX: Filter out all unsupported controls when eVMCS was activated Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 055/172] KVM: SEV: Update svm_vm_copy_asid_from for SEV-ES Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 056/172] KVM: SEV: Pin guest memory for write for RECEIVE_UPDATE_DATA Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 057/172] KVM: SEV: Acquire vcpu mutex when updating VMSA Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 058/172] KVM: SEV: Allow some commands for mirror VM Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 059/172] KVM: SVM: fix missing sev_decommission in sev_receive_start Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 060/172] KVM: nVMX: Fix nested bus lock VM exit Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 061/172] KVM: VMX: Fix a TSX_CTRL_CPUID_CLEAR field mask issue Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 062/172] mmc: renesas_sdhi: fix regression with hard reset on old SDHIs Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 063/172] media: ir_toy: prevent device from hanging during transmit Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 064/172] RDMA/cma: Do not change route.addr.src_addr.ss_family Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 065/172] RDMA/cma: Ensure rdma_addr_cancel() happens before issuing more requests Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 066/172] nbd: use shifts rather than multiplies Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 067/172] drm/amd/display: initialize backlight_ramping_override to false Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 068/172] drm/amd/display: Pass PCI deviceid into DC Greg Kroah-Hartman
2021-10-04 12:51 ` [PATCH 5.14 069/172] drm/amd/display: Fix Display Flicker on embedded panels Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 070/172] drm/amdgpu: force exit gfxoff on sdma resume for rmb s0ix Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 071/172] drm/amdgpu: check tiling flags when creating FB on GFX8- Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 072/172] drm/amdgpu: correct initial cp_hqd_quantum for gfx9 Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 073/172] interconnect: qcom: sdm660: Fix id of slv_cnoc_mnoc_cfg Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 074/172] interconnect: qcom: sdm660: Correct NOC_QOS_PRIORITY shift and mask Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 075/172] drm/i915/gvt: fix the usage of ww lock in gvt scheduler Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 076/172] ipvs: check that ip_vs_conn_tab_bits is between 8 and 20 Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 077/172] bpf: Handle return value of BPF_PROG_TYPE_STRUCT_OPS prog Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 078/172] IB/cma: Do not send IGMP leaves for sendonly Multicast groups Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 079/172] RDMA/cma: Fix listener leak in rdma_cma_listen_on_all() failure Greg Kroah-Hartman
2021-10-04 12:52 ` Greg Kroah-Hartman [this message]
2021-10-04 12:52 ` [PATCH 5.14 081/172] hwmon: (mlxreg-fan) Return non-zero value when fan current state is enforced from sysfs Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 082/172] RDMA/irdma: Skip CQP ring during a reset Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 083/172] RDMA/irdma: Validate number of CQ entries on create CQ Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 084/172] RDMA/irdma: Report correct WC error when transport retry counter is exceeded Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 085/172] RDMA/irdma: Report correct WC error when there are MW bind errors Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 086/172] netfilter: nf_tables: unlink table before deleting it Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 087/172] netfilter: log: work around missing softdep backend module Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 088/172] Revert "mac80211: do not use low data rates for data frames with no ack flag" Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 089/172] mac80211: Fix ieee80211_amsdu_aggregate frag_tail bug Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 090/172] mac80211: limit injected vht mcs/nss in ieee80211_parse_tx_radiotap Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 091/172] mac80211: mesh: fix potentially unaligned access Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 092/172] mac80211-hwsim: fix late beacon hrtimer handling Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 093/172] driver core: fw_devlink: Add support for FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 094/172] net: mdiobus: Set FWNODE_FLAG_NEEDS_CHILD_BOUND_ON_ADD for mdiobus parents Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 095/172] sctp: break out if skb_header_pointer returns NULL in sctp_rcv_ootb Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 096/172] mptcp: dont return sockets in foreign netns Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 097/172] mptcp: allow changing the backup bit when no sockets are open Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 098/172] RDMA/hns: Work around broken constant propagation in gcc 8 Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 099/172] hwmon: (tmp421) report /PVLD condition as fault Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 100/172] hwmon: (tmp421) fix rounding for negative values Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 101/172] net: enetc: fix the incorrect clearing of IF_MODE bits Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 102/172] net: ipv4: Fix rtnexthop len when RTA_FLOW is present Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 103/172] smsc95xx: fix stalled rx after link change Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 104/172] drm/i915/request: fix early tracepoints Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 105/172] drm/i915: Remove warning from the rps worker Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 106/172] dsa: mv88e6xxx: 6161: Use chip wide MAX MTU Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 107/172] dsa: mv88e6xxx: Fix MTU definition Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 108/172] dsa: mv88e6xxx: Include tagger overhead when setting MTU for DSA and CPU ports Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 109/172] e100: fix length calculation in e100_get_regs_len Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 110/172] e100: fix buffer overrun in e100_get_regs Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 111/172] RDMA/hfi1: Fix kernel pointer leak Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 112/172] RDMA/hns: Fix the size setting error when copying CQE in clean_cq() Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 113/172] RDMA/hns: Add the check of the CQE size of the user space Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 114/172] bpf: Exempt CAP_BPF from checks against bpf_jit_limit Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 115/172] libbpf: Fix segfault in static linker for objects without BTF Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 116/172] selftests, bpf: Fix makefile dependencies on libbpf Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 117/172] selftests, bpf: test_lwt_ip_encap: Really disable rp_filter Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 118/172] bpf, x86: Fix bpf mapping of atomic fetch implementation Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 119/172] net: ks8851: fix link error Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 120/172] ionic: fix gathering of debug stats Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 121/172] Revert "block, bfq: honor already-setup queue merges" Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 122/172] scsi: csiostor: Add module softdep on cxgb4 Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 123/172] ixgbe: Fix NULL pointer dereference in ixgbe_xdp_setup Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 124/172] net: hns3: do not allow call hns3_nic_net_open repeatedly Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 125/172] net: hns3: remove tc enable checking Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 126/172] net: hns3: dont rollback when destroy mqprio fail Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 127/172] net: hns3: fix mixed flag HCLGE_FLAG_MQPRIO_ENABLE and HCLGE_FLAG_DCB_ENABLE Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 128/172] net: hns3: fix show wrong state when add existing uc mac address Greg Kroah-Hartman
2021-10-04 12:52 ` [PATCH 5.14 129/172] net: hns3: reconstruct function hns3_self_test Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 130/172] net: hns3: fix always enable rx vlan filter problem after selftest Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 131/172] net: hns3: disable firmware compatible features when uninstall PF Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 132/172] net: phy: bcm7xxx: Fixed indirect MMD operations Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 133/172] net: introduce and use lock_sock_fast_nested() Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 134/172] net: sched: flower: protect fl_walk() with rcu Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 135/172] net: stmmac: fix EEE init issue when paired with EEE capable PHYs Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 136/172] af_unix: fix races in sk_peer_pid and sk_peer_cred accesses Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 137/172] objtool: Teach get_alt_entry() about more relocation types Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 138/172] perf/x86/intel: Update event constraints for ICX Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 139/172] sched/fair: Add ancestors of unthrottled undecayed cfs_rq Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 140/172] sched/fair: Null terminate buffer when updating tunable_scaling Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 141/172] hwmon: (occ) Fix P10 VRM temp sensors Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 142/172] hwmon: (pmbus/mp2975) Add missed POUT attribute for page 1 mp2975 controller Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 143/172] kvm: fix objtool relocation warning Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 144/172] nvme: add command id quirk for apple controllers Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 145/172] elf: dont use MAP_FIXED_NOREPLACE for elf interpreter mappings Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 146/172] driver core: fw_devlink: Improve handling of cyclic dependencies Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 147/172] debugfs: debugfs_create_file_size(): use IS_ERR to check for error Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 148/172] ipack: ipoctal: fix stack information leak Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 149/172] ipack: ipoctal: fix tty registration race Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 150/172] ipack: ipoctal: fix tty-registration error handling Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 151/172] ipack: ipoctal: fix missing allocation-failure check Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 152/172] ipack: ipoctal: fix module reference leak Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 153/172] ext4: fix loff_t overflow in ext4_max_bitmap_size() Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 154/172] ext4: limit the number of blocks in one ADD_RANGE TLV Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 155/172] ext4: fix reserved space counter leakage Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 156/172] ext4: add error checking to ext4_ext_replay_set_iblocks() Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 157/172] ext4: fix potential infinite loop in ext4_dx_readdir() Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 158/172] ext4: flush s_error_work before journal destroy in ext4_fill_super Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 159/172] HID: u2fzero: ignore incomplete packets without data Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 160/172] net: udp: annotate data race around udp_sk(sk)->corkflag Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 161/172] NIOS2: setup.c: drop unused variable dram_start Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 162/172] usb: hso: remove the bailout parameter Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 163/172] HID: betop: fix slab-out-of-bounds Write in betop_probe Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 164/172] netfilter: ipset: Fix oversized kvmalloc() calls Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 165/172] mm: dont allow " Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 166/172] HID: usbhid: free raw_report buffers in usbhid_stop Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 167/172] crypto: aesni - xts_crypt() return if walk.nbytes is 0 Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 168/172] net: mdiobus: Fix memory leak in __mdiobus_register Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 169/172] KVM: x86: Handle SRCU initialization failure during page track init Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 170/172] netfilter: conntrack: serialize hash resizes and cleanups Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 171/172] netfilter: nf_tables: Fix oversized kvmalloc() calls Greg Kroah-Hartman
2021-10-04 12:53 ` [PATCH 5.14 172/172] drivers: net: mhi: fix error path in mhi_net_newlink Greg Kroah-Hartman
2021-10-04 18:06 ` [PATCH 5.14 000/172] 5.14.10-rc1 review Pavel Machek
2021-10-04 18:08   ` Pavel Machek
2021-10-04 18:36 ` Fox Chen
2021-10-04 19:45 ` Shuah Khan
2021-10-04 21:01 ` Florian Fainelli
2021-10-05  2:20 ` Guenter Roeck
2021-10-05  2:27   ` Guenter Roeck
2021-10-05  4:00 ` Naresh Kamboju
2021-10-05  6:41   ` Greg Kroah-Hartman
2021-10-05  4:04 ` Naresh Kamboju
2021-10-05  6:41   ` Greg Kroah-Hartman

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=20211004125047.578467276@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=daniel@iogearbox.net \
    --cc=johan.almbladh@anyfinetworks.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulburton@kernel.org \
    --cc=piotras@gmail.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=tsbogend@alpha.franken.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.