stable.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,
	syzbot+1e470567330b7ad711d5@syzkaller.appspotmail.com,
	"zhangyi (F)" <yi.zhang@huawei.com>, Theodore Tso <tytso@mit.edu>,
	Jan Kara <jack@suse.cz>, Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.3 081/166] ext4: fix potential use after free after remounting with noblock_validity
Date: Sun,  6 Oct 2019 19:20:47 +0200	[thread overview]
Message-ID: <20191006171220.310798327@linuxfoundation.org> (raw)
In-Reply-To: <20191006171212.850660298@linuxfoundation.org>

From: zhangyi (F) <yi.zhang@huawei.com>

[ Upstream commit 7727ae52975d4f4ef7ff69ed8e6e25f6a4168158 ]

Remount process will release system zone which was allocated before if
"noblock_validity" is specified. If we mount an ext4 file system to two
mountpoints with default mount options, and then remount one of them
with "noblock_validity", it may trigger a use after free problem when
someone accessing the other one.

 # mount /dev/sda foo
 # mount /dev/sda bar

User access mountpoint "foo"   |   Remount mountpoint "bar"
                               |
ext4_map_blocks()              |   ext4_remount()
check_block_validity()         |   ext4_setup_system_zone()
ext4_data_block_valid()        |   ext4_release_system_zone()
                               |   free system_blks rb nodes
access system_blks rb nodes    |
trigger use after free         |

This problem can also be reproduced by one mountpint, At the same time,
add_system_zone() can get called during remount as well so there can be
racing ext4_data_block_valid() reading the rbtree at the same time.

This patch add RCU to protect system zone from releasing or building
when doing a remount which inverse current "noblock_validity" mount
option. It assign the rbtree after the whole tree was complete and
do actual freeing after rcu grace period, avoid any intermediate state.

Reported-by: syzbot+1e470567330b7ad711d5@syzkaller.appspotmail.com
Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 fs/ext4/block_validity.c | 189 ++++++++++++++++++++++++++++-----------
 fs/ext4/ext4.h           |  10 ++-
 2 files changed, 147 insertions(+), 52 deletions(-)

diff --git a/fs/ext4/block_validity.c b/fs/ext4/block_validity.c
index 8e83741b02e03..d4d4fdfac1a65 100644
--- a/fs/ext4/block_validity.c
+++ b/fs/ext4/block_validity.c
@@ -38,6 +38,7 @@ int __init ext4_init_system_zone(void)
 
 void ext4_exit_system_zone(void)
 {
+	rcu_barrier();
 	kmem_cache_destroy(ext4_system_zone_cachep);
 }
 
@@ -49,17 +50,26 @@ static inline int can_merge(struct ext4_system_zone *entry1,
 	return 0;
 }
 
+static void release_system_zone(struct ext4_system_blocks *system_blks)
+{
+	struct ext4_system_zone	*entry, *n;
+
+	rbtree_postorder_for_each_entry_safe(entry, n,
+				&system_blks->root, node)
+		kmem_cache_free(ext4_system_zone_cachep, entry);
+}
+
 /*
  * Mark a range of blocks as belonging to the "system zone" --- that
  * is, filesystem metadata blocks which should never be used by
  * inodes.
  */
-static int add_system_zone(struct ext4_sb_info *sbi,
+static int add_system_zone(struct ext4_system_blocks *system_blks,
 			   ext4_fsblk_t start_blk,
 			   unsigned int count)
 {
 	struct ext4_system_zone *new_entry = NULL, *entry;
-	struct rb_node **n = &sbi->system_blks.rb_node, *node;
+	struct rb_node **n = &system_blks->root.rb_node, *node;
 	struct rb_node *parent = NULL, *new_node = NULL;
 
 	while (*n) {
@@ -91,7 +101,7 @@ static int add_system_zone(struct ext4_sb_info *sbi,
 		new_node = &new_entry->node;
 
 		rb_link_node(new_node, parent, n);
-		rb_insert_color(new_node, &sbi->system_blks);
+		rb_insert_color(new_node, &system_blks->root);
 	}
 
 	/* Can we merge to the left? */
@@ -101,7 +111,7 @@ static int add_system_zone(struct ext4_sb_info *sbi,
 		if (can_merge(entry, new_entry)) {
 			new_entry->start_blk = entry->start_blk;
 			new_entry->count += entry->count;
-			rb_erase(node, &sbi->system_blks);
+			rb_erase(node, &system_blks->root);
 			kmem_cache_free(ext4_system_zone_cachep, entry);
 		}
 	}
@@ -112,7 +122,7 @@ static int add_system_zone(struct ext4_sb_info *sbi,
 		entry = rb_entry(node, struct ext4_system_zone, node);
 		if (can_merge(new_entry, entry)) {
 			new_entry->count += entry->count;
-			rb_erase(node, &sbi->system_blks);
+			rb_erase(node, &system_blks->root);
 			kmem_cache_free(ext4_system_zone_cachep, entry);
 		}
 	}
@@ -126,7 +136,7 @@ static void debug_print_tree(struct ext4_sb_info *sbi)
 	int first = 1;
 
 	printk(KERN_INFO "System zones: ");
-	node = rb_first(&sbi->system_blks);
+	node = rb_first(&sbi->system_blks->root);
 	while (node) {
 		entry = rb_entry(node, struct ext4_system_zone, node);
 		printk(KERN_CONT "%s%llu-%llu", first ? "" : ", ",
@@ -137,7 +147,47 @@ static void debug_print_tree(struct ext4_sb_info *sbi)
 	printk(KERN_CONT "\n");
 }
 
-static int ext4_protect_reserved_inode(struct super_block *sb, u32 ino)
+/*
+ * Returns 1 if the passed-in block region (start_blk,
+ * start_blk+count) is valid; 0 if some part of the block region
+ * overlaps with filesystem metadata blocks.
+ */
+static int ext4_data_block_valid_rcu(struct ext4_sb_info *sbi,
+				     struct ext4_system_blocks *system_blks,
+				     ext4_fsblk_t start_blk,
+				     unsigned int count)
+{
+	struct ext4_system_zone *entry;
+	struct rb_node *n;
+
+	if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) ||
+	    (start_blk + count < start_blk) ||
+	    (start_blk + count > ext4_blocks_count(sbi->s_es))) {
+		sbi->s_es->s_last_error_block = cpu_to_le64(start_blk);
+		return 0;
+	}
+
+	if (system_blks == NULL)
+		return 1;
+
+	n = system_blks->root.rb_node;
+	while (n) {
+		entry = rb_entry(n, struct ext4_system_zone, node);
+		if (start_blk + count - 1 < entry->start_blk)
+			n = n->rb_left;
+		else if (start_blk >= (entry->start_blk + entry->count))
+			n = n->rb_right;
+		else {
+			sbi->s_es->s_last_error_block = cpu_to_le64(start_blk);
+			return 0;
+		}
+	}
+	return 1;
+}
+
+static int ext4_protect_reserved_inode(struct super_block *sb,
+				       struct ext4_system_blocks *system_blks,
+				       u32 ino)
 {
 	struct inode *inode;
 	struct ext4_sb_info *sbi = EXT4_SB(sb);
@@ -163,14 +213,15 @@ static int ext4_protect_reserved_inode(struct super_block *sb, u32 ino)
 		if (n == 0) {
 			i++;
 		} else {
-			if (!ext4_data_block_valid(sbi, map.m_pblk, n)) {
+			if (!ext4_data_block_valid_rcu(sbi, system_blks,
+						map.m_pblk, n)) {
 				ext4_error(sb, "blocks %llu-%llu from inode %u "
 					   "overlap system zone", map.m_pblk,
 					   map.m_pblk + map.m_len - 1, ino);
 				err = -EFSCORRUPTED;
 				break;
 			}
-			err = add_system_zone(sbi, map.m_pblk, n);
+			err = add_system_zone(system_blks, map.m_pblk, n);
 			if (err < 0)
 				break;
 			i += n;
@@ -180,94 +231,130 @@ static int ext4_protect_reserved_inode(struct super_block *sb, u32 ino)
 	return err;
 }
 
+static void ext4_destroy_system_zone(struct rcu_head *rcu)
+{
+	struct ext4_system_blocks *system_blks;
+
+	system_blks = container_of(rcu, struct ext4_system_blocks, rcu);
+	release_system_zone(system_blks);
+	kfree(system_blks);
+}
+
+/*
+ * Build system zone rbtree which is used for block validity checking.
+ *
+ * The update of system_blks pointer in this function is protected by
+ * sb->s_umount semaphore. However we have to be careful as we can be
+ * racing with ext4_data_block_valid() calls reading system_blks rbtree
+ * protected only by RCU. That's why we first build the rbtree and then
+ * swap it in place.
+ */
 int ext4_setup_system_zone(struct super_block *sb)
 {
 	ext4_group_t ngroups = ext4_get_groups_count(sb);
 	struct ext4_sb_info *sbi = EXT4_SB(sb);
+	struct ext4_system_blocks *system_blks;
 	struct ext4_group_desc *gdp;
 	ext4_group_t i;
 	int flex_size = ext4_flex_bg_size(sbi);
 	int ret;
 
 	if (!test_opt(sb, BLOCK_VALIDITY)) {
-		if (sbi->system_blks.rb_node)
+		if (sbi->system_blks)
 			ext4_release_system_zone(sb);
 		return 0;
 	}
-	if (sbi->system_blks.rb_node)
+	if (sbi->system_blks)
 		return 0;
 
+	system_blks = kzalloc(sizeof(*system_blks), GFP_KERNEL);
+	if (!system_blks)
+		return -ENOMEM;
+
 	for (i=0; i < ngroups; i++) {
 		cond_resched();
 		if (ext4_bg_has_super(sb, i) &&
 		    ((i < 5) || ((i % flex_size) == 0)))
-			add_system_zone(sbi, ext4_group_first_block_no(sb, i),
+			add_system_zone(system_blks,
+					ext4_group_first_block_no(sb, i),
 					ext4_bg_num_gdb(sb, i) + 1);
 		gdp = ext4_get_group_desc(sb, i, NULL);
-		ret = add_system_zone(sbi, ext4_block_bitmap(sb, gdp), 1);
+		ret = add_system_zone(system_blks,
+				ext4_block_bitmap(sb, gdp), 1);
 		if (ret)
-			return ret;
-		ret = add_system_zone(sbi, ext4_inode_bitmap(sb, gdp), 1);
+			goto err;
+		ret = add_system_zone(system_blks,
+				ext4_inode_bitmap(sb, gdp), 1);
 		if (ret)
-			return ret;
-		ret = add_system_zone(sbi, ext4_inode_table(sb, gdp),
+			goto err;
+		ret = add_system_zone(system_blks,
+				ext4_inode_table(sb, gdp),
 				sbi->s_itb_per_group);
 		if (ret)
-			return ret;
+			goto err;
 	}
 	if (ext4_has_feature_journal(sb) && sbi->s_es->s_journal_inum) {
-		ret = ext4_protect_reserved_inode(sb,
+		ret = ext4_protect_reserved_inode(sb, system_blks,
 				le32_to_cpu(sbi->s_es->s_journal_inum));
 		if (ret)
-			return ret;
+			goto err;
 	}
 
+	/*
+	 * System blks rbtree complete, announce it once to prevent racing
+	 * with ext4_data_block_valid() accessing the rbtree at the same
+	 * time.
+	 */
+	rcu_assign_pointer(sbi->system_blks, system_blks);
+
 	if (test_opt(sb, DEBUG))
 		debug_print_tree(sbi);
 	return 0;
+err:
+	release_system_zone(system_blks);
+	kfree(system_blks);
+	return ret;
 }
 
-/* Called when the filesystem is unmounted */
+/*
+ * Called when the filesystem is unmounted or when remounting it with
+ * noblock_validity specified.
+ *
+ * The update of system_blks pointer in this function is protected by
+ * sb->s_umount semaphore. However we have to be careful as we can be
+ * racing with ext4_data_block_valid() calls reading system_blks rbtree
+ * protected only by RCU. So we first clear the system_blks pointer and
+ * then free the rbtree only after RCU grace period expires.
+ */
 void ext4_release_system_zone(struct super_block *sb)
 {
-	struct ext4_system_zone	*entry, *n;
+	struct ext4_system_blocks *system_blks;
 
-	rbtree_postorder_for_each_entry_safe(entry, n,
-			&EXT4_SB(sb)->system_blks, node)
-		kmem_cache_free(ext4_system_zone_cachep, entry);
+	system_blks = rcu_dereference_protected(EXT4_SB(sb)->system_blks,
+					lockdep_is_held(&sb->s_umount));
+	rcu_assign_pointer(EXT4_SB(sb)->system_blks, NULL);
 
-	EXT4_SB(sb)->system_blks = RB_ROOT;
+	if (system_blks)
+		call_rcu(&system_blks->rcu, ext4_destroy_system_zone);
 }
 
-/*
- * Returns 1 if the passed-in block region (start_blk,
- * start_blk+count) is valid; 0 if some part of the block region
- * overlaps with filesystem metadata blocks.
- */
 int ext4_data_block_valid(struct ext4_sb_info *sbi, ext4_fsblk_t start_blk,
 			  unsigned int count)
 {
-	struct ext4_system_zone *entry;
-	struct rb_node *n = sbi->system_blks.rb_node;
+	struct ext4_system_blocks *system_blks;
+	int ret;
 
-	if ((start_blk <= le32_to_cpu(sbi->s_es->s_first_data_block)) ||
-	    (start_blk + count < start_blk) ||
-	    (start_blk + count > ext4_blocks_count(sbi->s_es))) {
-		sbi->s_es->s_last_error_block = cpu_to_le64(start_blk);
-		return 0;
-	}
-	while (n) {
-		entry = rb_entry(n, struct ext4_system_zone, node);
-		if (start_blk + count - 1 < entry->start_blk)
-			n = n->rb_left;
-		else if (start_blk >= (entry->start_blk + entry->count))
-			n = n->rb_right;
-		else {
-			sbi->s_es->s_last_error_block = cpu_to_le64(start_blk);
-			return 0;
-		}
-	}
-	return 1;
+	/*
+	 * Lock the system zone to prevent it being released concurrently
+	 * when doing a remount which inverse current "[no]block_validity"
+	 * mount option.
+	 */
+	rcu_read_lock();
+	system_blks = rcu_dereference(sbi->system_blks);
+	ret = ext4_data_block_valid_rcu(sbi, system_blks, start_blk,
+					count);
+	rcu_read_unlock();
+	return ret;
 }
 
 int ext4_check_blockref(const char *function, unsigned int line,
diff --git a/fs/ext4/ext4.h b/fs/ext4/ext4.h
index bf660aa7a9e08..c025efcbcf27c 100644
--- a/fs/ext4/ext4.h
+++ b/fs/ext4/ext4.h
@@ -184,6 +184,14 @@ struct ext4_map_blocks {
 	unsigned int m_flags;
 };
 
+/*
+ * Block validity checking, system zone rbtree.
+ */
+struct ext4_system_blocks {
+	struct rb_root root;
+	struct rcu_head rcu;
+};
+
 /*
  * Flags for ext4_io_end->flags
  */
@@ -1421,7 +1429,7 @@ struct ext4_sb_info {
 	int s_jquota_fmt;			/* Format of quota to use */
 #endif
 	unsigned int s_want_extra_isize; /* New inodes should reserve # bytes */
-	struct rb_root system_blks;
+	struct ext4_system_blocks __rcu *system_blks;
 
 #ifdef EXTENTS_STATS
 	/* ext4 extents stats */
-- 
2.20.1




  parent reply	other threads:[~2019-10-06 17:49 UTC|newest]

Thread overview: 177+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-06 17:19 [PATCH 5.3 000/166] 5.3.5-stable review Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 001/166] drm/vkms: Fix crc worker races Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 002/166] drm/mcde: Fix uninitialized variable Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 003/166] drm/bridge: tc358767: Increase AUX transfer length limit Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 004/166] drm/vkms: Avoid assigning 0 for possible_crtc Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 005/166] drm/panel: simple: fix AUO g185han01 horizontal blanking Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 006/166] drm/amd/display: add monitor patch to add T7 delay Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 007/166] drm/amd/display: Power-gate all DSCs at driver init time Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 008/166] drm/amd/display: fix not calling ppsmu to trigger PME Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 009/166] drm/amd/display: Clear FEC_READY shadow register if DPCD write fails Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 010/166] drm/amd/display: Copy GSL groups when committing a new context Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 011/166] video: ssd1307fb: Start page range at page_offset Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 012/166] drm/tinydrm/Kconfig: drivers: Select BACKLIGHT_CLASS_DEVICE Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 013/166] drm/stm: attach gem fence to atomic state Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 014/166] drm/bridge: sii902x: fix missing reference to mclk clock Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 015/166] drm/panel: check failure cases in the probe func Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 016/166] drm/rockchip: Check for fast link training before enabling psr Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 017/166] drm/amdgpu: Fix hard hang for S/G display BOs Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 018/166] drm/amd/display: Use proper enum conversion functions Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 019/166] drm/radeon: Fix EEH during kexec Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 020/166] gpu: drm: radeon: Fix a possible null-pointer dereference in radeon_connector_set_property() Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 021/166] clk: imx8mq: Mark AHB clock as critical Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 022/166] PCI: rpaphp: Avoid a sometimes-uninitialized warning Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 023/166] pinctrl: stmfx: update pinconf settings Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 024/166] ipmi_si: Only schedule continuously in the thread in maintenance mode Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 025/166] clk: qoriq: Fix -Wunused-const-variable Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 026/166] clk: ingenic/jz4740: Fix "pll half" divider not read/written properly Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 027/166] clk: sunxi-ng: v3s: add missing clock slices for MMC2 module clocks Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 028/166] drm/amd/display: fix issue where 252-255 values are clipped Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 029/166] drm/amd/display: Fix frames_to_insert math Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 030/166] drm/amd/display: reprogram VM config when system resume Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 031/166] drm/amd/display: Register VUPDATE_NO_LOCK interrupts for DCN2 Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 032/166] powerpc/powernv/ioda2: Allocate TCE table levels on demand for default DMA window Greg Kroah-Hartman
2019-10-06 17:19 ` [PATCH 5.3 033/166] clk: actions: Dont reference clk_init_data after registration Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 034/166] clk: sirf: " Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 035/166] clk: meson: axg-audio: " Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 036/166] clk: sprd: " Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 037/166] clk: zx296718: " Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 038/166] clk: sunxi: Dont call clk_hw_get_name() on a hw that isnt registered Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 039/166] powerpc/xmon: Check for HV mode when dumping XIVE info from OPAL Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 040/166] powerpc/rtas: use device model APIs and serialization during LPM Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 041/166] powerpc/ptdump: fix walk_pagetables() address mismatch Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 042/166] powerpc/futex: Fix warning: oldval may be used uninitialized in this function Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 043/166] powerpc/64s/radix: Fix memory hotplug section page table creation Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 044/166] powerpc/pseries/mobility: use cond_resched when updating device tree Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 045/166] powerpc/perf: fix imc allocation failure handling Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 046/166] pinctrl: tegra: Fix write barrier placement in pmx_writel Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 047/166] powerpc/eeh: Clear stale EEH_DEV_NO_HANDLER flag Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 048/166] vfio_pci: Restore original state on release Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 049/166] drm/amdgpu/sdma5: fix number of sdma5 trap irq types for navi1x Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 050/166] drm/nouveau/kms/tu102-: disable input lut when input is already FP16 Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 051/166] drm/nouveau/volt: Fix for some cards having 0 maximum voltage Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 052/166] pinctrl: amd: disable spurious-firing GPIO IRQs Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 053/166] clk: renesas: mstp: Set GENPD_FLAG_ALWAYS_ON for clock domain Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 054/166] clk: renesas: cpg-mssr: " Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 055/166] drm/amd/display: support spdif Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 056/166] drm/amd/powerpaly: fix navi series custom peak level value error Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 057/166] drm/amd/display: fix MPO HUBP underflow with Scatter Gather Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 058/166] drm/amd/display: fix trigger not generated for freesync Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 059/166] selftests/powerpc: Retry on host facility unavailable Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 060/166] kbuild: Do not enable -Wimplicit-fallthrough for clang for now Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 061/166] drm/amdgpu/si: fix ASIC tests Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 062/166] powerpc/64s/exception: machine check use correct cfar for late handler Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 063/166] pstore: fs superblock limits Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 064/166] powerpc/eeh: Clean up EEH PEs after recovery finishes Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 065/166] clk: qcom: gcc-sdm845: Use floor ops for sdcc clks Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 066/166] powerpc/pseries: correctly track irq state in default idle Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 067/166] pinctrl: meson-gxbb: Fix wrong pinning definition for uart_c Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 068/166] mailbox: mediatek: cmdq: clear the event in cmdq initial flow Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 069/166] ARM: dts: dir685: Drop spi-cpol from the display Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 070/166] arm64: fix unreachable code issue with cmpxchg Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 071/166] clk: at91: select parent if main oscillator or bypass is enabled Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 072/166] clk: imx: pll14xx: avoid glitch when set rate Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 073/166] clk: imx: clk-pll14xx: unbypass PLL by default Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 074/166] clk: Make clk_bulk_get_all() return a valid "id" Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 075/166] powerpc: dump kernel log before carrying out fadump or kdump Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 076/166] mbox: qcom: add APCS child device for QCS404 Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 077/166] clk: sprd: add missing kfree Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 078/166] scsi: core: Reduce memory required for SCSI logging Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 079/166] dma-buf/sw_sync: Synchronize signal vs syncpt free Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 080/166] f2fs: fix to drop meta/node pages during umount Greg Kroah-Hartman
2019-10-06 17:20 ` Greg Kroah-Hartman [this message]
2019-10-06 17:20 ` [PATCH 5.3 082/166] MIPS: Ingenic: Disable broken BTB lookup optimization Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 083/166] MIPS: Dont use bc_false uninitialized in __mm_isBranchInstr Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 084/166] MIPS: tlbex: Explicitly cast _PAGE_NO_EXEC to a boolean Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 085/166] i2c-cht-wc: Fix lockdep warning Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 086/166] mfd: intel-lpss: Remove D3cold delay Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 087/166] PCI: tegra: Fix OF node reference leak Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 088/166] HID: wacom: Fix several minor compiler warnings Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 089/166] rtc: bd70528: fix driver dependencies Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 090/166] mips/atomic: Fix loongson_llsc_mb() wreckage Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 091/166] PCI: pci-hyperv: Fix build errors on non-SYSFS config Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 092/166] PCI: layerscape: Add the bar_fixed_64bit property to the endpoint driver Greg Kroah-Hartman
2019-10-06 17:20 ` [PATCH 5.3 093/166] livepatch: Nullify obj->mod in klp_module_coming()s error path Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 094/166] mips/atomic: Fix smp_mb__{before,after}_atomic() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 095/166] ARM: 8898/1: mm: Dont treat faults reported from cache maintenance as writes Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 096/166] soundwire: intel: fix channel number reported by hardware Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 097/166] PCI: mobiveil: Fix the CPU base address setup in inbound window Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 098/166] ARM: 8875/1: Kconfig: default to AEABI w/ Clang Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 099/166] rtc: snvs: fix possible race condition Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 100/166] rtc: pcf85363/pcf85263: fix regmap error in set_time Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 101/166] power: supply: register HWMON devices with valid names Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 102/166] selinux: fix residual uses of current_security() for the SELinux blob Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 103/166] PCI: Add pci_info_ratelimited() to ratelimit PCI separately Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 104/166] HID: apple: Fix stuck function keys when using FN Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 105/166] PCI: rockchip: Propagate errors for optional regulators Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 106/166] PCI: histb: " Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 107/166] PCI: imx6: " Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 108/166] PCI: exynos: Propagate errors for optional PHYs Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 109/166] security: smack: Fix possible null-pointer dereferences in smack_socket_sock_rcv_skb() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 110/166] PCI: Use static const struct, not const static struct Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 111/166] ARM: 8905/1: Emit __gnu_mcount_nc when using Clang 10.0.0 or newer Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 112/166] ARM: 8903/1: ensure that usable memory in bank 0 starts from a PMD-aligned address Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 113/166] i2c: tegra: Move suspend handling to NOIRQ phase Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 114/166] block, bfq: push up injection only after setting service time Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 115/166] fat: work around race with userspaces read via blockdev while mounting Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 116/166] pktcdvd: remove warning on attempting to register non-passthrough dev Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 117/166] hypfs: Fix error number left in struct pointer member Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 118/166] tools/power/x86/intel-speed-select: Fix high priority core mask over count Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 119/166] crypto: hisilicon - Fix double free in sec_free_hw_sgl() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 120/166] mm: add dummy can_do_mlock() helper Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 121/166] kbuild: clean compressed initramfs image Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 122/166] ocfs2: wait for recovering done after direct unlock request Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 123/166] kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16K Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 124/166] arm64: consider stack randomization for mmap base only when necessary Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 125/166] mips: properly account for stack randomization and stack guard gap Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 126/166] arm: " Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 127/166] arm: use STACK_TOP when computing mmap base address Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 128/166] cxgb4:Fix out-of-bounds MSI-X info array access Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 129/166] erspan: remove the incorrect mtu limit for erspan Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 130/166] hso: fix NULL-deref on tty open Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 131/166] ipv6: drop incoming packets having a v4mapped source address Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 132/166] ipv6: Handle missing host route in __ipv6_ifa_notify Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 133/166] net: ipv4: avoid mixed n_redirects and rate_tokens usage Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 134/166] net: qlogic: Fix memory leak in ql_alloc_large_buffers Greg Kroah-Hartman
2019-11-12 19:42   ` Ben Hutchings
2019-10-06 17:21 ` [PATCH 5.3 135/166] net: sched: taprio: Fix potential integer overflow in taprio_set_picos_per_byte Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 136/166] net: Unpublish sk from sk_reuseport_cb before call_rcu Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 137/166] nfc: fix memory leak in llcp_sock_bind() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 138/166] qmi_wwan: add support for Cinterion CLS8 devices Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 139/166] rxrpc: Fix rxrpc_recvmsg tracepoint Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 140/166] sch_cbq: validate TCA_CBQ_WRROPT to avoid crash Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 141/166] sch_dsmark: fix potential NULL deref in dsmark_init() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 142/166] tipc: fix unlimited bundling of small messages Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 143/166] udp: fix gso_segs calculations Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 144/166] vsock: Fix a lockdep warning in __vsock_release() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 145/166] net: dsa: rtl8366: Check VLAN ID and not ports Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 146/166] tcp: adjust rto_base in retransmits_timed_out() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 147/166] udp: only do GSO if # of segs > 1 Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 148/166] net/rds: Fix error handling in rds_ib_add_one() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 149/166] net: dsa: sja1105: Initialize the meta_lock Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 150/166] xen-netfront: do not use ~0U as error return value for xennet_fill_frags() Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 151/166] net: dsa: sja1105: Fix sleeping while atomic in .port_hwtstamp_set Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 152/166] ptp_qoriq: Initialize the registers spinlock before calling ptp_qoriq_settime Greg Kroah-Hartman
2019-10-06 17:21 ` [PATCH 5.3 153/166] net: dsa: sja1105: Ensure PTP time for rxtstamp reconstruction is not in the past Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 154/166] net: dsa: sja1105: Prevent leaking memory Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 155/166] net: socionext: netsec: always grab descriptor lock Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 156/166] net: sched: cbs: Avoid division by zero when calculating the port rate Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 157/166] net: sched: taprio: Avoid division by zero on invalid link speed Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 158/166] Smack: Dont ignore other bprm->unsafe flags if LSM_UNSAFE_PTRACE is set Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 159/166] smack: use GFP_NOFS while holding inode_smack::smk_lock Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 160/166] dm raid: fix updating of max_discard_sectors limit Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 161/166] dm zoned: fix invalid memory access Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 162/166] NFC: fix attrs checks in netlink interface Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 163/166] kexec: bail out upon SIGKILL when allocating memory Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 164/166] KVM: hyperv: Fix Direct Synthetic timers assert an interrupt w/o lapic_in_kernel Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 165/166] 9p/cache.c: Fix memory leak in v9fs_cache_session_get_cookie Greg Kroah-Hartman
2019-10-06 17:22 ` [PATCH 5.3 166/166] vfs: set fs_context::user_ns for reconfigure Greg Kroah-Hartman
2019-10-07  0:21 ` [PATCH 5.3 000/166] 5.3.5-stable review kernelci.org bot
2019-10-07 10:09 ` Jon Hunter
2019-10-07 11:17   ` Greg Kroah-Hartman
2019-10-07 14:34 ` Guenter Roeck
2019-10-07 16:56   ` Greg Kroah-Hartman
2019-10-07 16:25 ` Daniel Díaz
2019-10-07 16:43   ` Daniel Díaz
2019-10-07 16:44   ` Greg Kroah-Hartman
2019-10-07 16:46     ` 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=20191006171220.310798327@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=jack@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+1e470567330b7ad711d5@syzkaller.appspotmail.com \
    --cc=tytso@mit.edu \
    --cc=yi.zhang@huawei.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).