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,
	Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>,
	Luiz Augusto von Dentz <luiz.von.dentz@intel.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 4.14 163/217] Bluetooth: avoid circular locks in sco_sock_connect
Date: Mon, 20 Sep 2021 18:43:04 +0200	[thread overview]
Message-ID: <20210920163930.168177159@linuxfoundation.org> (raw)
In-Reply-To: <20210920163924.591371269@linuxfoundation.org>

From: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>

[ Upstream commit 734bc5ff783115aa3164f4e9dd5967ae78e0a8ab ]

In a future patch, calls to bh_lock_sock in sco.c should be replaced
by lock_sock now that none of the functions are run in IRQ context.

However, doing so results in a circular locking dependency:

======================================================
WARNING: possible circular locking dependency detected
5.14.0-rc4-syzkaller #0 Not tainted
------------------------------------------------------
syz-executor.2/14867 is trying to acquire lock:
ffff88803e3c1120 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}, at:
lock_sock include/net/sock.h:1613 [inline]
ffff88803e3c1120 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}, at:
sco_conn_del+0x12a/0x2a0 net/bluetooth/sco.c:191

but task is already holding lock:
ffffffff8d2dc7c8 (hci_cb_list_lock){+.+.}-{3:3}, at:
hci_disconn_cfm include/net/bluetooth/hci_core.h:1497 [inline]
ffffffff8d2dc7c8 (hci_cb_list_lock){+.+.}-{3:3}, at:
hci_conn_hash_flush+0xda/0x260 net/bluetooth/hci_conn.c:1608

which lock already depends on the new lock.

the existing dependency chain (in reverse order) is:

-> #2 (hci_cb_list_lock){+.+.}-{3:3}:
       __mutex_lock_common kernel/locking/mutex.c:959 [inline]
       __mutex_lock+0x12a/0x10a0 kernel/locking/mutex.c:1104
       hci_connect_cfm include/net/bluetooth/hci_core.h:1482 [inline]
       hci_remote_features_evt net/bluetooth/hci_event.c:3263 [inline]
       hci_event_packet+0x2f4d/0x7c50 net/bluetooth/hci_event.c:6240
       hci_rx_work+0x4f8/0xd30 net/bluetooth/hci_core.c:5122
       process_one_work+0x98d/0x1630 kernel/workqueue.c:2276
       worker_thread+0x658/0x11f0 kernel/workqueue.c:2422
       kthread+0x3e5/0x4d0 kernel/kthread.c:319
       ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295

-> #1 (&hdev->lock){+.+.}-{3:3}:
       __mutex_lock_common kernel/locking/mutex.c:959 [inline]
       __mutex_lock+0x12a/0x10a0 kernel/locking/mutex.c:1104
       sco_connect net/bluetooth/sco.c:245 [inline]
       sco_sock_connect+0x227/0xa10 net/bluetooth/sco.c:601
       __sys_connect_file+0x155/0x1a0 net/socket.c:1879
       __sys_connect+0x161/0x190 net/socket.c:1896
       __do_sys_connect net/socket.c:1906 [inline]
       __se_sys_connect net/socket.c:1903 [inline]
       __x64_sys_connect+0x6f/0xb0 net/socket.c:1903
       do_syscall_x64 arch/x86/entry/common.c:50 [inline]
       do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
       entry_SYSCALL_64_after_hwframe+0x44/0xae

-> #0 (sk_lock-AF_BLUETOOTH-BTPROTO_SCO){+.+.}-{0:0}:
       check_prev_add kernel/locking/lockdep.c:3051 [inline]
       check_prevs_add kernel/locking/lockdep.c:3174 [inline]
       validate_chain kernel/locking/lockdep.c:3789 [inline]
       __lock_acquire+0x2a07/0x54a0 kernel/locking/lockdep.c:5015
       lock_acquire kernel/locking/lockdep.c:5625 [inline]
       lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5590
       lock_sock_nested+0xca/0x120 net/core/sock.c:3170
       lock_sock include/net/sock.h:1613 [inline]
       sco_conn_del+0x12a/0x2a0 net/bluetooth/sco.c:191
       sco_disconn_cfm+0x71/0xb0 net/bluetooth/sco.c:1202
       hci_disconn_cfm include/net/bluetooth/hci_core.h:1500 [inline]
       hci_conn_hash_flush+0x127/0x260 net/bluetooth/hci_conn.c:1608
       hci_dev_do_close+0x528/0x1130 net/bluetooth/hci_core.c:1778
       hci_unregister_dev+0x1c0/0x5a0 net/bluetooth/hci_core.c:4015
       vhci_release+0x70/0xe0 drivers/bluetooth/hci_vhci.c:340
       __fput+0x288/0x920 fs/file_table.c:280
       task_work_run+0xdd/0x1a0 kernel/task_work.c:164
       exit_task_work include/linux/task_work.h:32 [inline]
       do_exit+0xbd4/0x2a60 kernel/exit.c:825
       do_group_exit+0x125/0x310 kernel/exit.c:922
       get_signal+0x47f/0x2160 kernel/signal.c:2808
       arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:865
       handle_signal_work kernel/entry/common.c:148 [inline]
       exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
       exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:209
       __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline]
       syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:302
       ret_from_fork+0x15/0x30 arch/x86/entry/entry_64.S:288

other info that might help us debug this:

Chain exists of:
  sk_lock-AF_BLUETOOTH-BTPROTO_SCO --> &hdev->lock --> hci_cb_list_lock

 Possible unsafe locking scenario:

       CPU0                    CPU1
       ----                    ----
  lock(hci_cb_list_lock);
                               lock(&hdev->lock);
                               lock(hci_cb_list_lock);
  lock(sk_lock-AF_BLUETOOTH-BTPROTO_SCO);

 *** DEADLOCK ***

The issue is that the lock hierarchy should go from &hdev->lock -->
hci_cb_list_lock --> sk_lock-AF_BLUETOOTH-BTPROTO_SCO. For example,
one such call trace is:

  hci_dev_do_close():
    hci_dev_lock();
    hci_conn_hash_flush():
      hci_disconn_cfm():
        mutex_lock(&hci_cb_list_lock);
        sco_disconn_cfm():
        sco_conn_del():
          lock_sock(sk);

However, in sco_sock_connect, we call lock_sock before calling
hci_dev_lock inside sco_connect, thus inverting the lock hierarchy.

We fix this by pulling the call to hci_dev_lock out from sco_connect.

Signed-off-by: Desmond Cheong Zhi Xi <desmondcheongzx@gmail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 net/bluetooth/sco.c | 39 ++++++++++++++++-----------------------
 1 file changed, 16 insertions(+), 23 deletions(-)

diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index f4b997fb33d6..f681e7ce8945 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -209,44 +209,32 @@ static int sco_chan_add(struct sco_conn *conn, struct sock *sk,
 	return err;
 }
 
-static int sco_connect(struct sock *sk)
+static int sco_connect(struct hci_dev *hdev, struct sock *sk)
 {
 	struct sco_conn *conn;
 	struct hci_conn *hcon;
-	struct hci_dev  *hdev;
 	int err, type;
 
 	BT_DBG("%pMR -> %pMR", &sco_pi(sk)->src, &sco_pi(sk)->dst);
 
-	hdev = hci_get_route(&sco_pi(sk)->dst, &sco_pi(sk)->src, BDADDR_BREDR);
-	if (!hdev)
-		return -EHOSTUNREACH;
-
-	hci_dev_lock(hdev);
-
 	if (lmp_esco_capable(hdev) && !disable_esco)
 		type = ESCO_LINK;
 	else
 		type = SCO_LINK;
 
 	if (sco_pi(sk)->setting == BT_VOICE_TRANSPARENT &&
-	    (!lmp_transp_capable(hdev) || !lmp_esco_capable(hdev))) {
-		err = -EOPNOTSUPP;
-		goto done;
-	}
+	    (!lmp_transp_capable(hdev) || !lmp_esco_capable(hdev)))
+		return -EOPNOTSUPP;
 
 	hcon = hci_connect_sco(hdev, type, &sco_pi(sk)->dst,
 			       sco_pi(sk)->setting);
-	if (IS_ERR(hcon)) {
-		err = PTR_ERR(hcon);
-		goto done;
-	}
+	if (IS_ERR(hcon))
+		return PTR_ERR(hcon);
 
 	conn = sco_conn_add(hcon);
 	if (!conn) {
 		hci_conn_drop(hcon);
-		err = -ENOMEM;
-		goto done;
+		return -ENOMEM;
 	}
 
 	/* Update source addr of the socket */
@@ -254,7 +242,7 @@ static int sco_connect(struct sock *sk)
 
 	err = sco_chan_add(conn, sk, NULL);
 	if (err)
-		goto done;
+		return err;
 
 	if (hcon->state == BT_CONNECTED) {
 		sco_sock_clear_timer(sk);
@@ -264,9 +252,6 @@ static int sco_connect(struct sock *sk)
 		sco_sock_set_timer(sk, sk->sk_sndtimeo);
 	}
 
-done:
-	hci_dev_unlock(hdev);
-	hci_dev_put(hdev);
 	return err;
 }
 
@@ -550,6 +535,7 @@ static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen
 {
 	struct sockaddr_sco *sa = (struct sockaddr_sco *) addr;
 	struct sock *sk = sock->sk;
+	struct hci_dev  *hdev;
 	int err;
 
 	BT_DBG("sk %p", sk);
@@ -564,12 +550,19 @@ static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen
 	if (sk->sk_type != SOCK_SEQPACKET)
 		return -EINVAL;
 
+	hdev = hci_get_route(&sa->sco_bdaddr, &sco_pi(sk)->src, BDADDR_BREDR);
+	if (!hdev)
+		return -EHOSTUNREACH;
+	hci_dev_lock(hdev);
+
 	lock_sock(sk);
 
 	/* Set destination address and psm */
 	bacpy(&sco_pi(sk)->dst, &sa->sco_bdaddr);
 
-	err = sco_connect(sk);
+	err = sco_connect(hdev, sk);
+	hci_dev_unlock(hdev);
+	hci_dev_put(hdev);
 	if (err)
 		goto done;
 
-- 
2.30.2




  parent reply	other threads:[~2021-09-20 17:26 UTC|newest]

Thread overview: 220+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-20 16:40 [PATCH 4.14 000/217] 4.14.247-rc1 review Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 001/217] ext4: fix race writing to an inline_data file while its xattrs are changing Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 002/217] xtensa: fix kconfig unmet dependency warning for HAVE_FUTEX_CMPXCHG Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 003/217] qed: Fix the VF msix vectors flow Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 004/217] net: macb: Add a NULL check on desc_ptp Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 005/217] qede: Fix memset corruption Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 006/217] perf/x86/intel/pt: Fix mask of num_address_ranges Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 007/217] perf/x86/amd/ibs: Work around erratum #1197 Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 008/217] cryptoloop: add a deprecation warning Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 009/217] ARM: 8918/2: only build return_address() if needed Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 010/217] ALSA: pcm: fix divide error in snd_pcm_lib_ioctl Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 011/217] clk: fix build warning for orphan_list Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 012/217] media: stkwebcam: fix memory leak in stk_camera_probe Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 013/217] igmp: Add ip_mc_list lock in ip_check_mc_rcu Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 014/217] USB: serial: mos7720: improve OOM-handling in read_mos_reg() Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 015/217] f2fs: fix potential overflow Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 016/217] ath10k: fix recent bandwidth conversion bug Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 017/217] ipv4/icmp: l3mdev: Perform icmp error route lookup on source device routing table (v2) Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 018/217] s390/disassembler: correct disassembly lines alignment Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 019/217] mm/kmemleak.c: make cond_resched() rate-limiting more efficient Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 020/217] crypto: talitos - reduce max key size for SEC1 Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 021/217] powerpc/module64: Fix comment in R_PPC64_ENTRY handling Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 022/217] powerpc/boot: Delete unneeded .globl _zimage_start Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 023/217] net: ll_temac: Remove left-over debug message Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 024/217] mm/page_alloc: speed up the iteration of max_order Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 025/217] Revert "btrfs: compression: dont try to compress if we dont have enough pages" Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 026/217] usb: host: xhci-rcar: Dont reload firmware after the completion Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 027/217] x86/reboot: Limit Dell Optiplex 990 quirk to early BIOS versions Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 028/217] PCI: Call Max Payload Size-related fixup quirks early Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 029/217] regmap: fix the offset of register error log Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 030/217] crypto: mxs-dcp - Check for DMA mapping errors Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 031/217] power: supply: axp288_fuel_gauge: Report register-address on readb / writeb errors Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 032/217] crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop() Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 033/217] udf: Check LVID earlier Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 034/217] isofs: joliet: Fix iocharset=utf8 mount option Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 035/217] nvme-rdma: dont update queue count when failing to set io queues Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 036/217] power: supply: max17042_battery: fix typo in MAx17042_TOFF Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 037/217] s390/cio: add dev_busid sysfs entry for each subchannel Greg Kroah-Hartman
2021-09-20 16:40 ` [PATCH 4.14 038/217] libata: fix ata_host_start() Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 039/217] crypto: qat - do not ignore errors from enable_vf2pf_comms() Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 040/217] crypto: qat - handle both source of interrupt in VF ISR Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 041/217] crypto: qat - fix reuse of completion variable Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 042/217] crypto: qat - fix naming for init/shutdown VF to PF notifications Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 043/217] crypto: qat - do not export adf_iov_putmsg() Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 044/217] udf_get_extendedattr() had no boundary checks Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 045/217] m68k: emu: Fix invalid free in nfeth_cleanup() Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 046/217] spi: spi-fsl-dspi: Fix issue with uninitialized dma_slave_config Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 047/217] spi: spi-pic32: " Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 048/217] clocksource/drivers/sh_cmt: Fix wrong setting if dont request IRQ for clock source channel Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 049/217] crypto: qat - use proper type for vf_mask Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 050/217] certs: Trigger creation of RSA module signing key if its not an RSA key Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 051/217] soc: rockchip: ROCKCHIP_GRF should not default to y, unconditionally Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 052/217] media: dvb-usb: fix uninit-value in dvb_usb_adapter_dvb_init Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 053/217] media: dvb-usb: fix uninit-value in vp702x_read_mac_addr Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 054/217] media: go7007: remove redundant initialization Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 055/217] Bluetooth: sco: prevent information leak in sco_conn_defer_accept() Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 056/217] tcp: seq_file: Avoid skipping sk during tcp_seek_last_pos Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 057/217] net: cipso: fix warnings in netlbl_cipsov4_add_std Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 058/217] i2c: highlander: add IRQ check Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 059/217] media: em28xx-input: fix refcount bug in em28xx_usb_disconnect Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 060/217] PCI: PM: Avoid forcing PCI_D0 for wakeup reasons inconsistently Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 061/217] PCI: PM: Enable PME if it can be signaled from D3cold Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 062/217] soc: qcom: smsm: Fix missed interrupts if state changes while masked Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 063/217] Bluetooth: increase BTNAMSIZ to 21 chars to fix potential buffer overflow Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 064/217] arm64: dts: exynos: correct GIC CPU interfaces address range on Exynos7 Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 065/217] Bluetooth: fix repeated calls to sco_sock_kill Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 066/217] drm/msm/dsi: Fix some reference counted resource leaks Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 067/217] usb: gadget: udc: at91: add IRQ check Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 068/217] usb: phy: fsl-usb: " Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 069/217] usb: phy: twl6030: add IRQ checks Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 070/217] Bluetooth: Move shutdown callback before flushing tx and rx queue Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 071/217] usb: host: ohci-tmio: add IRQ check Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 072/217] usb: phy: tahvo: " Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 073/217] mac80211: Fix insufficient headroom issue for AMSDU Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 074/217] usb: gadget: mv_u3d: request_irq() after initializing UDC Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 075/217] Bluetooth: add timeout sanity check to hci_inquiry Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 076/217] i2c: iop3xx: fix deferred probing Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 077/217] i2c: s3c2410: fix IRQ check Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 078/217] mmc: dw_mmc: Fix issue with uninitialized dma_slave_config Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 079/217] mmc: moxart: " Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 080/217] CIFS: Fix a potencially linear read overflow Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 081/217] i2c: mt65xx: fix IRQ check Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 082/217] usb: ehci-orion: Handle errors of clk_prepare_enable() in probe Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 083/217] usb: bdc: Fix an error handling path in bdc_probe() when no suitable DMA config is available Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 084/217] tty: serial: fsl_lpuart: fix the wrong mapbase value Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 085/217] ath6kl: wmi: fix an error code in ath6kl_wmi_sync_point() Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 086/217] bcma: Fix memory leak for internally-handled cores Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 087/217] ipv4: make exception cache less predictible Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 088/217] net: sched: Fix qdisc_rate_table refcount leak when get tcf_block failed Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 089/217] net: qualcomm: fix QCA7000 checksum handling Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 090/217] netns: protect netns ID lookups with RCU Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 091/217] tty: Fix data race between tiocsti() and flush_to_ldisc() Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 092/217] x86/resctrl: Fix a maybe-uninitialized build warning treated as error Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 093/217] KVM: x86: Update vCPUs hv_clock before back to guest when tsc_offset is adjusted Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 094/217] IMA: remove -Wmissing-prototypes warning Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 095/217] backlight: pwm_bl: Improve bootloader/kernel device handover Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 096/217] clk: kirkwood: Fix a clocking boot regression Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 097/217] fbmem: dont allow too huge resolutions Greg Kroah-Hartman
2021-09-20 16:41 ` [PATCH 4.14 098/217] rtc: tps65910: Correct driver module alias Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 099/217] blk-zoned: allow zone management send operations without CAP_SYS_ADMIN Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 100/217] blk-zoned: allow BLKREPORTZONE " Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 101/217] PCI/MSI: Skip masking MSI-X on Xen PV Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 102/217] powerpc/perf/hv-gpci: Fix counter value parsing Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 103/217] xen: fix setting of max_pfn in shared_info Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 104/217] include/linux/list.h: add a macro to test if entry is pointing to the head Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 105/217] 9p/xen: Fix end of loop tests for list_for_each_entry Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 106/217] soc: aspeed: lpc-ctrl: Fix boundary check for mmap Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 107/217] crypto: public_key: fix overflow during implicit conversion Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 108/217] block: bfq: fix bfq_set_next_ioprio_data() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 109/217] power: supply: max17042: handle fails of reading status register Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 110/217] dm crypt: Avoid percpu_counter spinlock contention in crypt_page_alloc() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 111/217] VMCI: fix NULL pointer dereference when unmapping queue pair Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 112/217] media: uvc: dont do DMA on stack Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 113/217] media: rc-loopback: return number of emitters rather than error Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 114/217] libata: add ATA_HORKAGE_NO_NCQ_TRIM for Samsung 860 and 870 SSDs Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 115/217] ARM: 9105/1: atags_to_fdt: dont warn about stack size Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 116/217] PCI: Restrict ASMedia ASM1062 SATA Max Payload Size Supported Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 117/217] PCI: Return ~0 data on pciconfig_read() CAP_SYS_ADMIN failure Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 118/217] PCI: xilinx-nwl: Enable the clock through CCF Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 119/217] PCI: aardvark: Increase polling delay to 1.5s while waiting for PIO response Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 120/217] PCI: aardvark: Fix masking and unmasking legacy INTx interrupts Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 121/217] HID: input: do not report stylus battery state as "full" Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 122/217] RDMA/iwcm: Release resources if iw_cm module initialization fails Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 123/217] docs: Fix infiniband uverbs minor number Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 124/217] pinctrl: samsung: Fix pinctrl bank pin count Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 125/217] vfio: Use config not menuconfig for VFIO_NOIOMMU Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 126/217] openrisc: dont printk() unconditionally Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 127/217] pinctrl: single: Fix error return code in pcs_parse_bits_in_pinctrl_entry() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 128/217] scsi: qedi: Fix error codes in qedi_alloc_global_queues() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 129/217] MIPS: Malta: fix alignment of the devicetree buffer Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 130/217] media: dib8000: rewrite the init prbs logic Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 131/217] crypto: mxs-dcp - Use sg_mapping_iter to copy data Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 132/217] PCI: Use pci_update_current_state() in pci_enable_device_flags() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 133/217] iio: dac: ad5624r: Fix incorrect handling of an optional regulator Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 134/217] ARM: dts: qcom: apq8064: correct clock names Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 135/217] video: fbdev: kyro: fix a DoS bug by restricting user input Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 136/217] netlink: Deal with ESRCH error in nlmsg_notify() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 137/217] Smack: Fix wrong semantics in smk_access_entry() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 138/217] usb: host: fotg210: fix the endpoints transactional opportunities calculation Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 139/217] usb: host: fotg210: fix the actual_length of an iso packet Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 140/217] usb: gadget: u_ether: fix a potential null pointer dereference Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 141/217] usb: gadget: composite: Allow bMaxPower=0 if self-powered Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 142/217] staging: board: Fix uninitialized spinlock when attaching genpd Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 143/217] tty: serial: jsm: hold port lock when reporting modem line changes Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 144/217] bpf/tests: Fix copy-and-paste error in double word test Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 145/217] bpf/tests: Do not PASS tests without actually testing the result Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 146/217] video: fbdev: asiliantfb: Error out if pixclock equals zero Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 147/217] video: fbdev: kyro: " Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 148/217] video: fbdev: riva: " Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 149/217] ipv4: ip_output.c: Fix out-of-bounds warning in ip_copy_addrs() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 150/217] flow_dissector: Fix out-of-bounds warnings Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 151/217] s390/jump_label: print real address in a case of a jump label bug Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 152/217] serial: 8250: Define RX trigger levels for OxSemi 950 devices Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 153/217] xtensa: ISS: dont panic in rs_init Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 154/217] hvsi: dont panic on tty_register_driver failure Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 155/217] serial: 8250_pci: make setup_port() parameters explicitly unsigned Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 156/217] staging: ks7010: Fix the initialization of the sleep_status structure Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 157/217] ata: sata_dwc_460ex: No need to call phy_exit() befre phy_init() Greg Kroah-Hartman
2021-09-20 16:42 ` [PATCH 4.14 158/217] Bluetooth: skip invalid hci_sync_conn_complete_evt Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 159/217] ASoC: Intel: bytcr_rt5640: Move "Platform Clock" routes to the maps for the matching in-/output Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 160/217] media: v4l2-dv-timings.c: fix wrong condition in two for-loops Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 161/217] arm64: dts: qcom: sdm660: use reg value for memory node Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 162/217] net: ethernet: stmmac: Do not use unreachable() in ipq806x_gmac_probe() Greg Kroah-Hartman
2021-09-20 16:43 ` Greg Kroah-Hartman [this message]
2021-09-20 16:43 ` [PATCH 4.14 164/217] gpu: drm: amd: amdgpu: amdgpu_i2c: fix possible uninitialized-variable access in amdgpu_i2c_router_select_ddc_port() Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 165/217] ARM: tegra: tamonten: Fix UART pad setting Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 166/217] rpc: fix gss_svc_init cleanup on failure Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 167/217] staging: rts5208: Fix get_ms_information() heap buffer size Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 168/217] gfs2: Dont call dlm after protocol is unmounted Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 169/217] mmc: sdhci-of-arasan: Check return value of non-void funtions Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 170/217] mmc: rtsx_pci: Fix long reads when clock is prescaled Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 171/217] selftests/bpf: Enlarge select() timeout for test_maps Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 172/217] cifs: fix wrong release in sess_alloc_buffer() failed path Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 173/217] Revert "USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set" Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 174/217] usb: musb: musb_dsps: request_irq() after initializing musb Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 175/217] usbip: give back URBs for unsent unlink requests during cleanup Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 176/217] usbip:vhci_hcd USB port can get stuck in the disabled state Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 177/217] ASoC: rockchip: i2s: Fix regmap_ops hang Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 178/217] ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 179/217] parport: remove non-zero check on count Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 180/217] ath9k: fix OOB read ar9300_eeprom_restore_internal Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 181/217] ath9k: fix sleeping in atomic context Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 182/217] net: fix NULL pointer reference in cipso_v4_doi_free Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 183/217] net: w5100: check return value after calling platform_get_resource() Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 184/217] parisc: fix crash with signals and alloca Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 185/217] scsi: BusLogic: Fix missing pr_cont() use Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 186/217] scsi: qla2xxx: Sync queue idx with queue_pair_map idx Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 187/217] cpufreq: powernv: Fix init_chip_info initialization in numa=off Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 188/217] mm/hugetlb: initialize hugetlb_usage in mm_init Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 189/217] memcg: enable accounting for pids in nested pid namespaces Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 190/217] platform/chrome: cros_ec_proto: Send command again when timeout occurs Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 191/217] xen: reset legacy rtc flag for PV domU Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 192/217] bnx2x: Fix enabling network interfaces without VFs Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 193/217] PM: base: power: dont try to use non-existing RTC for storing data Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 194/217] x86/mm: Fix kern_addr_valid() to cope with existing but not present entries Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 195/217] net-caif: avoid user-triggerable WARN_ON(1) Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 196/217] ptp: dp83640: dont define PAGE0 Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 197/217] dccp: dont duplicate ccid when cloning dccp sock Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 198/217] net/l2tp: Fix reference count leak in l2tp_udp_recv_core Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 199/217] r6040: Restore MDIO clock frequency after MAC reset Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 200/217] tipc: increase timeout in tipc_sk_enqueue() Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 201/217] events: Reuse value read using READ_ONCE instead of re-reading it Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 202/217] net/af_unix: fix a data-race in unix_dgram_poll Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 203/217] tcp: fix tp->undo_retrans accounting in tcp_sacktag_one() Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 204/217] ibmvnic: check failover_pending in login response Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 205/217] mm/memory_hotplug: use "unsigned long" for PFN in zone_for_pfn_range() Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 206/217] dt-bindings: mtd: gpmc: Fix the ECC bytes vs. OOB bytes equation Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 207/217] mfd: Dont use irq_create_mapping() to resolve a mapping Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 208/217] PCI: Add ACS quirks for Cavium multi-function devices Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 209/217] net: usb: cdc_mbim: avoid altsetting toggling for Telit LN920 Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 210/217] ethtool: Fix an error code in cxgb2.c Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 211/217] PCI: Sync __pci_register_driver() stub for CONFIG_PCI=n Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 212/217] mtd: rawnand: cafe: Fix a resource leak in the error handling path of cafe_nand_probe() Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 213/217] ARC: export clear_user_page() for modules Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 214/217] net: dsa: b53: Fix calculating number of switch ports Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 215/217] netfilter: socket: icmp6: fix use-after-scope Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 216/217] qlcnic: Remove redundant unlock in qlcnic_pinit_from_rom Greg Kroah-Hartman
2021-09-20 16:43 ` [PATCH 4.14 217/217] net: renesas: sh_eth: Fix freeing wrong tx descriptor Greg Kroah-Hartman
2021-09-21 12:11 ` [PATCH 4.14 000/217] 4.14.247-rc1 review Guenter Roeck
2021-09-22  1:59 ` Samuel Zou

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=20210920163930.168177159@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=desmondcheongzx@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luiz.von.dentz@intel.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.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).