linux-kernel.vger.kernel.org archive mirror
 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, Jinghao Jia <jinghao@linux.ibm.com>,
	Yonghong Song <yhs@fb.com>, Alexei Starovoitov <ast@kernel.org>
Subject: [PATCH 5.15 042/244] BPF: Fix potential bad pointer dereference in bpf_sys_bpf()
Date: Tue, 23 Aug 2022 10:23:21 +0200	[thread overview]
Message-ID: <20220823080100.464901625@linuxfoundation.org> (raw)
In-Reply-To: <20220823080059.091088642@linuxfoundation.org>

From: Jinghao Jia <jinghao@linux.ibm.com>

commit e2dcac2f58f5a95ab092d1da237ffdc0da1832cf upstream.

The bpf_sys_bpf() helper function allows an eBPF program to load another
eBPF program from within the kernel. In this case the argument union
bpf_attr pointer (as well as the insns and license pointers inside) is a
kernel address instead of a userspace address (which is the case of a
usual bpf() syscall). To make the memory copying process in the syscall
work in both cases, bpfptr_t was introduced to wrap around the pointer
and distinguish its origin. Specifically, when copying memory contents
from a bpfptr_t, a copy_from_user() is performed in case of a userspace
address and a memcpy() is performed for a kernel address.

This can lead to problems because the in-kernel pointer is never checked
for validity. The problem happens when an eBPF syscall program tries to
call bpf_sys_bpf() to load a program but provides a bad insns pointer --
say 0xdeadbeef -- in the bpf_attr union. The helper calls __sys_bpf()
which would then call bpf_prog_load() to load the program.
bpf_prog_load() is responsible for copying the eBPF instructions to the
newly allocated memory for the program; it creates a kernel bpfptr_t for
insns and invokes copy_from_bpfptr(). Internally, all bpfptr_t
operations are backed by the corresponding sockptr_t operations, which
performs direct memcpy() on kernel pointers for copy_from/strncpy_from
operations. Therefore, the code is always happy to dereference the bad
pointer to trigger a un-handle-able page fault and in turn an oops.
However, this is not supposed to happen because at that point the eBPF
program is already verified and should not cause a memory error.

Sample KASAN trace:

[   25.685056][  T228] ==================================================================
[   25.685680][  T228] BUG: KASAN: user-memory-access in copy_from_bpfptr+0x21/0x30
[   25.686210][  T228] Read of size 80 at addr 00000000deadbeef by task poc/228
[   25.686732][  T228]
[   25.686893][  T228] CPU: 3 PID: 228 Comm: poc Not tainted 5.19.0-rc7 #7
[   25.687375][  T228] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS d55cb5a 04/01/2014
[   25.687991][  T228] Call Trace:
[   25.688223][  T228]  <TASK>
[   25.688429][  T228]  dump_stack_lvl+0x73/0x9e
[   25.688747][  T228]  print_report+0xea/0x200
[   25.689061][  T228]  ? copy_from_bpfptr+0x21/0x30
[   25.689401][  T228]  ? _printk+0x54/0x6e
[   25.689693][  T228]  ? _raw_spin_lock_irqsave+0x70/0xd0
[   25.690071][  T228]  ? copy_from_bpfptr+0x21/0x30
[   25.690412][  T228]  kasan_report+0xb5/0xe0
[   25.690716][  T228]  ? copy_from_bpfptr+0x21/0x30
[   25.691059][  T228]  kasan_check_range+0x2bd/0x2e0
[   25.691405][  T228]  ? copy_from_bpfptr+0x21/0x30
[   25.691734][  T228]  memcpy+0x25/0x60
[   25.692000][  T228]  copy_from_bpfptr+0x21/0x30
[   25.692328][  T228]  bpf_prog_load+0x604/0x9e0
[   25.692653][  T228]  ? cap_capable+0xb4/0xe0
[   25.692956][  T228]  ? security_capable+0x4f/0x70
[   25.693324][  T228]  __sys_bpf+0x3af/0x580
[   25.693635][  T228]  bpf_sys_bpf+0x45/0x240
[   25.693937][  T228]  bpf_prog_f0ec79a5a3caca46_bpf_func1+0xa2/0xbd
[   25.694394][  T228]  bpf_prog_run_pin_on_cpu+0x2f/0xb0
[   25.694756][  T228]  bpf_prog_test_run_syscall+0x146/0x1c0
[   25.695144][  T228]  bpf_prog_test_run+0x172/0x190
[   25.695487][  T228]  __sys_bpf+0x2c5/0x580
[   25.695776][  T228]  __x64_sys_bpf+0x3a/0x50
[   25.696084][  T228]  do_syscall_64+0x60/0x90
[   25.696393][  T228]  ? fpregs_assert_state_consistent+0x50/0x60
[   25.696815][  T228]  ? exit_to_user_mode_prepare+0x36/0xa0
[   25.697202][  T228]  ? syscall_exit_to_user_mode+0x20/0x40
[   25.697586][  T228]  ? do_syscall_64+0x6e/0x90
[   25.697899][  T228]  entry_SYSCALL_64_after_hwframe+0x63/0xcd
[   25.698312][  T228] RIP: 0033:0x7f6d543fb759
[   25.698624][  T228] Code: 08 5b 89 e8 5d c3 66 2e 0f 1f 84 00 00 00 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 97 a6 0e 00 f7 d8 64 89 01 48
[   25.699946][  T228] RSP: 002b:00007ffc3df78468 EFLAGS: 00000287 ORIG_RAX: 0000000000000141
[   25.700526][  T228] RAX: ffffffffffffffda RBX: 00007ffc3df78628 RCX: 00007f6d543fb759
[   25.701071][  T228] RDX: 0000000000000090 RSI: 00007ffc3df78478 RDI: 000000000000000a
[   25.701636][  T228] RBP: 00007ffc3df78510 R08: 0000000000000000 R09: 0000000000300000
[   25.702191][  T228] R10: 0000000000000005 R11: 0000000000000287 R12: 0000000000000000
[   25.702736][  T228] R13: 00007ffc3df78638 R14: 000055a1584aca68 R15: 00007f6d5456a000
[   25.703282][  T228]  </TASK>
[   25.703490][  T228] ==================================================================
[   25.704050][  T228] Disabling lock debugging due to kernel taint

Update copy_from_bpfptr() and strncpy_from_bpfptr() so that:
 - for a kernel pointer, it uses the safe copy_from_kernel_nofault() and
   strncpy_from_kernel_nofault() functions.
 - for a userspace pointer, it performs copy_from_user() and
   strncpy_from_user().

Fixes: af2ac3e13e45 ("bpf: Prepare bpf syscall to be used from kernel and user space.")
Link: https://lore.kernel.org/bpf/20220727132905.45166-1-jinghao@linux.ibm.com/
Signed-off-by: Jinghao Jia <jinghao@linux.ibm.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/r/20220729201713.88688-1-jinghao@linux.ibm.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 include/linux/bpfptr.h |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

--- a/include/linux/bpfptr.h
+++ b/include/linux/bpfptr.h
@@ -48,7 +48,9 @@ static inline void bpfptr_add(bpfptr_t *
 static inline int copy_from_bpfptr_offset(void *dst, bpfptr_t src,
 					  size_t offset, size_t size)
 {
-	return copy_from_sockptr_offset(dst, (sockptr_t) src, offset, size);
+	if (!bpfptr_is_kernel(src))
+		return copy_from_user(dst, src.user + offset, size);
+	return copy_from_kernel_nofault(dst, src.kernel + offset, size);
 }
 
 static inline int copy_from_bpfptr(void *dst, bpfptr_t src, size_t size)
@@ -77,7 +79,9 @@ static inline void *kvmemdup_bpfptr(bpfp
 
 static inline long strncpy_from_bpfptr(char *dst, bpfptr_t src, size_t count)
 {
-	return strncpy_from_sockptr(dst, (sockptr_t) src, count);
+	if (bpfptr_is_kernel(src))
+		return strncpy_from_kernel_nofault(dst, src.kernel, count);
+	return strncpy_from_user(dst, src.user, count);
 }
 
 #endif /* _LINUX_BPFPTR_H */



  parent reply	other threads:[~2022-08-23  9:47 UTC|newest]

Thread overview: 247+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23  8:22 [PATCH 5.15 000/244] 5.15.63-rc1 review Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 001/244] ALSA: info: Fix llseek return value when using callback Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 002/244] ALSA: hda/realtek: Add quirk for Clevo NS50PU, NS70PU Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 003/244] KVM: Unconditionally get a ref to /dev/kvm module when creating a VM Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 004/244] x86/mm: Use proper mask when setting PUD mapping Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 005/244] rds: add missing barrier to release_refill Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 006/244] locking/atomic: Make test_and_*_bit() ordered on failure Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 007/244] drm/nouveau: recognise GA103 Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 008/244] drm/ttm: Fix dummy res NULL ptr deref bug Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 009/244] drm/amd/display: Check correct bounds for stream encoder instances for DCN303 Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 010/244] ata: libata-eh: Add missing command name Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 011/244] mmc: pxamci: Fix another error handling path in pxamci_probe() Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 012/244] mmc: pxamci: Fix an " Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 013/244] mmc: meson-gx: Fix an error handling path in meson_mmc_probe() Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 014/244] btrfs: unset reloc control if transaction commit fails in prepare_to_relocate() Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 015/244] btrfs: reset RO counter on block group if we fail to relocate Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 016/244] btrfs: fix lost error handling when looking up extended ref on log replay Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 017/244] cifs: Fix memory leak on the deferred close Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 018/244] x86/kprobes: Fix JNG/JNLE emulation Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 019/244] tracing/perf: Fix double put of trace event when init fails Greg Kroah-Hartman
2022-08-23  8:22 ` [PATCH 5.15 020/244] tracing/eprobes: Do not allow eprobes to use $stack, or % for regs Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 021/244] tracing/eprobes: Do not hardcode $comm as a string Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 022/244] tracing/eprobes: Have event probes be consistent with kprobes and uprobes Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 023/244] tracing/probes: Have kprobes and uprobes use $COMM too Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 024/244] tracing: Have filter accept "common_cpu" to be consistent Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 025/244] ALSA: usb-audio: More comprehensive mixer map for ASUS ROG Zenith II Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 026/244] dt-bindings: usb: mtk-xhci: Allow wakeup interrupt-names to be optional Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 027/244] can: ems_usb: fix clangs -Wunaligned-access warning Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 028/244] apparmor: fix quiet_denied for file rules Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 029/244] apparmor: fix absroot causing audited secids to begin with = Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 030/244] apparmor: Fix failed mount permission check error message Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 031/244] apparmor: fix aa_label_asxprint return check Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 032/244] apparmor: fix setting unconfined mode on a loaded profile Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 033/244] apparmor: fix overlapping attachment computation Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 034/244] apparmor: fix reference count leak in aa_pivotroot() Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 035/244] apparmor: Fix memleak in aa_simple_write_to_buffer() Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 036/244] Documentation: ACPI: EINJ: Fix obsolete example Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 037/244] NFSv4.1: Dont decrease the value of seq_nr_highest_sent Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 038/244] NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 039/244] NFSv4: Fix races in the legacy idmapper upcall Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 040/244] NFSv4.1: RECLAIM_COMPLETE must handle EACCES Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 041/244] NFSv4/pnfs: Fix a use-after-free bug in open Greg Kroah-Hartman
2022-08-23  8:23 ` Greg Kroah-Hartman [this message]
2022-08-23  8:23 ` [PATCH 5.15 043/244] bpf: Dont reinit map value in prealloc_lru_pop Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 044/244] bpf: Acquire map uref in .init_seq_private for array map iterator Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 045/244] bpf: Acquire map uref in .init_seq_private for hash " Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 046/244] bpf: Acquire map uref in .init_seq_private for sock local storage " Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 047/244] bpf: Acquire map uref in .init_seq_private for sock{map,hash} iterator Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 048/244] bpf: Check the validity of max_rdwr_access for sock local storage map iterator Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 049/244] can: mcp251x: Fix race condition on receive interrupt Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 050/244] can: j1939: j1939_session_destroy(): fix memory leak of skbs Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 051/244] net: atlantic: fix aq_vec index out of range error Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 052/244] m68k: coldfire/device.c: protect FLEXCAN blocks Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 053/244] sunrpc: fix expiry of auth creds Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 054/244] SUNRPC: Fix xdr_encode_bool() Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 055/244] SUNRPC: Reinitialise the backchannel request buffers before reuse Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 056/244] virtio_net: fix memory leak inside XPD_TX with mergeable Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 057/244] devlink: Fix use-after-free after a failed reload Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 058/244] net: phy: Warn about incorrect mdio_bus_phy_resume() state Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 059/244] net: bcmgenet: Indicate MAC is in charge of PHY PM Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 060/244] net: bgmac: Fix a BUG triggered by wrong bytes_compl Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 061/244] selftests: forwarding: Fix failing tests with old libnet Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 062/244] dt-bindings: arm: qcom: fix Alcatel OneTouch Idol 3 compatibles Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 063/244] pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 064/244] pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 065/244] pinctrl: amd: Dont save/restore interrupt status and wake status bits Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 066/244] pinctrl: sunxi: Add I/O bias setting for H6 R-PIO Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 067/244] pinctrl: qcom: sm8250: Fix PDC map Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 068/244] Input: exc3000 - fix return value check of wait_for_completion_timeout Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 069/244] um: Add missing apply_returns() Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 070/244] octeontx2-pf: Fix NIX_AF_TL3_TL2X_LINKX_CFG register configuration Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 071/244] octeontx2-af: Apply tx nibble fixup always Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 072/244] octeontx2-af: suppress external profile loading warning Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 073/244] octeontx2-af: Fix mcam entry resource leak Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 074/244] octeontx2-af: Fix key checking for source mac Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 075/244] ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 076/244] geneve: do not use RT_TOS for IPv6 flowlabel Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 077/244] mlx5: " Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 078/244] ipv6: " Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 079/244] plip: avoid rcu debug splat Greg Kroah-Hartman
2022-08-23  8:23 ` [PATCH 5.15 080/244] vsock: Fix memory leak in vsock_connect() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 081/244] vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 082/244] dt-bindings: gpio: zynq: Add missing compatible strings Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 083/244] dt-bindings: arm: qcom: fix Longcheer L8150 compatibles Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 084/244] dt-bindings: arm: qcom: fix MSM8916 MTP compatibles Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 085/244] dt-bindings: arm: qcom: fix MSM8994 boards compatibles Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 086/244] dt-bindings: clock: qcom,gcc-msm8996: add more GCC clock sources Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 087/244] spi: dt-bindings: cadence: add missing required Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 088/244] spi: dt-bindings: zynqmp-qspi: " Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 089/244] ceph: use correct index when encoding client supported features Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 090/244] tools/vm/slabinfo: use alphabetic order when two values are equal Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 091/244] ceph: dont leak snap_rwsem in handle_cap_grant Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 092/244] kbuild: dummy-tools: avoid tmpdir leak in dummy gcc Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 093/244] tools build: Switch to new openssl API for test-libcrypto Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 094/244] NTB: ntb_tool: uninitialized heap data in tool_fn_write() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 095/244] nfp: ethtool: fix the display error of `ethtool -m DEVNAME` Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 096/244] xen/xenbus: fix return type in xenbus_file_read() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 097/244] atm: idt77252: fix use-after-free bugs caused by tst_timer Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 098/244] geneve: fix TOS inheriting for ipv4 Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 099/244] perf probe: Fix an error handling path in parse_perf_probe_command() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 100/244] perf parse-events: Fix segfault when event parser gets an error Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 101/244] perf tests: Fix Track with sched_switch test for hybrid case Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 102/244] dpaa2-eth: trace the allocated address instead of page struct Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 103/244] fs/ntfs3: Fix using uninitialized value n when calling indx_read Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 104/244] fs/ntfs3: Fix NULL deref in ntfs_update_mftmirr Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 105/244] fs/ntfs3: Dont clear upper bits accidentally in log_replay() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 106/244] fs/ntfs3: Fix double free on remount Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 107/244] fs/ntfs3: Do not change mode if ntfs_set_ea failed Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 108/244] fs/ntfs3: Fix missing i_op in ntfs_read_mft Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 109/244] nios2: page fault et.al. are *not* restartable syscalls Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 110/244] nios2: dont leave NULLs in sys_call_table[] Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 111/244] nios2: traced syscall does need to check the syscall number Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 112/244] nios2: fix syscall restart checks Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 113/244] nios2: restarts apply only to the first sigframe we build Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 114/244] nios2: add force_successful_syscall_return() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 115/244] iavf: Fix adminq error handling Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 116/244] iavf: Fix reset " Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 117/244] ASoC: SOF: debug: Fix potential buffer overflow by snprintf() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 118/244] ASoC: tas2770: Set correct FSYNC polarity Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 119/244] ASoC: tas2770: Allow mono streams Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 120/244] ASoC: tas2770: Drop conflicting set_bias_level power setting Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 121/244] ASoC: tas2770: Fix handling of mute/unmute Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 122/244] ASoC: codec: tlv320aic32x4: fix mono playback via I2S Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 123/244] netfilter: nf_tables: use READ_ONCE and WRITE_ONCE for shared generation id access Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 124/244] fs/ntfs3: uninitialized variable in ntfs_set_acl_ex() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 125/244] netfilter: nf_tables: disallow NFTA_SET_ELEM_KEY_END with NFT_SET_ELEM_INTERVAL_END flag Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 126/244] netfilter: nf_tables: possible module reference underflow in error path Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 127/244] netfilter: nf_tables: really skip inactive sets when allocating name Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 128/244] netfilter: nf_tables: validate NFTA_SET_ELEM_OBJREF based on NFT_SET_OBJECT flag Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 129/244] netfilter: nf_tables: NFTA_SET_ELEM_KEY_END requires concat and interval flags Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 130/244] netfilter: nf_tables: disallow NFT_SET_ELEM_CATCHALL and NFT_SET_ELEM_INTERVAL_END Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 131/244] netfilter: nf_tables: check NFT_SET_CONCAT flag if field_count is specified Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 132/244] powerpc/pci: Fix get_phb_number() locking Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 133/244] spi: meson-spicc: add local pow2 clock ops to preserve rate between messages Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 134/244] net/sunrpc: fix potential memory leaks in rpc_sysfs_xprt_state_change() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 135/244] net: dsa: mv88e6060: prevent crash on an unused port Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 136/244] mlxsw: spectrum: Clear PTP configuration after unregistering the netdevice Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 137/244] net: moxa: pass pdev instead of ndev to DMA functions Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 138/244] net: fix potential refcount leak in ndisc_router_discovery() Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 139/244] net: dsa: microchip: ksz9477: fix fdb_dump last invalid entry Greg Kroah-Hartman
2022-08-23  8:24 ` [PATCH 5.15 140/244] net: dsa: felix: fix ethtool 256-511 and 512-1023 TX packet counters Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 141/244] net: genl: fix error path memory leak in policy dumping Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 142/244] net: dsa: dont warn in dsa_port_set_state_now() when driver doesnt support it Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 143/244] net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions() Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 144/244] ice: Ignore EEXIST when setting promisc mode Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 145/244] i2c: imx: Make sure to unregister adapter on remove() Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 146/244] regulator: pca9450: Remove restrictions for regulator-name Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 147/244] i40e: Fix to stop tx_timeout recovery if GLOBR fails Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 148/244] fec: Fix timer capture timing in `fec_ptp_enable_pps()` Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 149/244] stmmac: intel: Add a missing clk_disable_unprepare() call in intel_eth_pci_remove() Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 150/244] igb: Add lock to avoid data race Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 151/244] kbuild: fix the modules order between drivers and libs Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 152/244] gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 153/244] tracing/eprobes: Fix reading of string fields Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 154/244] drm/imx/dcss: get rid of HPD warning message Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 155/244] ASoC: SOF: Intel: hda: Define rom_status_reg in sof_intel_dsp_desc Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 156/244] ASoC: SOF: Intel: hda: Fix potential buffer overflow by snprintf() Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 157/244] drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors() Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 158/244] drm/sun4i: dsi: Prevent underflow when computing packet sizes Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 159/244] net: qrtr: start MHI channel after endpoit creation Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 160/244] KVM: arm64: Treat PMCR_EL1.LC as RES1 on asymmetric systems Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 161/244] KVM: arm64: Reject 32bit user PSTATE " Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 162/244] HID: multitouch: new device class fix Lenovo X12 trackpad sticky Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 163/244] PCI: Add ACS quirk for Broadcom BCM5750x NICs Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 164/244] platform/chrome: cros_ec_proto: dont show MKBP version if unsupported Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 165/244] usb: cdns3 fix use-after-free at workaround 2 Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 166/244] usb: cdns3: fix random warning message when driver load Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 167/244] usb: gadget: uvc: calculate the number of request depending on framesize Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 168/244] usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 169/244] PCI: aardvark: Fix reporting Slot capabilities on emulated bridge Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 170/244] irqchip/tegra: Fix overflow implicit truncation warnings Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 171/244] drm/meson: " Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 172/244] clk: ti: Stop using legacy clkctrl names for omap4 and 5 Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 173/244] scsi: ufs: ufs-mediatek: Fix the timing of configuring device regulators Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 174/244] usb: host: ohci-ppc-of: Fix refcount leak bug Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 175/244] usb: renesas: " Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 176/244] usb: dwc2: gadget: remove D+ pull-up while no vbus with usb-role-switch Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 177/244] vboxguest: Do not use devm for irq Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 178/244] clk: qcom: ipq8074: dont disable gcc_sleep_clk_src Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 179/244] uacce: Handle parent device removal or parent driver module rmmod Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 180/244] zram: do not lookup algorithm in backends table Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 181/244] clk: qcom: clk-alpha-pll: fix clk_trion_pll_configure description Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 182/244] scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 183/244] scsi: lpfc: Fix possible memory leak when failing to issue CMF WQE Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 184/244] gadgetfs: ep_io - wait until IRQ finishes Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 185/244] coresight: etm4x: avoid build failure with unrolled loops Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 186/244] habanalabs/gaudi: fix shift out of bounds Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 187/244] habanalabs/gaudi: mask constant value before cast Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 188/244] mmc: tmio: avoid glitches when resetting Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 189/244] pinctrl: intel: Check against matching data instead of ACPI companion Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 190/244] cxl: Fix a memory leak in an error handling path Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 191/244] PCI/ACPI: Guard ARM64-specific mcfg_quirks Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 192/244] um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 193/244] dmaengine: dw-axi-dmac: do not print NULL LLI during error Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 194/244] dmaengine: dw-axi-dmac: ignore interrupt if no descriptor Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 195/244] RDMA/rxe: Limit the number of calls to each tasklet Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 196/244] csky/kprobe: reclaim insn_slot on kprobe unregistration Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 197/244] selftests/kprobe: Do not test for GRP/ without event failures Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 198/244] dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 199/244] openrisc: io: Define iounmap argument as volatile Greg Kroah-Hartman
2022-08-23  8:25 ` [PATCH 5.15 200/244] phy: samsung: phy-exynos-pcie: sanitize init/power_on callbacks Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 201/244] md: Notify sysfs sync_completed in md_reap_sync_thread() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 202/244] nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 203/244] drivers:md:fix a potential use-after-free bug Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 204/244] ext4: avoid remove directory when directory is corrupted Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 205/244] ext4: avoid resizing to a partial cluster size Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 206/244] lib/list_debug.c: Detect uninitialized lists Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 207/244] tty: serial: Fix refcount leak bug in ucc_uart.c Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 208/244] KVM: PPC: Book3S HV: Fix "rm_exit" entry in debugfs timings Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 209/244] vfio: Clear the caps->buf to NULL after free Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 210/244] mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 211/244] iommu/io-pgtable-arm-v7s: Add a quirk to allow pgtable PA up to 35bit Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 212/244] modules: Ensure natural alignment for .altinstructions and __bug_table sections Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 213/244] ASoC: rsnd: care default case on rsnd_ssiu_busif_err_irq_ctrl() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 214/244] riscv: dts: sifive: Add fu540 topology information Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 215/244] riscv: dts: sifive: Add fu740 " Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 216/244] riscv: dts: canaan: Add k210 " Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 217/244] riscv: mmap with PROT_WRITE but no PROT_READ is invalid Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 218/244] RISC-V: Add fast call path of crash_kexec() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 219/244] watchdog: export lockup_detector_reconfigure Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 220/244] powerpc/32: Set an IBAT covering up to _einittext during init Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 221/244] powerpc/32: Dont always pass -mcpu=powerpc to the compiler Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 222/244] ovl: warn if trusted xattr creation fails Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 223/244] powerpc/ioda/iommu/debugfs: Generate unique debugfs entries Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 224/244] ALSA: core: Add async signal helpers Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 225/244] ALSA: timer: Use deferred fasync helper Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 226/244] ALSA: control: " Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 227/244] f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 228/244] f2fs: fix to do sanity check on segment type in build_sit_entries() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 229/244] smb3: check xattr value length earlier Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 230/244] powerpc/64: Init jump labels before parse_early_param() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 231/244] venus: pm_helpers: Fix warning in OPP during probe Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 232/244] video: fbdev: i740fb: Check the argument of i740_calc_vclk() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 233/244] MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 234/244] can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once() Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 235/244] scsi: ufs: ufs-mediatek: Fix build error and type mismatch Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 236/244] xfs: flush inodegc workqueue tasks before cancel Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 237/244] xfs: reserve quota for dir expansion when linking/unlinking files Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 238/244] xfs: reserve quota for target dir expansion when renaming files Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 239/244] xfs: remove infinite loop when reserving free block pool Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 240/244] xfs: always succeed at setting the reserve pool size Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 241/244] xfs: fix overfilling of reserve pool Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 242/244] xfs: fix soft lockup via spinning in filestream ag selection loop Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 243/244] xfs: revert "xfs: actually bump warning counts when we send warnings" Greg Kroah-Hartman
2022-08-23  8:26 ` [PATCH 5.15 244/244] xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP* Greg Kroah-Hartman
2022-08-23 21:19 ` [PATCH 5.15 000/244] 5.15.63-rc1 review Guenter Roeck
2022-08-23 21:46 ` Shuah Khan

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=20220823080100.464901625@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=ast@kernel.org \
    --cc=jinghao@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=yhs@fb.com \
    /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).