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 <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.13 070/175] Bluetooth: defer cleanup of resources in hci_unregister_dev()
Date: Tue, 10 Aug 2021 19:29:38 +0200	[thread overview]
Message-ID: <20210810173003.238877781@linuxfoundation.org> (raw)
In-Reply-To: <20210810173000.928681411@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 89c8406dddb4..34a92d5ed12b 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -1229,6 +1229,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 7d71d104fdfd..ee59d1c7f1f6 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -3976,14 +3976,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);
@@ -4018,7 +4014,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);
@@ -4043,11 +4046,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:56 UTC|newest]

Thread overview: 183+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-10 17:28 [PATCH 5.13 000/175] 5.13.10-rc1 review Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 001/175] Revert "ACPICA: Fix memory leak caused by _CID repair function" Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 002/175] ALSA: seq: Fix racy deletion of subscriber Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 003/175] bus: ti-sysc: Fix gpt12 system timer issue with reserved status Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 004/175] net: xfrm: fix memory leak in xfrm_user_rcv_msg Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 005/175] arm64: dts: ls1028a: fix node name for the sysclk Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 006/175] dmaengine: idxd: fix array index when int_handles are being used Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 007/175] dmaengine: idxd: fix setup sequence for MSIXPERM table Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 008/175] ARM: imx: add missing iounmap() Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 009/175] ARM: imx: add missing clk_disable_unprepare() Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 010/175] ARM: dts: imx6qdl-sr-som: Increase the PHY reset duration to 10ms Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 011/175] Revert "soc: imx8m: change to use platform driver" Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 012/175] dmaengine: idxd: fix desc->vector that isnt being updated Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 013/175] dmaengine: idxd: fix sequence for pci driver remove() and shutdown() Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 014/175] dmaengine: idxd: fix submission race window Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 015/175] arm64: dts: ls1028: sl28: fix networking for variant 2 Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 016/175] ARM: dts: colibri-imx6ull: limit SDIO clock to 25MHz Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 017/175] ARM: imx: fix missing 3rd argument in macro imx_mmdc_perf_init Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 018/175] ARM: dts: imx: Swap M53Menlo pinctrl_power_button/pinctrl_power_out pins Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 019/175] arm64: dts: armada-3720-turris-mox: fixed indices for the SDHC controllers Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 020/175] ext4: fix potential uninitialized access to retval in kmmpd Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 021/175] arm64: dts: armada-3720-turris-mox: remove mrvl,i2c-fast-mode Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 022/175] ALSA: usb-audio: fix incorrect clock source setting Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 023/175] riscv: stacktrace: Fix NULL pointer dereference Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 024/175] clk: stm32f4: fix post divisor setup for I2S/SAI PLLs Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 025/175] ARM: dts: am437x-l4: fix typo in can@0 node Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 026/175] omap5-board-common: remove not physically existing vdds_1v8_main fixed-regulator Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 027/175] dmaengine: uniphier-xdmac: Use readl_poll_timeout_atomic() in atomic state Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 028/175] clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 029/175] dmaengine: stm32-dma: Fix PM usage counter imbalance in stm32 dma ops Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 030/175] dmaengine: stm32-dmamux: Fix PM usage counter unbalance in stm32 dmamux ops Greg Kroah-Hartman
2021-08-10 17:28 ` [PATCH 5.13 031/175] spi: imx: mx51-ecspi: Reinstate low-speed CONFIGREG delay Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 032/175] spi: imx: mx51-ecspi: Fix low-speed CONFIGREG delay calculation Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 033/175] drm/kmb: Enable LCD DMA for low TVDDCV Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 034/175] scsi: sr: Return correct event when media event code is 3 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 035/175] media: videobuf2-core: dequeue if start_streaming fails Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 036/175] ARM: dts: stm32: Prefer HW RTC on DHCOM SoM Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 037/175] ARM: dts: stm32: Disable LAN8710 EDPD on DHCOM Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 038/175] ARM: dts: stm32: Fix touchscreen IRQ line assignment " Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 039/175] dmaengine: imx-dma: configure the generic DMA type to make it work Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 040/175] net, gro: Set inner transport header offset in tcp/udp GRO hook Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 041/175] net: dsa: sja1105: overwrite dynamic FDB entries with static ones in .port_fdb_add Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 042/175] net: dsa: sja1105: invalidate dynamic FDB entries learned concurrently with statically added ones Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 043/175] net: dsa: sja1105: ignore the FDB entry for unknown multicast when adding a new address Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 044/175] 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.13 045/175] net: dsa: sja1105: match FDB entries regardless of inner/outer VLAN tag Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 046/175] net: phy: micrel: Fix detection of ksz87xx switch Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 047/175] net: natsemi: Fix missing pci_disable_device() in probe and remove Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 048/175] gpio: tqmx86: really make IRQ optional Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 049/175] 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.13 050/175] net: bridge: validate the NUD_PERMANENT bit when adding an extern_learn FDB entry Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 051/175] sctp: move the active_key update after sh_keys is added Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 052/175] drm/i915: Call i915_globals_exit() if pci_register_device() fails Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 053/175] nfp: update ethtool reporting of pauseframe control Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 054/175] net: ipv6: fix returned variable type in ip6_skb_dst_mtu Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 055/175] RDMA/hns: Fix the double unlock problem of poll_sem Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 056/175] net: dsa: qca: ar9331: reorder MDIO write sequence Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 057/175] riscv: Disable STACKPROTECTOR_PER_TASK if GCC_PLUGIN_RANDSTRUCT is enabled Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 058/175] net: sched: fix lockdep_set_class() typo error for sch->seqlock Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 059/175] drm/i915: fix i915_globals_exit() section mismatch error Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 060/175] MIPS: check return value of pgtable_pmd_page_ctor Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 061/175] x86/tools/relocs: Fix non-POSIX regexp Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 062/175] mips: " Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 063/175] kbuild: cancel sub_make_done for the install target to fix DKMS Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 064/175] bnx2x: fix an error code in bnx2x_nic_load() Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 065/175] net: ethernet: ti: am65-cpsw: fix crash in am65_cpsw_port_offload_fwd_mark_update() Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 066/175] net: pegasus: fix uninit-value in get_interrupt_interval Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 067/175] net: fec: fix use-after-free in fec_drv_remove Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 068/175] net: vxge: fix use-after-free in vxge_device_unregister Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 069/175] 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.13 071/175] io-wq: fix no lock protection of acct->nr_worker Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 072/175] io-wq: fix lack of acct->nr_workers < acct->max_workers judgement Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 073/175] USB: usbtmc: Fix RCU stall warning Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 074/175] USB: serial: option: add Telit FD980 composition 0x1056 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 075/175] USB: serial: ch341: fix character loss at high transfer rates Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 076/175] USB: serial: ftdi_sio: add device ID for Auto-M3 OP-COM v2 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 077/175] USB: serial: pl2303: fix HX type detection Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 078/175] USB: serial: pl2303: fix GT " Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 079/175] firmware_loader: use -ETIMEDOUT instead of -EAGAIN in fw_load_sysfs_fallback Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 080/175] firmware_loader: fix use-after-free in firmware_fallback_sysfs Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 081/175] drm/amdgpu: fix checking pmops when PM_SLEEP is not enabled Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 082/175] drm/amdgpu/display: fix DMUB firmware version info Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 083/175] ALSA: pcm - fix mmap capability check for the snd-dummy driver Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 084/175] ALSA: hda/realtek: add mic quirk for Acer SF314-42 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 085/175] ALSA: hda/realtek: Fix headset mic for Acer SWIFT SF314-56 (ALC256) Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 086/175] ALSA: usb-audio: Fix superfluous autosuspend recovery Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 087/175] ALSA: usb-audio: Add registration quirk for JBL Quantum 600 Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 088/175] ALSA: usb-audio: Avoid unnecessary or invalid connector selection at resume Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 089/175] usb: dwc3: gadget: Use list_replace_init() before traversing lists Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 090/175] usb: dwc3: gadget: Avoid runtime resume if disabling pullup Greg Kroah-Hartman
2021-08-10 17:29 ` [PATCH 5.13 091/175] usb: gadget: remove leaked entry from udc driver list Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 092/175] usb: cdns3: Fixed incorrect gadget state Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 093/175] usb: cdnsp: Fixed issue with ZLP Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 094/175] usb: gadget: f_hid: added GET_IDLE and SET_IDLE handlers Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 095/175] usb: gadget: f_hid: fixed NULL pointer dereference Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 096/175] usb: gadget: f_hid: idle uses the highest byte for duration Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 097/175] usb: host: ohci-at91: suspend/resume ports after/before OHCI accesses Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 098/175] usb: typec: tcpm: Keep other events when receiving FRS and Sourcing_vbus events Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 099/175] usb: otg-fsm: Fix hrtimer list corruption Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 100/175] clk: fix leak on devm_clk_bulk_get_all() unwind Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 101/175] scripts/tracing: fix the bug that cant parse raw_trace_func Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 102/175] tracing / histogram: Give calculation hist_fields a size Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 103/175] tracing: Reject string operand in the histogram expression Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 104/175] tracing: Fix NULL pointer dereference in start_creating Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 105/175] tracepoint: static call: Compare data on transition from 2->1 callees Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 106/175] tracepoint: Fix static call function vs data state mismatch Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 107/175] tracepoint: Use rcu get state and cond sync for static call updates Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 108/175] arm64: stacktrace: avoid tracing arch_stack_walk() Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 109/175] optee: Clear stale cache entries during initialization Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 110/175] tee: add tee_shm_alloc_kernel_buf() Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 111/175] tee: Correct inappropriate usage of TEE_SHM_DMA_BUF flag Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 112/175] optee: Fix memory leak when failing to register shm pages Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 113/175] optee: Refuse to load the driver under the kdump kernel Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 114/175] optee: fix tee out of memory failure seen during kexec reboot Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 115/175] tpm_ftpm_tee: Free and unregister TEE shared memory during kexec Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 116/175] staging: rtl8723bs: Fix a resource leak in sd_int_dpc Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 117/175] staging: rtl8712: get rid of flush_scheduled_work Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 118/175] staging: rtl8712: error handling refactoring Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 119/175] drivers core: Fix oops when driver probe fails Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 120/175] media: rtl28xxu: fix zero-length control request Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 121/175] pipe: increase minimum default pipe size to 2 pages Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 122/175] ext4: fix potential htree corruption when growing large_dir directories Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 123/175] Revert "thunderbolt: Hide authorized attribute if router does not support PCIe tunnels" Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 124/175] serial: tegra: Only print FIFO error message when an error occurs Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 125/175] serial: 8250_mtk: fix uart corruption issue when rx power off Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 126/175] serial: 8250: Mask out floating 16/32-bit bus bits Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 127/175] serial: 8250: fix handle_irq locking Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 128/175] MIPS: Malta: Do not byte-swap accesses to the CBUS UART Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 129/175] serial: 8250_pci: Enumerate Elkhart Lake UARTs via dedicated driver Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 130/175] serial: 8250_pci: Avoid irq sharing for MSI(-X) interrupts Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 131/175] fpga: dfl: fme: Fix cpu hotplug issue in performance reporting Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 132/175] timers: Move clearing of base::timer_running under base:: Lock Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 133/175] virt: acrn: Do hcall_destroy_vm() before resource release Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 134/175] perf: Fix required permissions if sigtrap is requested Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 135/175] xfrm: Fix RCU vs hash_resize_mutex lock inversion Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 136/175] net/xfrm/compat: Copy xfrm_spdattr_type_t atributes Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 137/175] pcmcia: i82092: fix a null pointer dereference bug Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 138/175] scsi: ibmvfc: Fix command state accounting and stale response detection Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 139/175] selinux: correct the return value when loads initial sids Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 140/175] bus: ti-sysc: AM3: RNG is GP only Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 141/175] Revert "gpio: mpc8xxx: change the gpio interrupt flags." Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 142/175] arm64: fix compat syscall return truncation Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 143/175] ARM: omap2+: hwmod: fix potential NULL pointer access Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 144/175] md/raid10: properly indicate failure when ending a failed write request Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 145/175] io-wq: fix race between worker exiting and activating free worker Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 146/175] s390/dasd: fix use after free in dasd path handling Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 147/175] KVM: x86: accept userspace interrupt only if no event is injected Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 148/175] KVM: SVM: Fix off-by-one indexing when nullifying last used SEV VMCB Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 149/175] KVM: Do not leak memory for duplicate debugfs directories Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 150/175] KVM: x86/mmu: Fix per-cpu counter corruption on 32-bit builds Greg Kroah-Hartman
2021-08-10 17:30 ` [PATCH 5.13 151/175] soc: ixp4xx: fix printing resources Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 152/175] interconnect: Fix undersized devress_alloc allocation Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 153/175] usb: cdnsp: Fix the IMAN_IE_SET and IMAN_IE_CLEAR macro Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 154/175] usb: cdnsp: Fix incorrect supported maximum speed Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 155/175] spi: meson-spicc: fix memory leak in meson_spicc_remove Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 156/175] interconnect: Zero initial BW after sync-state Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 157/175] interconnect: Always call pre_aggregate before aggregate Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 158/175] interconnect: qcom: icc-rpmh: Ensure floor BW is enforced for all nodes Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 159/175] interconnect: qcom: icc-rpmh: Add BCMs to commit list in pre_aggregate Greg Kroah-Hartman
2021-08-11 15:50   ` Georgi Djakov
2021-08-12  6:45     ` Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 160/175] drm/i915: Correct SFC_DONE register offset Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 161/175] soc: ixp4xx/qmgr: fix invalid __iomem access Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 162/175] perf/x86/amd: Dont touch the AMD64_EVENTSEL_HOSTONLY bit inside the guest Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 163/175] sched/rt: Fix double enqueue caused by rt_effective_prio Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 164/175] riscv: dts: fix memory size for the SiFive HiFive Unmatched Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 165/175] libata: fix ata_pio_sector for CONFIG_HIGHMEM Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 166/175] reiserfs: add check for root_inode in reiserfs_fill_super Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 167/175] reiserfs: check directory items on read from disk Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 168/175] virt_wifi: fix error on connect Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 169/175] net: qede: Fix end of loop tests for list_for_each_entry Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 170/175] alpha: Send stop IPI to send to online CPUs Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 171/175] 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.13 172/175] smb3: rc uninitialized in one fallocate path Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 173/175] drm/amdgpu/display: only enable aux backlight control for OLED panels Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 174/175] platform/x86: gigabyte-wmi: add support for B550 Aorus Elite V2 Greg Kroah-Hartman
2021-08-10 17:31 ` [PATCH 5.13 175/175] HID: ft260: fix device removal due to USB disconnect Greg Kroah-Hartman
2021-08-10 20:31 ` [PATCH 5.13 000/175] 5.13.10-rc1 review Fox Chen
2021-08-11 16:21 ` Naresh Kamboju
2021-08-11 19:35 ` Justin Forbes
2021-08-11 20:00 ` Guenter Roeck
2021-08-11 22:20 ` 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=20210810173003.238877781@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;
as well as URLs for NNTP newsgroup(s).