public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org,
	syzbot <syzbot+a5df189917e79d5e59c9@syzkaller.appspotmail.com>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>,
	Luiz Augusto von Dentz <luiz.von.dentz@intel.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.10 051/135] Bluetooth: defer cleanup of resources in hci_unregister_dev()
Date: Tue, 10 Aug 2021 19:29:45 +0200	[thread overview]
Message-ID: <20210810172957.427664618@linuxfoundation.org> (raw)
In-Reply-To: <20210810172955.660225700@linuxfoundation.org>

From: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>

[ Upstream commit e04480920d1eec9c061841399aa6f35b6f987d8b ]

syzbot is hitting might_sleep() warning at hci_sock_dev_event() due to
calling lock_sock() with rw spinlock held [1].

It seems that history of this locking problem is a trial and error.

Commit b40df5743ee8 ("[PATCH] bluetooth: fix socket locking in
hci_sock_dev_event()") in 2.6.21-rc4 changed bh_lock_sock() to
lock_sock() as an attempt to fix lockdep warning.

Then, commit 4ce61d1c7a8e ("[BLUETOOTH]: Fix locking in
hci_sock_dev_event().") in 2.6.22-rc2 changed lock_sock() to
local_bh_disable() + bh_lock_sock_nested() as an attempt to fix the
sleep in atomic context warning.

Then, commit 4b5dd696f81b ("Bluetooth: Remove local_bh_disable() from
hci_sock.c") in 3.3-rc1 removed local_bh_disable().

Then, commit e305509e678b ("Bluetooth: use correct lock to prevent UAF
of hdev object") in 5.13-rc5 again changed bh_lock_sock_nested() to
lock_sock() as an attempt to fix CVE-2021-3573.

This difficulty comes from current implementation that
hci_sock_dev_event(HCI_DEV_UNREG) is responsible for dropping all
references from sockets because hci_unregister_dev() immediately
reclaims resources as soon as returning from
hci_sock_dev_event(HCI_DEV_UNREG).

But the history suggests that hci_sock_dev_event(HCI_DEV_UNREG) was not
doing what it should do.

Therefore, instead of trying to detach sockets from device, let's accept
not detaching sockets from device at hci_sock_dev_event(HCI_DEV_UNREG),
by moving actual cleanup of resources from hci_unregister_dev() to
hci_cleanup_dev() which is called by bt_host_release() when all
references to this unregistered device (which is a kobject) are gone.

Since hci_sock_dev_event(HCI_DEV_UNREG) no longer resets
hci_pi(sk)->hdev, we need to check whether this device was unregistered
and return an error based on HCI_UNREGISTER flag.  There might be subtle
behavioral difference in "monitor the hdev" functionality; please report
if you found something went wrong due to this patch.

Link: https://syzkaller.appspot.com/bug?extid=a5df189917e79d5e59c9 [1]
Reported-by: syzbot <syzbot+a5df189917e79d5e59c9@syzkaller.appspotmail.com>
Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fixes: e305509e678b ("Bluetooth: use correct lock to prevent UAF of hdev object")
Acked-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 include/net/bluetooth/hci_core.h |  1 +
 net/bluetooth/hci_core.c         | 16 +++++------
 net/bluetooth/hci_sock.c         | 49 +++++++++++++++++++++-----------
 net/bluetooth/hci_sysfs.c        |  3 ++
 4 files changed, 45 insertions(+), 24 deletions(-)

diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index e534dff2874e..a592a826e2fb 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1189,6 +1189,7 @@ struct hci_dev *hci_alloc_dev(void);
 void hci_free_dev(struct hci_dev *hdev);
 int hci_register_dev(struct hci_dev *hdev);
 void hci_unregister_dev(struct hci_dev *hdev);
+void hci_cleanup_dev(struct hci_dev *hdev);
 int hci_suspend_dev(struct hci_dev *hdev);
 int hci_resume_dev(struct hci_dev *hdev);
 int hci_reset_dev(struct hci_dev *hdev);
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 86ebfc6ae698..65d3f5409963 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -3816,14 +3816,10 @@ EXPORT_SYMBOL(hci_register_dev);
 /* Unregister HCI device */
 void hci_unregister_dev(struct hci_dev *hdev)
 {
-	int id;
-
 	BT_DBG("%p name %s bus %d", hdev, hdev->name, hdev->bus);
 
 	hci_dev_set_flag(hdev, HCI_UNREGISTER);
 
-	id = hdev->id;
-
 	write_lock(&hci_dev_list_lock);
 	list_del(&hdev->list);
 	write_unlock(&hci_dev_list_lock);
@@ -3858,7 +3854,14 @@ void hci_unregister_dev(struct hci_dev *hdev)
 	}
 
 	device_del(&hdev->dev);
+	/* Actual cleanup is deferred until hci_cleanup_dev(). */
+	hci_dev_put(hdev);
+}
+EXPORT_SYMBOL(hci_unregister_dev);
 
+/* Cleanup HCI device */
+void hci_cleanup_dev(struct hci_dev *hdev)
+{
 	debugfs_remove_recursive(hdev->debugfs);
 	kfree_const(hdev->hw_info);
 	kfree_const(hdev->fw_info);
@@ -3883,11 +3886,8 @@ void hci_unregister_dev(struct hci_dev *hdev)
 	hci_blocked_keys_clear(hdev);
 	hci_dev_unlock(hdev);
 
-	hci_dev_put(hdev);
-
-	ida_simple_remove(&hci_index_ida, id);
+	ida_simple_remove(&hci_index_ida, hdev->id);
 }
-EXPORT_SYMBOL(hci_unregister_dev);
 
 /* Suspend HCI device */
 int hci_suspend_dev(struct hci_dev *hdev)
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c
index eed0dd066e12..53f85d7c5f9e 100644
--- a/net/bluetooth/hci_sock.c
+++ b/net/bluetooth/hci_sock.c
@@ -59,6 +59,17 @@ struct hci_pinfo {
 	char              comm[TASK_COMM_LEN];
 };
 
+static struct hci_dev *hci_hdev_from_sock(struct sock *sk)
+{
+	struct hci_dev *hdev = hci_pi(sk)->hdev;
+
+	if (!hdev)
+		return ERR_PTR(-EBADFD);
+	if (hci_dev_test_flag(hdev, HCI_UNREGISTER))
+		return ERR_PTR(-EPIPE);
+	return hdev;
+}
+
 void hci_sock_set_flag(struct sock *sk, int nr)
 {
 	set_bit(nr, &hci_pi(sk)->flags);
@@ -759,19 +770,13 @@ void hci_sock_dev_event(struct hci_dev *hdev, int event)
 	if (event == HCI_DEV_UNREG) {
 		struct sock *sk;
 
-		/* Detach sockets from device */
+		/* Wake up sockets using this dead device */
 		read_lock(&hci_sk_list.lock);
 		sk_for_each(sk, &hci_sk_list.head) {
-			lock_sock(sk);
 			if (hci_pi(sk)->hdev == hdev) {
-				hci_pi(sk)->hdev = NULL;
 				sk->sk_err = EPIPE;
-				sk->sk_state = BT_OPEN;
 				sk->sk_state_change(sk);
-
-				hci_dev_put(hdev);
 			}
-			release_sock(sk);
 		}
 		read_unlock(&hci_sk_list.lock);
 	}
@@ -930,10 +935,10 @@ static int hci_sock_blacklist_del(struct hci_dev *hdev, void __user *arg)
 static int hci_sock_bound_ioctl(struct sock *sk, unsigned int cmd,
 				unsigned long arg)
 {
-	struct hci_dev *hdev = hci_pi(sk)->hdev;
+	struct hci_dev *hdev = hci_hdev_from_sock(sk);
 
-	if (!hdev)
-		return -EBADFD;
+	if (IS_ERR(hdev))
+		return PTR_ERR(hdev);
 
 	if (hci_dev_test_flag(hdev, HCI_USER_CHANNEL))
 		return -EBUSY;
@@ -1103,6 +1108,18 @@ static int hci_sock_bind(struct socket *sock, struct sockaddr *addr,
 
 	lock_sock(sk);
 
+	/* Allow detaching from dead device and attaching to alive device, if
+	 * the caller wants to re-bind (instead of close) this socket in
+	 * response to hci_sock_dev_event(HCI_DEV_UNREG) notification.
+	 */
+	hdev = hci_pi(sk)->hdev;
+	if (hdev && hci_dev_test_flag(hdev, HCI_UNREGISTER)) {
+		hci_pi(sk)->hdev = NULL;
+		sk->sk_state = BT_OPEN;
+		hci_dev_put(hdev);
+	}
+	hdev = NULL;
+
 	if (sk->sk_state == BT_BOUND) {
 		err = -EALREADY;
 		goto done;
@@ -1379,9 +1396,9 @@ static int hci_sock_getname(struct socket *sock, struct sockaddr *addr,
 
 	lock_sock(sk);
 
-	hdev = hci_pi(sk)->hdev;
-	if (!hdev) {
-		err = -EBADFD;
+	hdev = hci_hdev_from_sock(sk);
+	if (IS_ERR(hdev)) {
+		err = PTR_ERR(hdev);
 		goto done;
 	}
 
@@ -1743,9 +1760,9 @@ static int hci_sock_sendmsg(struct socket *sock, struct msghdr *msg,
 		goto done;
 	}
 
-	hdev = hci_pi(sk)->hdev;
-	if (!hdev) {
-		err = -EBADFD;
+	hdev = hci_hdev_from_sock(sk);
+	if (IS_ERR(hdev)) {
+		err = PTR_ERR(hdev);
 		goto done;
 	}
 
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c
index 9874844a95a9..b69d88b88d2e 100644
--- a/net/bluetooth/hci_sysfs.c
+++ b/net/bluetooth/hci_sysfs.c
@@ -83,6 +83,9 @@ void hci_conn_del_sysfs(struct hci_conn *conn)
 static void bt_host_release(struct device *dev)
 {
 	struct hci_dev *hdev = to_hci_dev(dev);
+
+	if (hci_dev_test_flag(hdev, HCI_UNREGISTER))
+		hci_cleanup_dev(hdev);
 	kfree(hdev);
 	module_put(THIS_MODULE);
 }
-- 
2.30.2




  parent reply	other threads:[~2021-08-10 17:43 UTC|newest]

Thread overview: 159+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 17:28 [PATCH 5.10 000/135] 5.10.58-rc1 review Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.10 001/135] Revert "ACPICA: Fix memory leak caused by _CID repair function" Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.10 002/135] ALSA: seq: Fix racy deletion of subscriber Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.10 003/135] bus: ti-sysc: Fix gpt12 system timer issue with reserved status Greg Kroah-Hartman
2021-08-11  6:54   ` Pavel Machek
2021-08-10 17:28 ` [PATCH 5.10 004/135] net: xfrm: fix memory leak in xfrm_user_rcv_msg Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.10 005/135] arm64: dts: ls1028a: fix node name for the sysclk Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 006/135] ARM: imx: add missing iounmap() Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 007/135] ARM: imx: add missing clk_disable_unprepare() Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 008/135] ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 009/135] arm64: dts: ls1028: sl28: fix networking for variant 2 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 010/135] ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 011/135] ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 012/135] ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 013/135] arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 014/135] arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 015/135] ALSA: usb-audio: fix incorrect clock source setting Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 016/135] clk: stm32f4: fix post divisor setup for I2S/SAI PLLs Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 017/135] ARM: dts: am437x-l4: fix typo in can@0 node Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 018/135] omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 019/135] dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 020/135] clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 021/135] dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 022/135] dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 023/135] spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 024/135] spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 025/135] scsi: sr: Return correct event when media event code is 3 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 026/135] media: videobuf2-core: dequeue if start_streaming fails Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 027/135] ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 028/135] ARM: dts: stm32: Fix touchscreen IRQ line assignment " Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 029/135] dmaengine: imx-dma: configure the generic DMA type to make it work Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 030/135] net, gro: Set inner transport header offset in tcp/udp GRO hook Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 031/135] net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 032/135] net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 033/135] net: dsa: sja1105: be stateless with FDB entries on SJA1105P/Q/R/S/SJA1110 too Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 034/135] net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 035/135] net: phy: micrel: Fix detection of ksz87xx switch Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 036/135] net: natsemi: Fix missing pci_disable_device() in probe and remove Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 037/135] gpio: tqmx86: really make IRQ optional Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 038/135] RDMA/mlx5: Delay emptying a cache entry when a new MR is added to it recently Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 039/135] sctp: move the active_key update after sh_keys is added Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 040/135] nfp: update ethtool reporting of pauseframe control Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 041/135] net: ipv6: fix returned variable type in ip6_skb_dst_mtu Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 042/135] net: dsa: qca: ar9331: reorder MDIO write sequence Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 043/135] net: sched: fix lockdep_set_class() typo error for sch->seqlock Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 044/135] MIPS: check return value of pgtable_pmd_page_ctor Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 045/135] mips: Fix non-POSIX regexp Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 046/135] bnx2x: fix an error code in bnx2x_nic_load() Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 047/135] net: pegasus: fix uninit-value in get_interrupt_interval Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 048/135] net: fec: fix use-after-free in fec_drv_remove Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 049/135] net: vxge: fix use-after-free in vxge_device_unregister Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 050/135] blk-iolatency: error out if blk_get_queue() failed in iolatency_set_limit() Greg Kroah-Hartman
2021-08-10 17:29 ` Greg Kroah-Hartman [this message]
2021-08-10 17:29 ` [PATCH 5.10 052/135] USB: usbtmc: Fix RCU stall warning Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 053/135] USB: serial: option: add Telit FD980 composition 0x1056 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 054/135] USB: serial: ch341: fix character loss at high transfer rates Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 055/135] USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 056/135] firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 057/135] firmware_loader: fix use-after-free in firmware_fallback_sysfs Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 058/135] drm/amdgpu/display: fix DMUB firmware version info Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 059/135] ALSA: pcm - fix mmap capability check for the snd-dummy driver Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 060/135] ALSA: hda/realtek: add mic quirk for Acer SF314-42 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 061/135] ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256) Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 062/135] ALSA: usb-audio: Fix superfluous autosuspend recovery Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 063/135] ALSA: usb-audio: Add registration quirk for JBL Quantum 600 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 064/135] usb: dwc3: gadget: Avoid runtime resume if disabling pullup Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.10 065/135] usb: gadget: remove leaked entry from udc driver list Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 066/135] usb: cdns3: Fixed incorrect gadget state Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 067/135] usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 068/135] usb: gadget: f_hid: fixed NULL pointer dereference Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 069/135] usb: gadget: f_hid: idle uses the highest byte for duration Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 070/135] usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 071/135] usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 072/135] usb: otg-fsm: Fix hrtimer list corruption Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 073/135] clk: fix leak on devm_clk_bulk_get_all() unwind Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 074/135] scripts/tracing: fix the bug that cant parse raw_trace_func Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 075/135] tracing / histogram: Give calculation hist_fields a size Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 076/135] tracing: Reject string operand in the histogram expression Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 077/135] tracing: Fix NULL pointer dereference in start_creating Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 078/135] tracepoint: static call: Compare data on transition from 2->1 callees Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 079/135] tracepoint: Fix static call function vs data state mismatch Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 080/135] arm64: stacktrace: avoid tracing arch_stack_walk() Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 081/135] optee: Clear stale cache entries during initialization Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 082/135] tee: add tee_shm_alloc_kernel_buf() Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 083/135] optee: Fix memory leak when failing to register shm pages Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 084/135] optee: Refuse to load the driver under the kdump kernel Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 085/135] optee: fix tee out of memory failure seen during kexec reboot Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 086/135] tpm_ftpm_tee: Free and unregister TEE shared memory during kexec Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 087/135] staging: rtl8723bs: Fix a resource leak in sd_int_dpc Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 088/135] staging: rtl8712: get rid of flush_scheduled_work Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 089/135] staging: rtl8712: error handling refactoring Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 090/135] drivers core: Fix oops when driver probe fails Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 091/135] media: rtl28xxu: fix zero-length control request Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 092/135] pipe: increase minimum default pipe size to 2 pages Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 093/135] ext4: fix potential htree corruption when growing large_dir directories Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 094/135] serial: tegra: Only print FIFO error message when an error occurs Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 095/135] serial: 8250_mtk: fix uart corruption issue when rx power off Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 096/135] serial: 8250: Mask out floating 16/32-bit bus bits Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 097/135] MIPS: Malta: Do not byte-swap accesses to the CBUS UART Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 098/135] serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 099/135] serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 100/135] fpga: dfl: fme: Fix cpu hotplug issue in performance reporting Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 101/135] timers: Move clearing of base::timer_running under base:: Lock Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 102/135] xfrm: Fix RCU vs hash_resize_mutex lock inversion Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 103/135] net/xfrm/compat: Copy xfrm_spdattr_type_t atributes Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 104/135] pcmcia: i82092: fix a null pointer dereference bug Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 105/135] selinux: correct the return value when loads initial sids Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 106/135] bus: ti-sysc: AM3: RNG is GP only Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 107/135] Revert "gpio: mpc8xxx: change the gpio interrupt flags." Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 108/135] ARM: omap2+: hwmod: fix potential NULL pointer access Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 109/135] md/raid10: properly indicate failure when ending a failed write request Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 110/135] KVM: x86: accept userspace interrupt only if no event is injected Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 111/135] KVM: Do not leak memory for duplicate debugfs directories Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 112/135] KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 113/135] arm64: vdso: Avoid ISB after reading from cntvct_el0 Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 114/135] soc: ixp4xx: fix printing resources Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 115/135] interconnect: Fix undersized devress_alloc allocation Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 116/135] spi: meson-spicc: fix memory leak in meson_spicc_remove Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 117/135] interconnect: Zero initial BW after sync-state Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 118/135] interconnect: Always call pre_aggregate before aggregate Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 119/135] interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 120/135] interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 121/135] drm/i915: Correct SFC_DONE register offset Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 122/135] soc: ixp4xx/qmgr: fix invalid __iomem access Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 123/135] perf/x86/amd: Dont touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 124/135] sched/rt: Fix double enqueue caused by rt_effective_prio Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.10 125/135] drm/i915: avoid uninitialised var in eb_parse() Greg Kroah-Hartman
2021-08-11  7:28   ` Pavel Machek
2021-08-11  7:46     ` Greg Kroah-Hartman
2021-08-11 12:27       ` Pavel Machek
2021-08-11 13:06         ` Greg Kroah-Hartman
2021-08-13  9:31           ` Determining corresponding mainline patch for stable patches " Pavel Machek
2021-08-13  9:54             ` Willy Tarreau
2021-08-13 10:24               ` Pavel Machek
2021-08-13 11:02                 ` Greg Kroah-Hartman
2021-08-13 11:19                   ` Willy Tarreau
2021-08-13 15:46                     ` Theodore Ts'o
2021-08-14  6:47                       ` Greg Kroah-Hartman
2021-08-19  8:22                         ` Pavel Machek
2021-08-19  8:52                           ` Willy Tarreau
2021-08-10 17:31 ` [PATCH 5.10 126/135] libata: fix ata_pio_sector for CONFIG_HIGHMEM Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 127/135] reiserfs: add check for root_inode in reiserfs_fill_super Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 128/135] reiserfs: check directory items on read from disk Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 129/135] virt_wifi: fix error on connect Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 130/135] net: qede: Fix end of loop tests for list_for_each_entry Greg Kroah-Hartman
2021-08-11  7:11   ` Pavel Machek
2021-08-10 17:31 ` [PATCH 5.10 131/135] alpha: Send stop IPI to send to online CPUs Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 132/135] net/qla3xxx: fix schedule while atomic in ql_wait_for_drvr_lock and ql_adapter_reset Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 133/135] smb3: rc uninitialized in one fallocate path Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 134/135] drm/amdgpu/display: only enable aux backlight control for OLED panels Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.10 135/135] arm64: fix compat syscall return truncation Greg Kroah-Hartman
2021-08-10 22:48 ` [PATCH 5.10 000/135] 5.10.58-rc1 review Fox Chen
2021-08-11  1:06 ` Samuel Zou
2021-08-11  9:45 ` Sudip Mukherjee
2021-08-11 17:00 ` Naresh Kamboju
2021-08-11 20:00 ` Guenter Roeck
2021-08-11 22:21 ` Shuah Khan
2021-08-12  6:50 ` Aakash Hemadri
2021-08-12 19:21 ` Pavel Machek

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=20210810172957.427664618@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.von.dentz@intel.com \
    --cc=penguin-kernel@I-love.SAKURA.ne.jp \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+a5df189917e79d5e59c9@syzkaller.appspotmail.com \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox