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, Qu Wenruo <wqu@suse.com>,
	Filipe Manana <fdmanana@suse.com>,
	David Sterba <dsterba@suse.com>
Subject: [PATCH 5.7 034/204] btrfs: trim: fix underflow in trim length to prevent access beyond device boundary
Date: Thu, 20 Aug 2020 11:18:51 +0200	[thread overview]
Message-ID: <20200820091607.970513537@linuxfoundation.org> (raw)
In-Reply-To: <20200820091606.194320503@linuxfoundation.org>

From: Qu Wenruo <wqu@suse.com>

commit c57dd1f2f6a7cd1bb61802344f59ccdc5278c983 upstream.

[BUG]
The following script can lead to tons of beyond device boundary access:

  mkfs.btrfs -f $dev -b 10G
  mount $dev $mnt
  trimfs $mnt
  btrfs filesystem resize 1:-1G $mnt
  trimfs $mnt

[CAUSE]
Since commit 929be17a9b49 ("btrfs: Switch btrfs_trim_free_extents to
find_first_clear_extent_bit"), we try to avoid trimming ranges that's
already trimmed.

So we check device->alloc_state by finding the first range which doesn't
have CHUNK_TRIMMED and CHUNK_ALLOCATED not set.

But if we shrunk the device, that bits are not cleared, thus we could
easily got a range starts beyond the shrunk device size.

This results the returned @start and @end are all beyond device size,
then we call "end = min(end, device->total_bytes -1);" making @end
smaller than device size.

Then finally we goes "len = end - start + 1", totally underflow the
result, and lead to the beyond-device-boundary access.

[FIX]
This patch will fix the problem in two ways:

- Clear CHUNK_TRIMMED | CHUNK_ALLOCATED bits when shrinking device
  This is the root fix

- Add extra safety check when trimming free device extents
  We check and warn if the returned range is already beyond current
  device.

Link: https://github.com/kdave/btrfs-progs/issues/282
Fixes: 929be17a9b49 ("btrfs: Switch btrfs_trim_free_extents to find_first_clear_extent_bit")
CC: stable@vger.kernel.org # 5.4+
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Filipe Manana <fdmanana@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

---
 fs/btrfs/extent-io-tree.h |    2 ++
 fs/btrfs/extent-tree.c    |   14 ++++++++++++++
 fs/btrfs/volumes.c        |    4 ++++
 3 files changed, 20 insertions(+)

--- a/fs/btrfs/extent-io-tree.h
+++ b/fs/btrfs/extent-io-tree.h
@@ -34,6 +34,8 @@ struct io_failure_record;
  */
 #define CHUNK_ALLOCATED				EXTENT_DIRTY
 #define CHUNK_TRIMMED				EXTENT_DEFRAG
+#define CHUNK_STATE_MASK			(CHUNK_ALLOCATED |		\
+						 CHUNK_TRIMMED)
 
 enum {
 	IO_TREE_FS_PINNED_EXTENTS,
--- a/fs/btrfs/extent-tree.c
+++ b/fs/btrfs/extent-tree.c
@@ -33,6 +33,7 @@
 #include "delalloc-space.h"
 #include "block-group.h"
 #include "discard.h"
+#include "rcu-string.h"
 
 #undef SCRAMBLE_DELAYED_REFS
 
@@ -5685,6 +5686,19 @@ static int btrfs_trim_free_extents(struc
 					    &start, &end,
 					    CHUNK_TRIMMED | CHUNK_ALLOCATED);
 
+		/* Check if there are any CHUNK_* bits left */
+		if (start > device->total_bytes) {
+			WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG));
+			btrfs_warn_in_rcu(fs_info,
+"ignoring attempt to trim beyond device size: offset %llu length %llu device %s device size %llu",
+					  start, end - start + 1,
+					  rcu_str_deref(device->name),
+					  device->total_bytes);
+			mutex_unlock(&fs_info->chunk_mutex);
+			ret = 0;
+			break;
+		}
+
 		/* Ensure we skip the reserved area in the first 1M */
 		start = max_t(u64, start, SZ_1M);
 
--- a/fs/btrfs/volumes.c
+++ b/fs/btrfs/volumes.c
@@ -4724,6 +4724,10 @@ again:
 	}
 
 	mutex_lock(&fs_info->chunk_mutex);
+	/* Clear all state bits beyond the shrunk device size */
+	clear_extent_bits(&device->alloc_state, new_size, (u64)-1,
+			  CHUNK_STATE_MASK);
+
 	btrfs_device_set_disk_total_bytes(device, new_size);
 	if (list_empty(&device->post_commit_list))
 		list_add_tail(&device->post_commit_list,



  parent reply	other threads:[~2020-08-20 13:10 UTC|newest]

Thread overview: 209+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-20  9:18 [PATCH 5.7 000/204] 5.7.17-rc1 review Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 001/204] smb3: warn on confusing error scenario with sec=krb5 Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 002/204] genirq/affinity: Make affinity setting if activated opt-in Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 003/204] genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq() Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 004/204] PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context() Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 005/204] PCI/ATS: Add pci_pri_supported() to check device or associated PF Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 006/204] PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 007/204] PCI: Add device even if driver attach failed Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 008/204] PCI: qcom: Define some PARF params needed for ipq8064 SoC Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 009/204] PCI: qcom: Add support for tx term offset for rev 2.1.0 Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 010/204] btrfs: allow use of global block reserve for balance item deletion Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 011/204] btrfs: free anon block device right after subvolume deletion Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 012/204] btrfs: dont allocate anonymous block device for user invisible roots Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 013/204] btrfs: ref-verify: fix memory leak in add_block_entry Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 014/204] btrfs: only commit the delayed inode when doing a full fsync Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 015/204] btrfs: stop incremening log_batch for the log root tree when syncing log Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 016/204] btrfs: only commit delayed items at fsync if we are logging a directory Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 017/204] btrfs: remove no longer needed use of log_writers for the log root tree Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 018/204] btrfs: dont traverse into the seed devices in show_devname Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 019/204] btrfs: pass checksum type via BTRFS_IOC_FS_INFO ioctl Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 020/204] btrfs: open device without device_list_mutex Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 021/204] btrfs: move the chunk_mutex in btrfs_read_chunk_tree Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 022/204] btrfs: relocation: review the call sites which can be interrupted by signal Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 023/204] btrfs: add missing check for nocow and compression inode flags Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 024/204] btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 025/204] btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 026/204] btrfs: sysfs: use NOFS for device creation Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 027/204] btrfs: dont WARN if we abort a transaction with EROFS Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 028/204] btrfs: fix race between page release and a fast fsync Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 029/204] btrfs: dont show full path of bind mounts in subvol= Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 030/204] btrfs: fix messages after changing compression level by remount Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 031/204] btrfs: only search for left_info if there is no right_info in try_merge_free_space Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 032/204] btrfs: inode: fix NULL pointer dereference if inode doesnt need compression Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 033/204] btrfs: fix memory leaks after failure to lookup checksums during inode logging Greg Kroah-Hartman
2020-08-20  9:18 ` Greg Kroah-Hartman [this message]
2020-08-20  9:18 ` [PATCH 5.7 035/204] btrfs: make sure SB_I_VERSION doesnt get unset by remount Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 036/204] btrfs: fix return value mixup in btrfs_get_extent Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 037/204] arm64: perf: Correct the event index in sysfs Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 038/204] dt-bindings: iio: io-channel-mux: Fix compatible string in example code Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 039/204] iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw() Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 040/204] iio: imu: st_lsm6dsx: reset hw ts after resume Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 041/204] xtensa: add missing exclusive access state management Greg Kroah-Hartman
2020-08-20  9:18 ` [PATCH 5.7 042/204] xtensa: fix xtensa_pmu_setup prototype Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 043/204] cifs: Fix leak when handling lease break for cached root fid Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 044/204] powerpc/ptdump: Fix build failure in hashpagetable.c Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 045/204] powerpc: Allow 4224 bytes of stack expansion for the signal frame Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 046/204] powerpc: Fix circular dependency between percpu.h and mmu.h Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 047/204] pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 048/204] pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 049/204] media: venus: fix multiple encoder crash Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 050/204] media: vsp1: dl: Fix NULL pointer dereference on unbind Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 051/204] net: ethernet: stmmac: Disable hardware multicast filter Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 052/204] net: stmmac: dwmac1000: provide multicast filter fallback Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 053/204] irqchip/loongson-liointc: Fix misuse of gc->mask_cache Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 054/204] irqchip/gic-v4.1: Ensure accessing the correct RD when writing INVALLR Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 055/204] pidfd: Add missing sock updates for pidfd_getfd() Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 056/204] net/compat: Add missing sock updates for SCM_RIGHTS Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 057/204] selftests/seccomp: Set NNP for TSYNC ESRCH flag test Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 058/204] md/raid5: Fix Force reconstruct-write io stuck in degraded raid5 Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 059/204] bcache: allocate meta data pages as compound pages Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 060/204] bcache: fix overflow in offset_to_stripe() Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 061/204] mac80211: fix misplaced while instead of if Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 062/204] driver core: Avoid binding drivers to dead devices Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 063/204] MIPS: CPU#0 is not hotpluggable Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 064/204] MIPS: qi_lb60: Fix routing to audio amplifier Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 065/204] MIPS: SGI-IP27: always enable NUMA in Kconfig Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 066/204] ext2: fix missing percpu_counter_inc Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 067/204] khugepaged: collapse_pte_mapped_thp() flush the right range Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 068/204] mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 069/204] khugepaged: collapse_pte_mapped_thp() protect the pmd lock Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 070/204] hugetlbfs: remove call to huge_pte_alloc without i_mmap_rwsem Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 071/204] mm/shuffle: dont move pages between zones and dont read garbage memmaps Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 072/204] ocfs2: change slot number type s16 to u16 Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 073/204] mm/page_counter.c: fix protection usage propagation Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 074/204] cma: dont quit at first error when activating reserved areas Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 075/204] mm/memory_hotplug: fix unpaired mem_hotplug_begin/done Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 076/204] ftrace: Setup correct FTRACE_FL_REGS flags for module Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 077/204] kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 078/204] tracing/hwlat: Honor the tracing_cpumask Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 079/204] tracing: Use trace_sched_process_free() instead of exit() for pid tracing Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 080/204] watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 081/204] watchdog: f71808e_wdt: remove use of wrong watchdog_info option Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 082/204] watchdog: f71808e_wdt: clear watchdog timeout occurred flag Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 083/204] ceph: set sec_context xattr on symlink creation Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 084/204] ceph: handle zero-length feature mask in session messages Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 085/204] pseries: Fix 64 bit logical memory block panic Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 086/204] dm: dont call report zones for more than the user requested Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 087/204] module: Correctly truncate sysfs sections output Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 088/204] bootconfig: Fix to find the initargs correctly Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 089/204] perf probe: Fix wrong variable warning when the probe point is not found Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 090/204] perf probe: Fix memory leakage " Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 091/204] perf intel-pt: Fix FUP packet state Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 092/204] perf intel-pt: Fix duplicate branch after CBR Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 093/204] gfs2: Never call gfs2_block_zero_range with an open transaction Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 094/204] remoteproc: qcom: q6v5: Update running state before requesting stop Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 095/204] remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 096/204] remoteproc: qcom_q6v5_mss: Validate modem blob " Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 097/204] drm/imx: imx-ldb: Disable both channels for split mode in enc->disable() Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 098/204] drm/ingenic: Fix incorrect assumption about plane->index Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 099/204] crypto: algif_aead - Only wake up when ctx->more is zero Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 100/204] mfd: arizona: Ensure 32k clock is put on driver unbind and error Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 101/204] octeontx2-af: change (struct qmem)->entry_sz from u8 to u16 Greg Kroah-Hartman
2020-08-20  9:19 ` [PATCH 5.7 102/204] mtd: rawnand: fsl_upm: Remove unused mtd var Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 103/204] mtd: rawnand: brcmnand: ECC error handling on EDU transfers Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 104/204] platform/chrome: cros_ec_ishtp: Fix a double-unlock issue Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 105/204] RDMA/ipoib: Return void from ipoib_ib_dev_stop() Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 106/204] RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah() Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 107/204] rtc: cpcap: fix range Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 108/204] media: staging: rkisp1: remove macro RKISP1_DIR_SINK_SRC Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 109/204] media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 110/204] media: rockchip: rga: Only set output CSC mode for RGB input Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 111/204] IB/uverbs: Set IOVA on IB MR in uverbs layer Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 112/204] sched/uclamp: Protect uclamp fast path code with static key Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 113/204] selftests/bpf: Test_progs indicate to shell on non-actions Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 114/204] bpf: selftests: Restore netns after each test Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 115/204] selftests/bpf: test_progs use another shell exit on non-actions Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 116/204] selftests/bpf: test_progs avoid minus shell exit codes Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 117/204] USB: serial: ftdi_sio: make process-packet buffer unsigned Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 118/204] USB: serial: ftdi_sio: clean up receive processing Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 119/204] USB: serial: ftdi_sio: fix break and sysrq handling Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 120/204] crypto: af_alg - Fix regression on empty requests Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 121/204] devres: keep both device name and resource name in pretty name Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 122/204] RDMA/counter: Only bind user QPs in auto mode Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 123/204] RDMA/counter: Allow manually bind QPs with different pids to same counter Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 124/204] mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 125/204] rtw88: pci: disable aspm for platform inter-op with module parameter Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 126/204] rtc: pl031: fix set_alarm by adding back call to alarm_irq_enable Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 127/204] crypto: caam - Remove broken arc4 support Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 128/204] gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 129/204] gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 130/204] dm rq: dont call blk_mq_queue_stopped() in dm_stop_queue() Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 131/204] ima: Fail rule parsing when appraise_flag=blacklist is unsupportable Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 132/204] f2fs: compress: fix to avoid memory leak on cc->cpages Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 133/204] clk: actions: Fix h_clk for Actions S500 SoC Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 134/204] selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 135/204] selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 136/204] selftests/powerpc: ptrace-pkey: Dont update expected UAMOR value Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 137/204] iommu/omap: Check for failure of a call to omap_iommu_dump_ctx Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 138/204] clk: qcom: gcc: fix sm8150 GPU and NPU clocks Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 139/204] clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 140/204] iommu/vt-d: Enforce PASID devTLB field mask Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 141/204] i2c: rcar: slave: only send STOP event when we have been addressed Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 142/204] f2fs: compress: fix to update isize when overwriting compressed file Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 143/204] clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 144/204] clk: clk-atlas6: fix return value check in atlas6_clk_init() Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 145/204] nvme: fix deadlock in disconnect during scan_work and/or ana_work Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 146/204] sched/uclamp: Fix a deadlock when enabling uclamp static key Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 147/204] pwm: bcm-iproc: handle clk_get_rate() return Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 148/204] tools build feature: Use CC and CXX from parent Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 149/204] i2c: rcar: avoid race when unregistering slave Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 150/204] nfs: ensure correct writeback errors are returned on close() Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 151/204] ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 152/204] clk: bcm2835: Do not use prediv with bcm2711s PLLs Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 153/204] libnvdimm/security: fix a typo Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 154/204] libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 155/204] openrisc: Fix oops caused when dumping stack Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 156/204] scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 157/204] nfs: nfs_file_write() should check for writeback errors Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 158/204] watchdog: initialize device before misc_register Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 159/204] watchdog: rti-wdt: balance pm runtime enable calls Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 160/204] md-cluster: Fix potential error pointer dereference in resize_bitmaps() Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 161/204] x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC Greg Kroah-Hartman
2020-08-20  9:20 ` [PATCH 5.7 162/204] x86/bugs/multihit: Fix mitigation reporting when VMX is not in use Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 163/204] selftests/bpf: Prevent runqslower from racing on building bpftool Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 164/204] Input: sentelic - fix error return when fsp_reg_write fails Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 165/204] vdpa_sim: init iommu lock Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 166/204] recordmcount: Fix build failure on non arm64 Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 167/204] vdpa: Fix pointer math bug in vdpasim_get_config() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 168/204] drm/vmwgfx: Use correct vmw_legacy_display_unit pointer Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 169/204] drm/vmwgfx: Fix two list_for_each loop exit tests Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 170/204] s390/test_unwind: fix possible memleak in test_unwind() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 171/204] s390/Kconfig: add missing ZCRYPT dependency to VFIO_AP Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 172/204] net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 173/204] nfs: Fix getxattr kernel panic and memory overflow Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 174/204] NFS: Fix flexfiles read failover Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 175/204] lib/test_lockup.c: fix return value of test_lockup_init() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 176/204] fs/minix: set s_maxbytes correctly Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 177/204] fs/minix: fix block limit check for V1 filesystems Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 178/204] fs/minix: remove expected error message in block_to_path() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 179/204] fs/ufs: avoid potential u32 multiplication overflow Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 180/204] test_kmod: avoid potential double free in trigger_config_run_type() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 181/204] i2c: iproc: fix race between client unreg and isr Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 182/204] mfd: dln2: Run event handler loop under spinlock Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 183/204] crypto: algif_aead - fix uninitialized ctx->init Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 184/204] ALSA: echoaudio: Fix potential Oops in snd_echo_resume() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 185/204] perf bench mem: Always memset source before memcpy Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 186/204] tools build feature: Quote CC and CXX for their arguments Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 187/204] perf/x86/rapl: Fix missing psys sysfs attributes Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 188/204] sh: landisk: Add missing initialization of sh_io_port_base Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 189/204] khugepaged: retract_page_tables() remember to test exit Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 190/204] ASoC: tegra: Use device managed resource APIs to get the clock Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 191/204] ASoC: tegra: Add audio mclk parent configuration Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 192/204] ASoC: tegra: Enable audio mclk during tegra_asoc_utils_init() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 193/204] drm/radeon: fix fb_div check in ni_init_smc_spll_table() Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 194/204] drm/i915/gt: Force the GT reset on shutdown Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 195/204] drm/panfrost: Use kvfree() to free bo->sgts Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 196/204] drm/dp_mst: Fix the DDC I2C device registration of an MST port Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 197/204] drm/amdgpu: fix ordering of psp suspend Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 198/204] drm/omap: force runtime PM suspend on system suspend Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 199/204] drm/tidss: fix modeset init for DPI panels Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 200/204] drm: Added orientation quirk for ASUS tablet model T103HAF Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 201/204] drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 202/204] drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 203/204] drm/amd/display: Fix dmesg warning from setting abm level Greg Kroah-Hartman
2020-08-20  9:21 ` [PATCH 5.7 204/204] drm/amd/display: dchubbub p-state warning during surface planes switch Greg Kroah-Hartman
2020-08-20 17:04 ` [PATCH 5.7 000/204] 5.7.17-rc1 review Naresh Kamboju
2020-08-21 16:27   ` Naresh Kamboju
2020-08-20 20:06 ` Guenter Roeck
2020-08-20 23:48 ` 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=20200820091607.970513537@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=dsterba@suse.com \
    --cc=fdmanana@suse.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=wqu@suse.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).