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, "Lv Yunlong" <lyl2019@mail.ustc.edu.cn>,
	"Christoph Böhmwalder" <christoph.boehmwalder@linbit.com>,
	"Jens Axboe" <axboe@kernel.dk>, "Sasha Levin" <sashal@kernel.org>
Subject: [PATCH 5.10 125/171] drbd: Fix five use after free bugs in get_initial_state
Date: Tue, 12 Apr 2022 08:30:16 +0200	[thread overview]
Message-ID: <20220412062931.501493672@linuxfoundation.org> (raw)
In-Reply-To: <20220412062927.870347203@linuxfoundation.org>

From: Lv Yunlong <lyl2019@mail.ustc.edu.cn>

[ Upstream commit aadb22ba2f656581b2f733deb3a467c48cc618f6 ]

In get_initial_state, it calls notify_initial_state_done(skb,..) if
cb->args[5]==1. If genlmsg_put() failed in notify_initial_state_done(),
the skb will be freed by nlmsg_free(skb).
Then get_initial_state will goto out and the freed skb will be used by
return value skb->len, which is a uaf bug.

What's worse, the same problem goes even further: skb can also be
freed in the notify_*_state_change -> notify_*_state calls below.
Thus 4 additional uaf bugs happened.

My patch lets the problem callee functions: notify_initial_state_done
and notify_*_state_change return an error code if errors happen.
So that the error codes could be propagated and the uaf bugs can be avoid.

v2 reports a compilation warning. This v3 fixed this warning and built
successfully in my local environment with no additional warnings.
v2: https://lore.kernel.org/patchwork/patch/1435218/

Fixes: a29728463b254 ("drbd: Backport the "events2" command")
Signed-off-by: Lv Yunlong <lyl2019@mail.ustc.edu.cn>
Reviewed-by: Christoph Böhmwalder <christoph.boehmwalder@linbit.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/block/drbd/drbd_int.h          |  8 ++---
 drivers/block/drbd/drbd_nl.c           | 41 ++++++++++++++++----------
 drivers/block/drbd/drbd_state.c        | 18 +++++------
 drivers/block/drbd/drbd_state_change.h |  8 ++---
 4 files changed, 42 insertions(+), 33 deletions(-)

diff --git a/drivers/block/drbd/drbd_int.h b/drivers/block/drbd/drbd_int.h
index 8f879e5c2f67..60b9ca53c0a3 100644
--- a/drivers/block/drbd/drbd_int.h
+++ b/drivers/block/drbd/drbd_int.h
@@ -1644,22 +1644,22 @@ struct sib_info {
 };
 void drbd_bcast_event(struct drbd_device *device, const struct sib_info *sib);
 
-extern void notify_resource_state(struct sk_buff *,
+extern int notify_resource_state(struct sk_buff *,
 				  unsigned int,
 				  struct drbd_resource *,
 				  struct resource_info *,
 				  enum drbd_notification_type);
-extern void notify_device_state(struct sk_buff *,
+extern int notify_device_state(struct sk_buff *,
 				unsigned int,
 				struct drbd_device *,
 				struct device_info *,
 				enum drbd_notification_type);
-extern void notify_connection_state(struct sk_buff *,
+extern int notify_connection_state(struct sk_buff *,
 				    unsigned int,
 				    struct drbd_connection *,
 				    struct connection_info *,
 				    enum drbd_notification_type);
-extern void notify_peer_device_state(struct sk_buff *,
+extern int notify_peer_device_state(struct sk_buff *,
 				     unsigned int,
 				     struct drbd_peer_device *,
 				     struct peer_device_info *,
diff --git a/drivers/block/drbd/drbd_nl.c b/drivers/block/drbd/drbd_nl.c
index bf7de4c7b96c..f8d0146bf785 100644
--- a/drivers/block/drbd/drbd_nl.c
+++ b/drivers/block/drbd/drbd_nl.c
@@ -4614,7 +4614,7 @@ static int nla_put_notification_header(struct sk_buff *msg,
 	return drbd_notification_header_to_skb(msg, &nh, true);
 }
 
-void notify_resource_state(struct sk_buff *skb,
+int notify_resource_state(struct sk_buff *skb,
 			   unsigned int seq,
 			   struct drbd_resource *resource,
 			   struct resource_info *resource_info,
@@ -4656,16 +4656,17 @@ void notify_resource_state(struct sk_buff *skb,
 		if (err && err != -ESRCH)
 			goto failed;
 	}
-	return;
+	return 0;
 
 nla_put_failure:
 	nlmsg_free(skb);
 failed:
 	drbd_err(resource, "Error %d while broadcasting event. Event seq:%u\n",
 			err, seq);
+	return err;
 }
 
-void notify_device_state(struct sk_buff *skb,
+int notify_device_state(struct sk_buff *skb,
 			 unsigned int seq,
 			 struct drbd_device *device,
 			 struct device_info *device_info,
@@ -4705,16 +4706,17 @@ void notify_device_state(struct sk_buff *skb,
 		if (err && err != -ESRCH)
 			goto failed;
 	}
-	return;
+	return 0;
 
 nla_put_failure:
 	nlmsg_free(skb);
 failed:
 	drbd_err(device, "Error %d while broadcasting event. Event seq:%u\n",
 		 err, seq);
+	return err;
 }
 
-void notify_connection_state(struct sk_buff *skb,
+int notify_connection_state(struct sk_buff *skb,
 			     unsigned int seq,
 			     struct drbd_connection *connection,
 			     struct connection_info *connection_info,
@@ -4754,16 +4756,17 @@ void notify_connection_state(struct sk_buff *skb,
 		if (err && err != -ESRCH)
 			goto failed;
 	}
-	return;
+	return 0;
 
 nla_put_failure:
 	nlmsg_free(skb);
 failed:
 	drbd_err(connection, "Error %d while broadcasting event. Event seq:%u\n",
 		 err, seq);
+	return err;
 }
 
-void notify_peer_device_state(struct sk_buff *skb,
+int notify_peer_device_state(struct sk_buff *skb,
 			      unsigned int seq,
 			      struct drbd_peer_device *peer_device,
 			      struct peer_device_info *peer_device_info,
@@ -4804,13 +4807,14 @@ void notify_peer_device_state(struct sk_buff *skb,
 		if (err && err != -ESRCH)
 			goto failed;
 	}
-	return;
+	return 0;
 
 nla_put_failure:
 	nlmsg_free(skb);
 failed:
 	drbd_err(peer_device, "Error %d while broadcasting event. Event seq:%u\n",
 		 err, seq);
+	return err;
 }
 
 void notify_helper(enum drbd_notification_type type,
@@ -4861,7 +4865,7 @@ void notify_helper(enum drbd_notification_type type,
 		 err, seq);
 }
 
-static void notify_initial_state_done(struct sk_buff *skb, unsigned int seq)
+static int notify_initial_state_done(struct sk_buff *skb, unsigned int seq)
 {
 	struct drbd_genlmsghdr *dh;
 	int err;
@@ -4875,11 +4879,12 @@ static void notify_initial_state_done(struct sk_buff *skb, unsigned int seq)
 	if (nla_put_notification_header(skb, NOTIFY_EXISTS))
 		goto nla_put_failure;
 	genlmsg_end(skb, dh);
-	return;
+	return 0;
 
 nla_put_failure:
 	nlmsg_free(skb);
 	pr_err("Error %d sending event. Event seq:%u\n", err, seq);
+	return err;
 }
 
 static void free_state_changes(struct list_head *list)
@@ -4906,6 +4911,7 @@ static int get_initial_state(struct sk_buff *skb, struct netlink_callback *cb)
 	unsigned int seq = cb->args[2];
 	unsigned int n;
 	enum drbd_notification_type flags = 0;
+	int err = 0;
 
 	/* There is no need for taking notification_mutex here: it doesn't
 	   matter if the initial state events mix with later state chage
@@ -4914,32 +4920,32 @@ static int get_initial_state(struct sk_buff *skb, struct netlink_callback *cb)
 
 	cb->args[5]--;
 	if (cb->args[5] == 1) {
-		notify_initial_state_done(skb, seq);
+		err = notify_initial_state_done(skb, seq);
 		goto out;
 	}
 	n = cb->args[4]++;
 	if (cb->args[4] < cb->args[3])
 		flags |= NOTIFY_CONTINUES;
 	if (n < 1) {
-		notify_resource_state_change(skb, seq, state_change->resource,
+		err = notify_resource_state_change(skb, seq, state_change->resource,
 					     NOTIFY_EXISTS | flags);
 		goto next;
 	}
 	n--;
 	if (n < state_change->n_connections) {
-		notify_connection_state_change(skb, seq, &state_change->connections[n],
+		err = notify_connection_state_change(skb, seq, &state_change->connections[n],
 					       NOTIFY_EXISTS | flags);
 		goto next;
 	}
 	n -= state_change->n_connections;
 	if (n < state_change->n_devices) {
-		notify_device_state_change(skb, seq, &state_change->devices[n],
+		err = notify_device_state_change(skb, seq, &state_change->devices[n],
 					   NOTIFY_EXISTS | flags);
 		goto next;
 	}
 	n -= state_change->n_devices;
 	if (n < state_change->n_devices * state_change->n_connections) {
-		notify_peer_device_state_change(skb, seq, &state_change->peer_devices[n],
+		err = notify_peer_device_state_change(skb, seq, &state_change->peer_devices[n],
 						NOTIFY_EXISTS | flags);
 		goto next;
 	}
@@ -4954,7 +4960,10 @@ static int get_initial_state(struct sk_buff *skb, struct netlink_callback *cb)
 		cb->args[4] = 0;
 	}
 out:
-	return skb->len;
+	if (err)
+		return err;
+	else
+		return skb->len;
 }
 
 int drbd_adm_get_initial_state(struct sk_buff *skb, struct netlink_callback *cb)
diff --git a/drivers/block/drbd/drbd_state.c b/drivers/block/drbd/drbd_state.c
index 0067d328f0b5..5fbaea6b77b1 100644
--- a/drivers/block/drbd/drbd_state.c
+++ b/drivers/block/drbd/drbd_state.c
@@ -1537,7 +1537,7 @@ int drbd_bitmap_io_from_worker(struct drbd_device *device,
 	return rv;
 }
 
-void notify_resource_state_change(struct sk_buff *skb,
+int notify_resource_state_change(struct sk_buff *skb,
 				  unsigned int seq,
 				  struct drbd_resource_state_change *resource_state_change,
 				  enum drbd_notification_type type)
@@ -1550,10 +1550,10 @@ void notify_resource_state_change(struct sk_buff *skb,
 		.res_susp_fen = resource_state_change->susp_fen[NEW],
 	};
 
-	notify_resource_state(skb, seq, resource, &resource_info, type);
+	return notify_resource_state(skb, seq, resource, &resource_info, type);
 }
 
-void notify_connection_state_change(struct sk_buff *skb,
+int notify_connection_state_change(struct sk_buff *skb,
 				    unsigned int seq,
 				    struct drbd_connection_state_change *connection_state_change,
 				    enum drbd_notification_type type)
@@ -1564,10 +1564,10 @@ void notify_connection_state_change(struct sk_buff *skb,
 		.conn_role = connection_state_change->peer_role[NEW],
 	};
 
-	notify_connection_state(skb, seq, connection, &connection_info, type);
+	return notify_connection_state(skb, seq, connection, &connection_info, type);
 }
 
-void notify_device_state_change(struct sk_buff *skb,
+int notify_device_state_change(struct sk_buff *skb,
 				unsigned int seq,
 				struct drbd_device_state_change *device_state_change,
 				enum drbd_notification_type type)
@@ -1577,10 +1577,10 @@ void notify_device_state_change(struct sk_buff *skb,
 		.dev_disk_state = device_state_change->disk_state[NEW],
 	};
 
-	notify_device_state(skb, seq, device, &device_info, type);
+	return notify_device_state(skb, seq, device, &device_info, type);
 }
 
-void notify_peer_device_state_change(struct sk_buff *skb,
+int notify_peer_device_state_change(struct sk_buff *skb,
 				     unsigned int seq,
 				     struct drbd_peer_device_state_change *p,
 				     enum drbd_notification_type type)
@@ -1594,7 +1594,7 @@ void notify_peer_device_state_change(struct sk_buff *skb,
 		.peer_resync_susp_dependency = p->resync_susp_dependency[NEW],
 	};
 
-	notify_peer_device_state(skb, seq, peer_device, &peer_device_info, type);
+	return notify_peer_device_state(skb, seq, peer_device, &peer_device_info, type);
 }
 
 static void broadcast_state_change(struct drbd_state_change *state_change)
@@ -1602,7 +1602,7 @@ static void broadcast_state_change(struct drbd_state_change *state_change)
 	struct drbd_resource_state_change *resource_state_change = &state_change->resource[0];
 	bool resource_state_has_changed;
 	unsigned int n_device, n_connection, n_peer_device, n_peer_devices;
-	void (*last_func)(struct sk_buff *, unsigned int, void *,
+	int (*last_func)(struct sk_buff *, unsigned int, void *,
 			  enum drbd_notification_type) = NULL;
 	void *last_arg = NULL;
 
diff --git a/drivers/block/drbd/drbd_state_change.h b/drivers/block/drbd/drbd_state_change.h
index ba80f612d6ab..d5b0479bc9a6 100644
--- a/drivers/block/drbd/drbd_state_change.h
+++ b/drivers/block/drbd/drbd_state_change.h
@@ -44,19 +44,19 @@ extern struct drbd_state_change *remember_old_state(struct drbd_resource *, gfp_
 extern void copy_old_to_new_state_change(struct drbd_state_change *);
 extern void forget_state_change(struct drbd_state_change *);
 
-extern void notify_resource_state_change(struct sk_buff *,
+extern int notify_resource_state_change(struct sk_buff *,
 					 unsigned int,
 					 struct drbd_resource_state_change *,
 					 enum drbd_notification_type type);
-extern void notify_connection_state_change(struct sk_buff *,
+extern int notify_connection_state_change(struct sk_buff *,
 					   unsigned int,
 					   struct drbd_connection_state_change *,
 					   enum drbd_notification_type type);
-extern void notify_device_state_change(struct sk_buff *,
+extern int notify_device_state_change(struct sk_buff *,
 				       unsigned int,
 				       struct drbd_device_state_change *,
 				       enum drbd_notification_type type);
-extern void notify_peer_device_state_change(struct sk_buff *,
+extern int notify_peer_device_state_change(struct sk_buff *,
 					    unsigned int,
 					    struct drbd_peer_device_state_change *,
 					    enum drbd_notification_type type);
-- 
2.35.1




  parent reply	other threads:[~2022-04-12  6:44 UTC|newest]

Thread overview: 175+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-12  6:28 [PATCH 5.10 000/171] 5.10.111-rc1 review Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 001/171] ubifs: Rectify space amount budget for mkdir/tmpfile operations Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 002/171] gfs2: Check for active reservation in gfs2_release Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 003/171] gfs2: Fix gfs2_release for non-writers regression Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 004/171] gfs2: gfs2_setattr_size error path fix Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 005/171] rtc: wm8350: Handle error for wm8350_register_irq Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 006/171] KVM: x86/svm: Clear reserved bits written to PerfEvtSeln MSRs Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 007/171] KVM: x86/emulator: Emulate RDPID only if it is enabled in guest Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 008/171] drm: Add orientation quirk for GPD Win Max Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 009/171] ath5k: fix OOB in ath5k_eeprom_read_pcal_info_5111 Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 010/171] drm/amd/display: Add signal type check when verify stream backends same Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 011/171] drm/amd/amdgpu/amdgpu_cs: fix refcount leak of a dma_fence obj Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 012/171] usb: gadget: tegra-xudc: Do not program SPARAM Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 013/171] usb: gadget: tegra-xudc: Fix control endpoints definitions Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 014/171] ptp: replace snprintf with sysfs_emit Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 015/171] powerpc: dts: t104xrdb: fix phy type for FMAN 4/5 Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 016/171] ath11k: fix kernel panic during unload/load ath11k modules Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 017/171] ath11k: mhi: use mhi_sync_power_up() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 018/171] bpf: Make dst_port field in struct bpf_sock 16-bit wide Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 019/171] scsi: mvsas: Replace snprintf() with sysfs_emit() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 020/171] scsi: bfa: " Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 021/171] power: supply: axp20x_battery: properly report current when discharging Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 022/171] mt76: dma: initialize skip_unmap in mt76_dma_rx_fill Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 023/171] cfg80211: dont add non transmitted BSS to 6GHz scanned channels Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 024/171] libbpf: Fix build issue with llvm-readelf Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 025/171] ipv6: make mc_forwarding atomic Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 026/171] powerpc: Set crashkernel offset to mid of RMA region Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 027/171] drm/amdgpu: Fix recursive locking warning Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 028/171] PCI: aardvark: Fix support for MSI interrupts Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 029/171] iommu/arm-smmu-v3: fix event handling soft lockup Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 030/171] usb: ehci: add pci device support for Aspeed platforms Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 031/171] PCI: endpoint: Fix alignment fault error in copy tests Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 032/171] tcp: Dont acquire inet_listen_hashbucket::lock with disabled BH Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 033/171] PCI: pciehp: Add Qualcomm quirk for Command Completed erratum Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 034/171] power: supply: axp288-charger: Set Vhold to 4.4V Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 035/171] iwlwifi: mvm: Correctly set fragmented EBS Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 036/171] ipv4: Invalidate neighbour for broadcast address upon address addition Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 037/171] dm ioctl: prevent potential spectre v1 gadget Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 038/171] dm: requeue IO if mapping table not yet available Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 039/171] drm/amdkfd: make CRAT table missing message informational only Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 040/171] scsi: pm8001: Fix pm80xx_pci_mem_copy() interface Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 041/171] scsi: pm8001: Fix pm8001_mpi_task_abort_resp() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 042/171] scsi: pm8001: Fix task leak in pm8001_send_abort_all() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 043/171] scsi: pm8001: Fix tag leaks on error Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 044/171] scsi: pm8001: Fix memory leak in pm8001_chip_fw_flash_update_req() Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 045/171] mt76: mt7615: Fix assigning negative values to unsigned variable Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 046/171] scsi: aha152x: Fix aha152x_setup() __setup handler return value Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 047/171] scsi: hisi_sas: Free irq vectors in order for v3 HW Greg Kroah-Hartman
2022-04-12  6:28 ` [PATCH 5.10 048/171] net/smc: correct settings of RMB window update limit Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 049/171] mips: ralink: fix a refcount leak in ill_acc_of_setup() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 050/171] macvtap: advertise link netns via netlink Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 051/171] tuntap: add sanity checks about msg_controllen in sendmsg Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 052/171] Bluetooth: Fix not checking for valid hdev on bt_dev_{info,warn,err,dbg} Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 053/171] Bluetooth: use memset avoid memory leaks Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 054/171] bnxt_en: Eliminate unintended link toggle during FW reset Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 055/171] PCI: endpoint: Fix misused goto label Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 056/171] MIPS: fix fortify panic when copying asm exception handlers Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 057/171] powerpc/code-patching: Pre-map patch area Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 058/171] powerpc/secvar: fix refcount leak in format_show() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 059/171] scsi: libfc: Fix use after free in fc_exch_abts_resp() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 060/171] can: isotp: set default value for N_As to 50 micro seconds Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 061/171] net: account alternate interface name memory Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 062/171] net: limit altnames to 64k total Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 063/171] net: sfp: add 2500base-X quirk for Lantech SFP module Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 064/171] usb: dwc3: omap: fix "unbalanced disables for smps10_out1" on omap5evm Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 065/171] xtensa: fix DTC warning unit_address_format Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 066/171] MIPS: ingenic: correct unit node address Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 067/171] Bluetooth: Fix use after free in hci_send_acl Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 068/171] netlabel: fix out-of-bounds memory accesses Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 069/171] ceph: fix memory leak in ceph_readdir when note_last_dentry returns error Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 070/171] init/main.c: return 1 from handled __setup() functions Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 071/171] minix: fix bug when opening a file with O_DIRECT Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 072/171] clk: si5341: fix reported clk_rate when output divider is 2 Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 073/171] staging: vchiq_core: handle NULL result of find_service_by_handle Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 074/171] phy: amlogic: meson8b-usb2: Use dev_err_probe() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 075/171] staging: wfx: fix an error handling in wfx_init_common() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 076/171] w1: w1_therm: fixes w1_seq for ds28ea00 sensors Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 077/171] NFSv4.2: fix reference count leaks in _nfs42_proc_copy_notify() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 078/171] NFSv4: Protect the state recovery thread against direct reclaim Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 079/171] xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 080/171] clk: ti: Preserve node in ti_dt_clocks_register() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 081/171] clk: Enforce that disjoints limits are invalid Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 082/171] SUNRPC/call_alloc: async tasks mustnt block waiting for memory Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 083/171] SUNRPC/xprt: " Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 084/171] SUNRPC: remove scheduling boost for "SWAPPER" tasks Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 085/171] NFS: swap IO handling is slightly different for O_DIRECT IO Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 086/171] NFS: swap-out must always use STABLE writes Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 087/171] x86/Kconfig: Do not allow CONFIG_X86_X32_ABI=y with llvm-objcopy Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 088/171] serial: samsung_tty: do not unlock port->lock for uart_write_wakeup() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 089/171] virtio_console: eliminate anonymous module_init & module_exit Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 090/171] jfs: prevent NULL deref in diFree Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 091/171] SUNRPC: Fix socket waits for write buffer space Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 092/171] NFS: nfsiod should not block forever in mempool_alloc() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 093/171] NFS: Avoid writeback threads getting stuck " Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 094/171] parisc: Fix CPU affinity for Lasi, WAX and Dino chips Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 095/171] parisc: Fix patch code locking and flushing Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 096/171] mm: fix race between MADV_FREE reclaim and blkdev direct IO read Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 097/171] Revert "hv: utils: add PTP_1588_CLOCK to Kconfig to fix build" Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 098/171] drm/amdgpu: fix off by one in amdgpu_gfx_kiq_acquire() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 099/171] Drivers: hv: vmbus: Fix potential crash on module unload Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 100/171] Revert "NFSv4: Handle the special Linux file open access mode" Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 101/171] NFSv4: fix open failure with O_ACCMODE flag Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 102/171] scsi: zorro7xx: Fix a resource leak in zorro7xx_remove_one() Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 103/171] net/tls: fix slab-out-of-bounds bug in decrypt_internal Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 104/171] ice: Clear default forwarding VSI during VSI release Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 105/171] net: ipv4: fix route with nexthop object delete warning Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 106/171] net: stmmac: Fix unset max_speed difference between DT and non-DT platforms Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 107/171] drm/imx: imx-ldb: Check for null pointer after calling kmemdup Greg Kroah-Hartman
2022-04-12  6:29 ` [PATCH 5.10 108/171] drm/imx: Fix memory leak in imx_pd_connector_get_modes Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 109/171] bnxt_en: reserve space inside receive page for skb_shared_info Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 110/171] sfc: Do not free an empty page_ring Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 111/171] RDMA/mlx5: Dont remove cache MRs when a delay is needed Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 112/171] IB/rdmavt: add lock to call to rvt_error_qp to prevent a race condition Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 113/171] dpaa2-ptp: Fix refcount leak in dpaa2_ptp_probe Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 114/171] ice: Set txq_teid to ICE_INVAL_TEID on ring creation Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 115/171] ice: Do not skip not enabled queues in ice_vc_dis_qs_msg Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 116/171] ipv6: Fix stats accounting in ip6_pkt_drop Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 117/171] ice: synchronize_rcu() when terminating rings Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 118/171] net: openvswitch: dont send internal clone attribute to the userspace Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 119/171] net: openvswitch: fix leak of nested actions Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 120/171] rxrpc: fix a race in rxrpc_exit_net() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 121/171] net: phy: mscc-miim: reject clause 45 register accesses Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 122/171] qede: confirm skb is allocated before using Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 123/171] spi: bcm-qspi: fix MSPI only access with bcm_qspi_exec_mem_op() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 124/171] bpf: Support dual-stack sockets in bpf_tcp_check_syncookie Greg Kroah-Hartman
2022-04-12  6:30 ` Greg Kroah-Hartman [this message]
2022-04-12  6:30 ` [PATCH 5.10 126/171] io_uring: dont touch scm_fp_list after queueing skb Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 127/171] SUNRPC: Handle ENOMEM in call_transmit_status() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 128/171] SUNRPC: Handle low memory situations in call_status() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 129/171] SUNRPC: svc_tcp_sendmsg() should handle errors from xdr_alloc_bvec() Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 130/171] iommu/omap: Fix regression in probe for NULL pointer dereference Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 131/171] perf: arm-spe: Fix perf report --mem-mode Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 132/171] perf tools: Fix perfs libperf_print callback Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 133/171] perf session: Remap buf if there is no space for event Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 134/171] arm64: Add part number for Arm Cortex-A78AE Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 135/171] Revert "mmc: sdhci-xenon: fix annoying 1.8V regulator warning" Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 136/171] mmc: mmci: stm32: correctly check all elements of sg list Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 137/171] mmc: renesas_sdhi: dont overwrite TAP settings when HS400 tuning is complete Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 138/171] lz4: fix LZ4_decompress_safe_partial read out of bound Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 139/171] mmmremap.c: avoid pointless invalidate_range_start/end on mremap(old_size=0) Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 140/171] mm/mempolicy: fix mpol_new leak in shared_policy_replace Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 141/171] io_uring: fix race between timeout flush and removal Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 142/171] x86/pm: Save the MSR validity status at context setup Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 143/171] x86/speculation: Restore speculation related MSRs during S3 resume Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 144/171] btrfs: fix qgroup reserve overflow the qgroup limit Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 145/171] btrfs: prevent subvol with swapfile from being deleted Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 146/171] arm64: patch_text: Fixup last cpu should be master Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 147/171] RDMA/hfi1: Fix use-after-free bug for mm struct Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 148/171] gpio: Restrict usage of GPIO chip irq members before initialization Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 149/171] ata: sata_dwc_460ex: Fix crash due to OOB write Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 150/171] perf: qcom_l2_pmu: fix an incorrect NULL check on list iterator Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 151/171] irqchip/gic-v3: Fix GICR_CTLR.RWP polling Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 152/171] drm/amdgpu/smu10: fix SoC/fclk units in auto mode Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 153/171] drm/nouveau/pmu: Add missing callbacks for Tegra devices Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 154/171] drm/amdkfd: Create file descriptor after client is added to smi_clients list Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 155/171] perf build: Dont use -ffat-lto-objects in the python feature test when building with clang-13 Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 156/171] perf python: Fix probing for some clang command line options Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 157/171] tools build: Filter out options and warnings not supported by clang Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 158/171] tools build: Use $(shell ) instead of `` to get embedded libperls ccopts Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 159/171] dmaengine: Revert "dmaengine: shdma: Fix runtime PM imbalance on error" Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 160/171] ubsan: remove CONFIG_UBSAN_OBJECT_SIZE Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 161/171] mm: dont skip swap entry even if zap_details specified Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 162/171] cgroup: Use open-time credentials for process migraton perm checks Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 163/171] selftests/cgroup: Fix build on older distros Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 164/171] selftests: cgroup: Make cg_create() use 0755 for permission instead of 0644 Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 165/171] selftests: cgroup: Test open-time credential usage for migration checks Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 166/171] selftests: cgroup: Test open-time cgroup namespace " Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 167/171] arm64: module: remove (NOLOAD) from linker script Greg Kroah-Hartman
2022-04-12  6:30 ` [PATCH 5.10 168/171] Drivers: hv: vmbus: Replace smp_store_mb() with virt_store_mb() Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.10 169/171] irqchip/gic, gic-v3: Prevent GSI to SGI translations Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.10 170/171] mm/sparsemem: fix mem_section will never be NULL gcc 12 warning Greg Kroah-Hartman
2022-04-12  6:31 ` [PATCH 5.10 171/171] powerpc: Fix virt_addr_valid() for 64-bit Book3E & 32-bit Greg Kroah-Hartman
2022-04-12 17:21 ` [PATCH 5.10 000/171] 5.10.111-rc1 review Pavel Machek
2022-04-12 17:41 ` Fox Chen
2022-04-13  1:43 ` 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=20220412062931.501493672@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=axboe@kernel.dk \
    --cc=christoph.boehmwalder@linbit.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lyl2019@mail.ustc.edu.cn \
    --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).