Archive-only list for patches
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev,
	syzbot+2fb0835e0c9cefc34614@syzkaller.appspotmail.com,
	Luiz Augusto von Dentz <luiz.von.dentz@intel.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.12 101/156] Bluetooth: hci_core: Fix sleeping function called from invalid context
Date: Mon,  6 Jan 2025 16:16:27 +0100	[thread overview]
Message-ID: <20250106151145.531530465@linuxfoundation.org> (raw)
In-Reply-To: <20250106151141.738050441@linuxfoundation.org>

6.12-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

[ Upstream commit 4d94f05558271654670d18c26c912da0c1c15549 ]

This reworks hci_cb_list to not use mutex hci_cb_list_lock to avoid bugs
like the bellow:

BUG: sleeping function called from invalid context at kernel/locking/mutex.c:585
in_atomic(): 0, irqs_disabled(): 0, non_block: 0, pid: 5070, name: kworker/u9:2
preempt_count: 0, expected: 0
RCU nest depth: 1, expected: 0
4 locks held by kworker/u9:2/5070:
 #0: ffff888015be3948 ((wq_completion)hci0#2){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3229 [inline]
 #0: ffff888015be3948 ((wq_completion)hci0#2){+.+.}-{0:0}, at: process_scheduled_works+0x8e0/0x1770 kernel/workqueue.c:3335
 #1: ffffc90003b6fd00 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:3230 [inline]
 #1: ffffc90003b6fd00 ((work_completion)(&hdev->rx_work)){+.+.}-{0:0}, at: process_scheduled_works+0x91b/0x1770 kernel/workqueue.c:3335
 #2: ffff8880665d0078 (&hdev->lock){+.+.}-{3:3}, at: hci_le_create_big_complete_evt+0xcf/0xae0 net/bluetooth/hci_event.c:6914
 #3: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
 #3: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
 #3: ffffffff8e132020 (rcu_read_lock){....}-{1:2}, at: hci_le_create_big_complete_evt+0xdb/0xae0 net/bluetooth/hci_event.c:6915
CPU: 0 PID: 5070 Comm: kworker/u9:2 Not tainted 6.8.0-syzkaller-08073-g480e035fc4c7 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: hci0 hci_rx_work
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x241/0x360 lib/dump_stack.c:114
 __might_resched+0x5d4/0x780 kernel/sched/core.c:10187
 __mutex_lock_common kernel/locking/mutex.c:585 [inline]
 __mutex_lock+0xc1/0xd70 kernel/locking/mutex.c:752
 hci_connect_cfm include/net/bluetooth/hci_core.h:2004 [inline]
 hci_le_create_big_complete_evt+0x3d9/0xae0 net/bluetooth/hci_event.c:6939
 hci_event_func net/bluetooth/hci_event.c:7514 [inline]
 hci_event_packet+0xa53/0x1540 net/bluetooth/hci_event.c:7569
 hci_rx_work+0x3e8/0xca0 net/bluetooth/hci_core.c:4171
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
 </TASK>

Reported-by: syzbot+2fb0835e0c9cefc34614@syzkaller.appspotmail.com
Tested-by: syzbot+2fb0835e0c9cefc34614@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=2fb0835e0c9cefc34614
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 include/net/bluetooth/hci_core.h | 108 ++++++++++++++++++++-----------
 net/bluetooth/hci_core.c         |  10 +--
 net/bluetooth/iso.c              |   6 ++
 net/bluetooth/l2cap_core.c       |  12 ++--
 net/bluetooth/rfcomm/core.c      |   6 ++
 net/bluetooth/sco.c              |  12 ++--
 6 files changed, 97 insertions(+), 57 deletions(-)

diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index c95f7e6ba255..ba7b52584770 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -804,7 +804,6 @@ struct hci_conn_params {
 extern struct list_head hci_dev_list;
 extern struct list_head hci_cb_list;
 extern rwlock_t hci_dev_list_lock;
-extern struct mutex hci_cb_list_lock;
 
 #define hci_dev_set_flag(hdev, nr)             set_bit((nr), (hdev)->dev_flags)
 #define hci_dev_clear_flag(hdev, nr)           clear_bit((nr), (hdev)->dev_flags)
@@ -2007,24 +2006,47 @@ struct hci_cb {
 
 	char *name;
 
+	bool (*match)		(struct hci_conn *conn);
 	void (*connect_cfm)	(struct hci_conn *conn, __u8 status);
 	void (*disconn_cfm)	(struct hci_conn *conn, __u8 status);
 	void (*security_cfm)	(struct hci_conn *conn, __u8 status,
-								__u8 encrypt);
+				 __u8 encrypt);
 	void (*key_change_cfm)	(struct hci_conn *conn, __u8 status);
 	void (*role_switch_cfm)	(struct hci_conn *conn, __u8 status, __u8 role);
 };
 
+static inline void hci_cb_lookup(struct hci_conn *conn, struct list_head *list)
+{
+	struct hci_cb *cb, *cpy;
+
+	rcu_read_lock();
+	list_for_each_entry_rcu(cb, &hci_cb_list, list) {
+		if (cb->match && cb->match(conn)) {
+			cpy = kmalloc(sizeof(*cpy), GFP_ATOMIC);
+			if (!cpy)
+				break;
+
+			*cpy = *cb;
+			INIT_LIST_HEAD(&cpy->list);
+			list_add_rcu(&cpy->list, list);
+		}
+	}
+	rcu_read_unlock();
+}
+
 static inline void hci_connect_cfm(struct hci_conn *conn, __u8 status)
 {
-	struct hci_cb *cb;
+	struct list_head list;
+	struct hci_cb *cb, *tmp;
+
+	INIT_LIST_HEAD(&list);
+	hci_cb_lookup(conn, &list);
 
-	mutex_lock(&hci_cb_list_lock);
-	list_for_each_entry(cb, &hci_cb_list, list) {
+	list_for_each_entry_safe(cb, tmp, &list, list) {
 		if (cb->connect_cfm)
 			cb->connect_cfm(conn, status);
+		kfree(cb);
 	}
-	mutex_unlock(&hci_cb_list_lock);
 
 	if (conn->connect_cfm_cb)
 		conn->connect_cfm_cb(conn, status);
@@ -2032,43 +2054,55 @@ static inline void hci_connect_cfm(struct hci_conn *conn, __u8 status)
 
 static inline void hci_disconn_cfm(struct hci_conn *conn, __u8 reason)
 {
-	struct hci_cb *cb;
+	struct list_head list;
+	struct hci_cb *cb, *tmp;
+
+	INIT_LIST_HEAD(&list);
+	hci_cb_lookup(conn, &list);
 
-	mutex_lock(&hci_cb_list_lock);
-	list_for_each_entry(cb, &hci_cb_list, list) {
+	list_for_each_entry_safe(cb, tmp, &list, list) {
 		if (cb->disconn_cfm)
 			cb->disconn_cfm(conn, reason);
+		kfree(cb);
 	}
-	mutex_unlock(&hci_cb_list_lock);
 
 	if (conn->disconn_cfm_cb)
 		conn->disconn_cfm_cb(conn, reason);
 }
 
-static inline void hci_auth_cfm(struct hci_conn *conn, __u8 status)
+static inline void hci_security_cfm(struct hci_conn *conn, __u8 status,
+				    __u8 encrypt)
 {
-	struct hci_cb *cb;
-	__u8 encrypt;
-
-	if (test_bit(HCI_CONN_ENCRYPT_PEND, &conn->flags))
-		return;
+	struct list_head list;
+	struct hci_cb *cb, *tmp;
 
-	encrypt = test_bit(HCI_CONN_ENCRYPT, &conn->flags) ? 0x01 : 0x00;
+	INIT_LIST_HEAD(&list);
+	hci_cb_lookup(conn, &list);
 
-	mutex_lock(&hci_cb_list_lock);
-	list_for_each_entry(cb, &hci_cb_list, list) {
+	list_for_each_entry_safe(cb, tmp, &list, list) {
 		if (cb->security_cfm)
 			cb->security_cfm(conn, status, encrypt);
+		kfree(cb);
 	}
-	mutex_unlock(&hci_cb_list_lock);
 
 	if (conn->security_cfm_cb)
 		conn->security_cfm_cb(conn, status);
 }
 
+static inline void hci_auth_cfm(struct hci_conn *conn, __u8 status)
+{
+	__u8 encrypt;
+
+	if (test_bit(HCI_CONN_ENCRYPT_PEND, &conn->flags))
+		return;
+
+	encrypt = test_bit(HCI_CONN_ENCRYPT, &conn->flags) ? 0x01 : 0x00;
+
+	hci_security_cfm(conn, status, encrypt);
+}
+
 static inline void hci_encrypt_cfm(struct hci_conn *conn, __u8 status)
 {
-	struct hci_cb *cb;
 	__u8 encrypt;
 
 	if (conn->state == BT_CONFIG) {
@@ -2095,40 +2129,38 @@ static inline void hci_encrypt_cfm(struct hci_conn *conn, __u8 status)
 			conn->sec_level = conn->pending_sec_level;
 	}
 
-	mutex_lock(&hci_cb_list_lock);
-	list_for_each_entry(cb, &hci_cb_list, list) {
-		if (cb->security_cfm)
-			cb->security_cfm(conn, status, encrypt);
-	}
-	mutex_unlock(&hci_cb_list_lock);
-
-	if (conn->security_cfm_cb)
-		conn->security_cfm_cb(conn, status);
+	hci_security_cfm(conn, status, encrypt);
 }
 
 static inline void hci_key_change_cfm(struct hci_conn *conn, __u8 status)
 {
-	struct hci_cb *cb;
+	struct list_head list;
+	struct hci_cb *cb, *tmp;
+
+	INIT_LIST_HEAD(&list);
+	hci_cb_lookup(conn, &list);
 
-	mutex_lock(&hci_cb_list_lock);
-	list_for_each_entry(cb, &hci_cb_list, list) {
+	list_for_each_entry_safe(cb, tmp, &list, list) {
 		if (cb->key_change_cfm)
 			cb->key_change_cfm(conn, status);
+		kfree(cb);
 	}
-	mutex_unlock(&hci_cb_list_lock);
 }
 
 static inline void hci_role_switch_cfm(struct hci_conn *conn, __u8 status,
 								__u8 role)
 {
-	struct hci_cb *cb;
+	struct list_head list;
+	struct hci_cb *cb, *tmp;
+
+	INIT_LIST_HEAD(&list);
+	hci_cb_lookup(conn, &list);
 
-	mutex_lock(&hci_cb_list_lock);
-	list_for_each_entry(cb, &hci_cb_list, list) {
+	list_for_each_entry_safe(cb, tmp, &list, list) {
 		if (cb->role_switch_cfm)
 			cb->role_switch_cfm(conn, status, role);
+		kfree(cb);
 	}
-	mutex_unlock(&hci_cb_list_lock);
 }
 
 static inline bool hci_bdaddr_is_rpa(bdaddr_t *bdaddr, u8 addr_type)
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c
index 72439764186e..b5553c08e731 100644
--- a/net/bluetooth/hci_core.c
+++ b/net/bluetooth/hci_core.c
@@ -57,7 +57,6 @@ DEFINE_RWLOCK(hci_dev_list_lock);
 
 /* HCI callback list */
 LIST_HEAD(hci_cb_list);
-DEFINE_MUTEX(hci_cb_list_lock);
 
 /* HCI ID Numbering */
 static DEFINE_IDA(hci_index_ida);
@@ -2993,9 +2992,7 @@ int hci_register_cb(struct hci_cb *cb)
 {
 	BT_DBG("%p name %s", cb, cb->name);
 
-	mutex_lock(&hci_cb_list_lock);
-	list_add_tail(&cb->list, &hci_cb_list);
-	mutex_unlock(&hci_cb_list_lock);
+	list_add_tail_rcu(&cb->list, &hci_cb_list);
 
 	return 0;
 }
@@ -3005,9 +3002,8 @@ int hci_unregister_cb(struct hci_cb *cb)
 {
 	BT_DBG("%p name %s", cb, cb->name);
 
-	mutex_lock(&hci_cb_list_lock);
-	list_del(&cb->list);
-	mutex_unlock(&hci_cb_list_lock);
+	list_del_rcu(&cb->list);
+	synchronize_rcu();
 
 	return 0;
 }
diff --git a/net/bluetooth/iso.c b/net/bluetooth/iso.c
index 644b606743e2..bda2f2da7d73 100644
--- a/net/bluetooth/iso.c
+++ b/net/bluetooth/iso.c
@@ -2137,6 +2137,11 @@ int iso_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags)
 	return HCI_LM_ACCEPT;
 }
 
+static bool iso_match(struct hci_conn *hcon)
+{
+	return hcon->type == ISO_LINK || hcon->type == LE_LINK;
+}
+
 static void iso_connect_cfm(struct hci_conn *hcon, __u8 status)
 {
 	if (hcon->type != ISO_LINK) {
@@ -2318,6 +2323,7 @@ void iso_recv(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
 
 static struct hci_cb iso_cb = {
 	.name		= "ISO",
+	.match		= iso_match,
 	.connect_cfm	= iso_connect_cfm,
 	.disconn_cfm	= iso_disconn_cfm,
 };
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 6544c1ed7143..27b4c4a2ba1f 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -7217,6 +7217,11 @@ static struct l2cap_chan *l2cap_global_fixed_chan(struct l2cap_chan *c,
 	return NULL;
 }
 
+static bool l2cap_match(struct hci_conn *hcon)
+{
+	return hcon->type == ACL_LINK || hcon->type == LE_LINK;
+}
+
 static void l2cap_connect_cfm(struct hci_conn *hcon, u8 status)
 {
 	struct hci_dev *hdev = hcon->hdev;
@@ -7224,9 +7229,6 @@ static void l2cap_connect_cfm(struct hci_conn *hcon, u8 status)
 	struct l2cap_chan *pchan;
 	u8 dst_type;
 
-	if (hcon->type != ACL_LINK && hcon->type != LE_LINK)
-		return;
-
 	BT_DBG("hcon %p bdaddr %pMR status %d", hcon, &hcon->dst, status);
 
 	if (status) {
@@ -7291,9 +7293,6 @@ int l2cap_disconn_ind(struct hci_conn *hcon)
 
 static void l2cap_disconn_cfm(struct hci_conn *hcon, u8 reason)
 {
-	if (hcon->type != ACL_LINK && hcon->type != LE_LINK)
-		return;
-
 	BT_DBG("hcon %p reason %d", hcon, reason);
 
 	l2cap_conn_del(hcon, bt_to_errno(reason));
@@ -7572,6 +7571,7 @@ void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
 
 static struct hci_cb l2cap_cb = {
 	.name		= "L2CAP",
+	.match		= l2cap_match,
 	.connect_cfm	= l2cap_connect_cfm,
 	.disconn_cfm	= l2cap_disconn_cfm,
 	.security_cfm	= l2cap_security_cfm,
diff --git a/net/bluetooth/rfcomm/core.c b/net/bluetooth/rfcomm/core.c
index ad5177e3a69b..4c56ca5a216c 100644
--- a/net/bluetooth/rfcomm/core.c
+++ b/net/bluetooth/rfcomm/core.c
@@ -2134,6 +2134,11 @@ static int rfcomm_run(void *unused)
 	return 0;
 }
 
+static bool rfcomm_match(struct hci_conn *hcon)
+{
+	return hcon->type == ACL_LINK;
+}
+
 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt)
 {
 	struct rfcomm_session *s;
@@ -2180,6 +2185,7 @@ static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt)
 
 static struct hci_cb rfcomm_cb = {
 	.name		= "RFCOMM",
+	.match		= rfcomm_match,
 	.security_cfm	= rfcomm_security_cfm
 };
 
diff --git a/net/bluetooth/sco.c b/net/bluetooth/sco.c
index b872a2ca3ff3..071c404c790a 100644
--- a/net/bluetooth/sco.c
+++ b/net/bluetooth/sco.c
@@ -1355,11 +1355,13 @@ int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags)
 	return lm;
 }
 
-static void sco_connect_cfm(struct hci_conn *hcon, __u8 status)
+static bool sco_match(struct hci_conn *hcon)
 {
-	if (hcon->type != SCO_LINK && hcon->type != ESCO_LINK)
-		return;
+	return hcon->type == SCO_LINK || hcon->type == ESCO_LINK;
+}
 
+static void sco_connect_cfm(struct hci_conn *hcon, __u8 status)
+{
 	BT_DBG("hcon %p bdaddr %pMR status %u", hcon, &hcon->dst, status);
 
 	if (!status) {
@@ -1374,9 +1376,6 @@ static void sco_connect_cfm(struct hci_conn *hcon, __u8 status)
 
 static void sco_disconn_cfm(struct hci_conn *hcon, __u8 reason)
 {
-	if (hcon->type != SCO_LINK && hcon->type != ESCO_LINK)
-		return;
-
 	BT_DBG("hcon %p reason %d", hcon, reason);
 
 	sco_conn_del(hcon, bt_to_errno(reason));
@@ -1402,6 +1401,7 @@ void sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb)
 
 static struct hci_cb sco_cb = {
 	.name		= "SCO",
+	.match		= sco_match,
 	.connect_cfm	= sco_connect_cfm,
 	.disconn_cfm	= sco_disconn_cfm,
 };
-- 
2.39.5




  parent reply	other threads:[~2025-01-06 15:38 UTC|newest]

Thread overview: 175+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-06 15:14 [PATCH 6.12 000/156] 6.12.9-rc1 review Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 001/156] platform/x86: mlx-platform: call pci_dev_put() to balance the refcount Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 002/156] drm/amdgpu: fix backport of commit 73dae652dcac Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 003/156] platform/x86: thinkpad-acpi: Add support for hotkey 0x1401 Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 004/156] platform/x86: hp-wmi: mark 8A15 board for timed OMEN thermal profile Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 005/156] selinux: ignore unknown extended permissions Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 006/156] mmc: sdhci-msm: fix crypto key eviction Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 007/156] pmdomain: imx: gpcv2: fix an OF node reference leak in imx_gpcv2_probe() Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 008/156] pmdomain: core: add dummy release function to genpd device Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 009/156] tracing: Have process_string() also allow arrays Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 010/156] block: lift bio_is_zone_append to bio.h Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 011/156] btrfs: use bio_is_zone_append() in the completion handler Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 012/156] RDMA/bnxt_re: Remove always true dattr validity check Greg Kroah-Hartman
2025-01-06 15:14 ` [PATCH 6.12 013/156] sched_ext: fix application of sizeof to pointer Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 014/156] RDMA/mlx5: Enforce same type port association for multiport RoCE Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 015/156] RDMA/bnxt_re: Fix max SGEs for the Work Request Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 016/156] RDMA/bnxt_re: Avoid initializing the software queue for user queues Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 017/156] RDMA/bnxt_re: Avoid sending the modify QP workaround for latest adapters Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 018/156] RDMA/core: Fix ENODEV error for iWARP test over vlan Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 019/156] nvme-pci: 512 byte aligned dma pool segment quirk Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 020/156] wifi: iwlwifi: fix CRF name for Bz Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 021/156] RDMA/bnxt_re: Fix the check for 9060 condition Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 022/156] RDMA/bnxt_re: Add check for path mtu in modify_qp Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 023/156] RDMA/bnxt_re: Fix reporting hw_ver in query_device Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 024/156] RDMA/nldev: Set error code in rdma_nl_notify_event Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 025/156] RDMA/siw: Remove direct link to net_device Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 026/156] RDMA/bnxt_re: Fix max_qp_wrs reported Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 027/156] RDMA/bnxt_re: Disable use of reserved wqes Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 028/156] RDMA/bnxt_re: Add send queue size check for variable wqe Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 029/156] RDMA/bnxt_re: Fix MSN table size for variable wqe mode Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 030/156] RDMA/bnxt_re: Fix the locking while accessing the QP table Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 031/156] net: phy: micrel: Dynamically control external clock of KSZ PHY Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 032/156] drm/bridge: adv7511_audio: Update Audio InfoFrame properly Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 033/156] net: dsa: microchip: Fix KSZ9477 set_ageing_time function Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 034/156] net: dsa: microchip: Fix LAN937X " Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 035/156] selftests: net: local_termination: require mausezahn Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 036/156] netdev-genl: avoid empty messages in napi get Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 037/156] RDMA/hns: Fix mapping error of zero-hop WQE buffer Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 038/156] RDMA/hns: Fix accessing invalid dip_ctx during destroying QP Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 039/156] RDMA/hns: Fix warning storm caused by invalid input in IO path Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 040/156] RDMA/hns: Fix missing flush CQE for DWQE Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 041/156] drm/xe: Revert some changes that break a mesa debug tool Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 042/156] drm/xe/pf: Use correct function to check LMEM provisioning Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 043/156] drm/xe: Fix fault on fd close after unbind Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 044/156] net: stmmac: restructure the error path of stmmac_probe_config_dt() Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 045/156] net: fix memory leak in tcp_conn_request() Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 046/156] net: Fix netns for ip_tunnel_init_flow() Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 047/156] netrom: check buffer length before accessing it Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 048/156] net: pse-pd: tps23881: Fix power on/off issue Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 049/156] net/mlx5: DR, select MSIX vector 0 for completion queue creation Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 050/156] net/mlx5e: macsec: Maintain TX SA from encoding_sa Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 051/156] net/mlx5e: Skip restore TC rules for vport rep without loaded flag Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 052/156] net/mlx5e: Keep netdev when leave switchdev for devlink set legacy only Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 053/156] RDMA/rxe: Remove the direct link to net_device Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 054/156] drm/i915/cx0_phy: Fix C10 pll programming sequence Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 055/156] drm/i915/dg1: Fix power gate sequence Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 056/156] workqueue: add printf attribute to __alloc_workqueue() Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 057/156] netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 058/156] net: llc: reset skb->transport_header Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 059/156] nvmet: Dont overflow subsysnqn Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 060/156] ALSA: usb-audio: US16x08: Initialize array before use Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 061/156] eth: bcmsysport: fix call balance of priv->clk handling routines Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 062/156] net: mv643xx_eth: fix an OF node reference leak Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 063/156] net: wwan: t7xx: Fix FSM command timeout issue Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 064/156] RDMA/rtrs: Ensure ib_sge list is accessible Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 065/156] RDMA/bnxt_re: Fix error recovery sequence Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 066/156] io_uring/net: always initialize kmsg->msg.msg_inq upfront Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 067/156] net: sfc: Correct key_len for efx_tc_ct_zone_ht_params Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 068/156] net: reenable NETIF_F_IPV6_CSUM offload for BIG TCP packets Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 069/156] net: restrict SO_REUSEPORT to inet sockets Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 070/156] net: wwan: iosm: Properly check for valid exec stage in ipc_mmio_init() Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 071/156] af_packet: fix vlan_get_tci() vs MSG_PEEK Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 072/156] af_packet: fix vlan_get_protocol_dgram() " Greg Kroah-Hartman
2025-01-06 15:15 ` [PATCH 6.12 073/156] ila: serialize calls to nf_register_net_hooks() Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 074/156] net: ti: icssg-prueth: Fix firmware load sequence Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 075/156] net: ti: icssg-prueth: Fix clearing of IEP_CMP_CFG registers during iep_init Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 076/156] btrfs: allow swap activation to be interruptible Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 077/156] perf/x86/intel: Add Arrow Lake U support Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 078/156] wifi: mac80211: fix mbss changed flags corruption on 32 bit systems Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 079/156] wifi: cfg80211: clear link ID from bitmap during link delete after clean up Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 080/156] wifi: mac80211: wake the queues in case of failure in resume Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 081/156] drm/amdgpu: use sjt mec fw on gfx943 for sriov Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 082/156] drm/amdkfd: Correct the migration DMA map direction Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 083/156] ALSA: hda: cs35l56: Remove calls to cs35l56_force_sync_asp1_registers_from_cache() Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 084/156] ALSA: hda/realtek - Add support for ASUS Zen AIO 27 Z272SD_A272SD audio Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 085/156] btrfs: handle bio_split() errors Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 086/156] btrfs: flush delalloc workers queue before stopping cleaner kthread during unmount Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 087/156] ALSA: hda/ca0132: Use standard HD-audio quirk matching helpers Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 088/156] ALSA: hda/realtek: Add new alc2xx-fixup-headset-mic model Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 089/156] sound: usb: enable DSD output for ddHiFi TC44C Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 090/156] sound: usb: format: dont warn that raw DSD is unsupported Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 091/156] spi: spi-cadence-qspi: Disable STIG mode for Altera SoCFPGA Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 092/156] ASoC: audio-graph-card: Call of_node_put() on correct node Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 093/156] ARC: build: disallow invalid PAE40 + 4K page config Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 094/156] ARC: build: Use __force to suppress per-CPU cmpxchg warnings Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 095/156] ARC: bpf: Correct conditional check in check_jmp_32 Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 096/156] bpf: fix potential error return Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 097/156] ksmbd: retry iterate_dir in smb2_query_dir Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 098/156] ksmbd: set ATTR_CTIME flags when setting mtime Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 099/156] smb: client: destroy cfid_put_wq on module exit Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 100/156] net: usb: qmi_wwan: add Telit FE910C04 compositions Greg Kroah-Hartman
2025-01-06 15:16 ` Greg Kroah-Hartman [this message]
2025-01-06 15:16 ` [PATCH 6.12 102/156] irqchip/gic: Correct declaration of *percpu_base pointer in union gic_base Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 103/156] ARC: build: Try to guess GCC variant of cross compiler Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 104/156] bpf: refactor bpf_helper_changes_pkt_data to use helper number Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 105/156] bpf: consider that tail calls invalidate packet pointers Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 106/156] clk: thead: Fix TH1520 emmc and shdci clock rate Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 107/156] scripts/mksysmap: Fix escape chars $ Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 108/156] modpost: fix the missed iteration for the max bit in do_input() Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 109/156] kbuild: pacman-pkg: provide versioned linux-api-headers package Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 110/156] Revert "ALSA: ump: Dont enumeration invalid groups for legacy rawmidi" Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 111/156] RDMA/mlx5: Enable multiplane mode only when it is supported Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 112/156] io_uring/kbuf: use pre-committed buffer address for non-pollable file Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 113/156] ALSA: seq: Check UMP support for midi_version change Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 114/156] ftrace: Fix function profilers filtering functionality Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 115/156] drm/xe: Use non-interruptible wait when moving BO to system Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 116/156] drm/xe: Wait for migration job before unmapping pages Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 117/156] ALSA hda/realtek: Add quirk for Framework F111:000C Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 118/156] ALSA: seq: oss: Fix races at processing SysEx messages Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 119/156] ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 120/156] kcov: mark in_softirq_really() as __always_inline Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 121/156] maple_tree: reload mas before the second call for mas_empty_area Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 122/156] clk: clk-imx8mp-audiomix: fix function signature Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 123/156] scripts/sorttable: fix orc_sort_cmp() to maintain symmetry and transitivity Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 124/156] sched_ext: Fix invalid irq restore in scx_ops_bypass() Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 125/156] RDMA/uverbs: Prevent integer overflow issue Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 126/156] pinctrl: mcp23s08: Fix sleeping in atomic context due to regmap locking Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 127/156] workqueue: Do not warn when cancelling WQ_MEM_RECLAIM work from !WQ_MEM_RECLAIM worker Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 128/156] sky2: Add device ID 11ab:4373 for Marvell 88E8075 Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 129/156] sched_ext: initialize kit->cursor.flags Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 130/156] net/sctp: Prevent autoclose integer overflow in sctp_association_init() Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 131/156] io_uring/rw: fix downgraded mshot read Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 132/156] drm: adv7511: Drop dsi single lane support Greg Kroah-Hartman
2025-01-06 15:16 ` [PATCH 6.12 133/156] dt-bindings: display: adi,adv7533: Drop " Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 134/156] drm: adv7511: Fix use-after-free in adv7533_attach_dsi() Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 135/156] wifi: iwlwifi: mvm: Fix __counted_by usage in cfg80211_wowlan_nd_* Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 136/156] fgraph: Add READ_ONCE() when accessing fgraph_array[] Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 137/156] net: ethernet: ti: am65-cpsw: default to round-robin for host port receive Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 138/156] mm/damon/core: fix ignored quota goals and filters of newly committed schemes Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 139/156] mm/damon/core: fix new damon_target objects leaks on damon_commit_targets() Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 140/156] mm: shmem: fix the update of shmem_falloc->nr_unswapped Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 141/156] mm: shmem: fix incorrect index alignment for within_size policy Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 142/156] fs/proc/task_mmu: fix pagemap flags with PMD THP entries on 32bit Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 143/156] gve: process XSK TX descriptors as part of RX NAPI Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 144/156] gve: clean XDP queues in gve_tx_stop_ring_gqi Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 145/156] gve: guard XSK operations on the existence of queues Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 146/156] gve: fix XDP allocation path in edge cases Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 147/156] gve: guard XDP xmit NDO on existence of xdp queues Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 148/156] gve: trigger RX NAPI instead of TX NAPI in gve_xsk_wakeup Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 149/156] mm/readahead: fix large folio support in async readahead Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 150/156] mm/kmemleak: fix sleeping function called from invalid context at print message Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 151/156] mm: vmscan: account for free pages to prevent infinite Loop in throttle_direct_reclaim() Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 152/156] mm: reinstate ability to map write-sealed memfd mappings read-only Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 153/156] mm: hugetlb: independent PMD page table shared count Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 154/156] mptcp: fix TCP options overflow Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 155/156] mptcp: fix recvbuffer adjust on sleeping rcvmsg Greg Kroah-Hartman
2025-01-06 15:17 ` [PATCH 6.12 156/156] mptcp: dont always assume copied data in mptcp_cleanup_rbuf() Greg Kroah-Hartman
2025-01-06 18:24 ` [PATCH 6.12 000/156] 6.12.9-rc1 review Pavel Machek
2025-01-06 20:26 ` Florian Fainelli
2025-01-06 23:18 ` Shuah Khan
2025-01-07 23:14   ` Shuah Khan
2025-01-06 23:31 ` Justin Forbes
2025-01-07  1:08 ` SeongJae Park
2025-01-07  1:39 ` Peter Schneider
2025-01-07  6:56 ` Ron Economos
2025-01-07  8:33 ` Naresh Kamboju
2025-01-07  9:36 ` Luna Jernberg
2025-01-07 10:29 ` Christian Heusel
2025-01-07 11:36 ` Takeshi Ogasawara
2025-01-07 12:44 ` Jon Hunter
2025-01-07 15:12 ` Mark Brown
2025-01-07 15:47 ` Theodore Ts'o
2025-01-07 16:56 ` Harshit Mogalapalli
2025-01-07 21:24 ` [PATCH 6.12] " Hardik Garg
2025-01-08 12:41 ` [PATCH 6.12 000/156] " Muhammad Usama Anjum

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=20250106151145.531530465@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=luiz.von.dentz@intel.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=syzbot+2fb0835e0c9cefc34614@syzkaller.appspotmail.com \
    /path/to/YOUR_REPLY

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

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