stable.vger.kernel.org archive mirror
 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, Niklas Schnelle <schnelle@linux.ibm.com>,
	Matthew Rosato <mjrosato@linux.ibm.com>,
	Bjorn Helgaas <bhelgaas@google.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 6.2 044/211] PCI: s390: Fix use-after-free of PCI resources with per-function hotplug
Date: Mon, 20 Mar 2023 15:52:59 +0100	[thread overview]
Message-ID: <20230320145515.075222715@linuxfoundation.org> (raw)
In-Reply-To: <20230320145513.305686421@linuxfoundation.org>

From: Niklas Schnelle <schnelle@linux.ibm.com>

[ Upstream commit ab909509850b27fd39b8ba99e44cda39dbc3858c ]

On s390 PCI functions may be hotplugged individually even when they
belong to a multi-function device. In particular on an SR-IOV device VFs
may be removed and later re-added.

In commit a50297cf8235 ("s390/pci: separate zbus creation from
scanning") it was missed however that struct pci_bus and struct
zpci_bus's resource list retained a reference to the PCI functions MMIO
resources even though those resources are released and freed on
hot-unplug. These stale resources may subsequently be claimed when the
PCI function re-appears resulting in use-after-free.

One idea of fixing this use-after-free in s390 specific code that was
investigated was to simply keep resources around from the moment a PCI
function first appeared until the whole virtual PCI bus created for
a multi-function device disappears. The problem with this however is
that due to the requirement of artificial MMIO addreesses (address
cookies) extra logic is then needed to keep the address cookies
compatible on re-plug. At the same time the MMIO resources semantically
belong to the PCI function so tying their lifecycle to the function
seems more logical.

Instead a simpler approach is to remove the resources of an individually
hot-unplugged PCI function from the PCI bus's resource list while
keeping the resources of other PCI functions on the PCI bus untouched.

This is done by introducing pci_bus_remove_resource() to remove an
individual resource. Similarly the resource also needs to be removed
from the struct zpci_bus's resource list. It turns out however, that
there is really no need to add the MMIO resources to the struct
zpci_bus's resource list at all and instead we can simply use the
zpci_bar_struct's resource pointer directly.

Fixes: a50297cf8235 ("s390/pci: separate zbus creation from scanning")
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20230306151014.60913-2-schnelle@linux.ibm.com
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 arch/s390/pci/pci.c     | 16 ++++++++++------
 arch/s390/pci/pci_bus.c | 12 +++++-------
 arch/s390/pci/pci_bus.h |  3 +--
 drivers/pci/bus.c       | 21 +++++++++++++++++++++
 include/linux/pci.h     |  1 +
 5 files changed, 38 insertions(+), 15 deletions(-)

diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c
index ef38b1514c77a..e16afacc8fd1b 100644
--- a/arch/s390/pci/pci.c
+++ b/arch/s390/pci/pci.c
@@ -544,8 +544,7 @@ static struct resource *__alloc_res(struct zpci_dev *zdev, unsigned long start,
 	return r;
 }
 
-int zpci_setup_bus_resources(struct zpci_dev *zdev,
-			     struct list_head *resources)
+int zpci_setup_bus_resources(struct zpci_dev *zdev)
 {
 	unsigned long addr, size, flags;
 	struct resource *res;
@@ -581,7 +580,6 @@ int zpci_setup_bus_resources(struct zpci_dev *zdev,
 			return -ENOMEM;
 		}
 		zdev->bars[i].res = res;
-		pci_add_resource(resources, res);
 	}
 	zdev->has_resources = 1;
 
@@ -590,17 +588,23 @@ int zpci_setup_bus_resources(struct zpci_dev *zdev,
 
 static void zpci_cleanup_bus_resources(struct zpci_dev *zdev)
 {
+	struct resource *res;
 	int i;
 
+	pci_lock_rescan_remove();
 	for (i = 0; i < PCI_STD_NUM_BARS; i++) {
-		if (!zdev->bars[i].size || !zdev->bars[i].res)
+		res = zdev->bars[i].res;
+		if (!res)
 			continue;
 
+		release_resource(res);
+		pci_bus_remove_resource(zdev->zbus->bus, res);
 		zpci_free_iomap(zdev, zdev->bars[i].map_idx);
-		release_resource(zdev->bars[i].res);
-		kfree(zdev->bars[i].res);
+		zdev->bars[i].res = NULL;
+		kfree(res);
 	}
 	zdev->has_resources = 0;
+	pci_unlock_rescan_remove();
 }
 
 int pcibios_device_add(struct pci_dev *pdev)
diff --git a/arch/s390/pci/pci_bus.c b/arch/s390/pci/pci_bus.c
index 6a8da1b742ae5..a99926af2b69a 100644
--- a/arch/s390/pci/pci_bus.c
+++ b/arch/s390/pci/pci_bus.c
@@ -41,9 +41,7 @@ static int zpci_nb_devices;
  */
 static int zpci_bus_prepare_device(struct zpci_dev *zdev)
 {
-	struct resource_entry *window, *n;
-	struct resource *res;
-	int rc;
+	int rc, i;
 
 	if (!zdev_enabled(zdev)) {
 		rc = zpci_enable_device(zdev);
@@ -57,10 +55,10 @@ static int zpci_bus_prepare_device(struct zpci_dev *zdev)
 	}
 
 	if (!zdev->has_resources) {
-		zpci_setup_bus_resources(zdev, &zdev->zbus->resources);
-		resource_list_for_each_entry_safe(window, n, &zdev->zbus->resources) {
-			res = window->res;
-			pci_bus_add_resource(zdev->zbus->bus, res, 0);
+		zpci_setup_bus_resources(zdev);
+		for (i = 0; i < PCI_STD_NUM_BARS; i++) {
+			if (zdev->bars[i].res)
+				pci_bus_add_resource(zdev->zbus->bus, zdev->bars[i].res, 0);
 		}
 	}
 
diff --git a/arch/s390/pci/pci_bus.h b/arch/s390/pci/pci_bus.h
index e96c9860e0644..af9f0ac79a1b1 100644
--- a/arch/s390/pci/pci_bus.h
+++ b/arch/s390/pci/pci_bus.h
@@ -30,8 +30,7 @@ static inline void zpci_zdev_get(struct zpci_dev *zdev)
 
 int zpci_alloc_domain(int domain);
 void zpci_free_domain(int domain);
-int zpci_setup_bus_resources(struct zpci_dev *zdev,
-			     struct list_head *resources);
+int zpci_setup_bus_resources(struct zpci_dev *zdev);
 
 static inline struct zpci_dev *zdev_from_bus(struct pci_bus *bus,
 					     unsigned int devfn)
diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c
index 83ae838ceb5f0..549c4bd5caeca 100644
--- a/drivers/pci/bus.c
+++ b/drivers/pci/bus.c
@@ -76,6 +76,27 @@ struct resource *pci_bus_resource_n(const struct pci_bus *bus, int n)
 }
 EXPORT_SYMBOL_GPL(pci_bus_resource_n);
 
+void pci_bus_remove_resource(struct pci_bus *bus, struct resource *res)
+{
+	struct pci_bus_resource *bus_res, *tmp;
+	int i;
+
+	for (i = 0; i < PCI_BRIDGE_RESOURCE_NUM; i++) {
+		if (bus->resource[i] == res) {
+			bus->resource[i] = NULL;
+			return;
+		}
+	}
+
+	list_for_each_entry_safe(bus_res, tmp, &bus->resources, list) {
+		if (bus_res->res == res) {
+			list_del(&bus_res->list);
+			kfree(bus_res);
+			return;
+		}
+	}
+}
+
 void pci_bus_remove_resources(struct pci_bus *bus)
 {
 	int i;
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 50042ea8e0083..db6ec828aa4b2 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -1437,6 +1437,7 @@ void pci_bus_add_resource(struct pci_bus *bus, struct resource *res,
 			  unsigned int flags);
 struct resource *pci_bus_resource_n(const struct pci_bus *bus, int n);
 void pci_bus_remove_resources(struct pci_bus *bus);
+void pci_bus_remove_resource(struct pci_bus *bus, struct resource *res);
 int devm_request_pci_bus_resources(struct device *dev,
 				   struct list_head *resources);
 
-- 
2.39.2




  parent reply	other threads:[~2023-03-20 15:25 UTC|newest]

Thread overview: 224+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-20 14:52 [PATCH 6.2 000/211] 6.2.8-rc1 review Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 001/211] xfrm: Allow transport-mode states with AF_UNSPEC selector Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 002/211] drm/virtio: Pass correct device to dma_sync_sgtable_for_device() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 003/211] drm/msm/gem: Prevent blocking within shrinker loop Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 004/211] drm/panfrost: Dont sync rpm suspension after mmu flushing Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 005/211] fbdev: chipsfb: Fix error codes in chipsfb_pci_init() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 006/211] cifs: Move the in_send statistic to __smb_send_rqst() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 007/211] drm/meson: fix 1px pink line on GXM when scaling video overlay Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 008/211] clk: HI655X: select REGMAP instead of depending on it Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 009/211] selftests: amd-pstate: fix TEST_FILES Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 010/211] ASoC: SOF: Intel: MTL: Fix the device description Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 011/211] ASoC: SOF: Intel: HDA: Fix " Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 012/211] ASoC: SOF: Intel: SKL: " Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 013/211] ASOC: SOF: Intel: pci-tgl: " Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 014/211] ASoC: SOF: ipc4-topology: set dmic dai index from copier Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 015/211] docs: Correct missing "d_" prefix for dentry_operations member d_weak_revalidate Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 016/211] scsi: mpt3sas: Fix NULL pointer access in mpt3sas_transport_port_add() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 017/211] scsi: mpi3mr: Fix throttle_groups memory leak Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 018/211] scsi: mpi3mr: Fix config page DMA " Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 019/211] scsi: mpi3mr: Fix mpi3mr_hba_port memory leak in mpi3mr_remove() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 020/211] scsi: mpi3mr: Fix sas_hba.phy " Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 021/211] scsi: mpi3mr: Return proper values for failures in firmware init path Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 022/211] scsi: mpi3mr: Fix memory leaks in mpi3mr_init_ioc() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 023/211] scsi: mpi3mr: ioctl timeout when disabling/enabling interrupt Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 024/211] scsi: mpi3mr: Fix expander node leak in mpi3mr_remove() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 025/211] ALSA: hda: Match only Intel devices with CONTROLLER_IN_GPU() Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 026/211] netfilter: nft_nat: correct length for loading protocol registers Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 027/211] netfilter: nft_masq: " Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 028/211] netfilter: nft_redir: " Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 029/211] netfilter: nft_redir: correct value of inet type `.maxattrs` Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 030/211] scsi: core: Add BLIST_NO_VPD_SIZE for some VDASD Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 031/211] scsi: core: Fix a procfs host directory removal regression Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 032/211] ftrace,kcfi: Define ftrace_stub_graph conditionally Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 033/211] tcp: tcp_make_synack() can be called from process context Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 034/211] vdpa/mlx5: should not activate virtq object when suspended Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 035/211] wifi: nl80211: fix NULL-ptr deref in offchan check Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 036/211] wifi: cfg80211: fix MLO connection ownership Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 037/211] selftests: fix LLVM build for i386 and x86_64 Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 038/211] nfc: pn533: initialize struct pn533_out_arg properly Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 039/211] ipvlan: Make skb->skb_iif track skb->dev for l3s mode Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 040/211] i40e: Fix kernel crash during reboot when adapter is in recovery mode Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 041/211] vhost-vdpa: free iommu domain after last use during cleanup Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 042/211] vdpa_sim: not reset state in vdpasim_queue_ready Greg Kroah-Hartman
2023-03-20 14:52 ` [PATCH 6.2 043/211] vdpa_sim: set last_used_idx as last_avail_idx " Greg Kroah-Hartman
2023-03-20 14:52 ` Greg Kroah-Hartman [this message]
2023-03-20 14:53 ` [PATCH 6.2 045/211] drm/i915/psr: Use calculated io and fast wake lines Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 046/211] drm/i915/sseu: fix max_subslices array-index-out-of-bounds access Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 047/211] bnxt_en: reset PHC frequency in free-running mode Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 048/211] net/smc: fix NULL sndbuf_desc in smc_cdc_tx_handler() Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 049/211] qed/qed_dev: guard against a possible division by zero Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 050/211] net: dsa: mt7530: remove now incorrect comment regarding port 5 Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 051/211] net: dsa: mt7530: set PLL frequency and trgmii only when trgmii is used Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 052/211] block: do not reverse request order when flushing plug list Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 053/211] loop: Fix use-after-free issues Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 054/211] blk-mq: fix "bad unlock balance detected" on q->srcu in __blk_mq_run_dispatch_ops Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 055/211] net: tunnels: annotate lockless accesses to dev->needed_headroom Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 056/211] net: phy: smsc: bail out in lan87xx_read_status if genphy_read_status fails Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 057/211] tcp: Fix bind() conflict check for dual-stack wildcard address Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 058/211] nfc: st-nci: Fix use after free bug in ndlc_remove due to race condition Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 059/211] mlxsw: spectrum: Fix incorrect parsing depth after reload Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 060/211] net/smc: fix deadlock triggered by cancel_delayed_work_syn() Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 061/211] net: usb: smsc75xx: Limit packet length to skb->len Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 062/211] net: ethernet: mtk_eth_soc: reset PCS state Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 063/211] net: ethernet: mtk_eth_soc: only write values if needed Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 064/211] drm/bridge: Fix returned array size name for atomic_get_input_bus_fmts kdoc Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 065/211] powerpc/mm: Fix false detection of read faults Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 066/211] block: null_blk: Fix handling of fake timeout request Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 067/211] nvme: fix handling single range discard request Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 068/211] nvmet: avoid potential UAF in nvmet_req_complete() Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 069/211] block: sunvdc: add check for mdesc_grab() returning NULL Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 070/211] block: count ios and sectors when io is done for bio-based device Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 071/211] net/mlx5e: Fix macsec ASO context alignment Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 072/211] net/mlx5e: Dont cache tunnel offloads capability Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 073/211] net/mlx5: Fix setting ec_function bit in MANAGE_PAGES Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 074/211] net/mlx5: Disable eswitch before waiting for VF pages Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 075/211] net/mlx5: E-switch, Fix wrong usage of source port rewrite in split rules Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 076/211] net/mlx5: E-switch, Fix missing set of split_count when forward to ovs internal port Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 077/211] net/mlx5e: Fix cleanup null-ptr deref on encap lock Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 078/211] net/mlx5: Set BREAK_FW_WAIT flag first when removing driver Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 079/211] veth: Fix use after free in XDP_REDIRECT Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 080/211] ice: xsk: disable txq irq before flushing hw Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 081/211] net: dsa: dont error out when drivers return ETH_DATA_LEN in .port_max_mtu() Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 082/211] net: dsa: mv88e6xxx: fix max_mtu of 1492 on 6165, 6191, 6220, 6250, 6290 Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 083/211] ravb: avoid PHY being resumed when interface is not up Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 084/211] sh_eth: " Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 085/211] ipv4: Fix incorrect table ID in IOCTL path Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 086/211] net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 087/211] net: atlantic: Fix crash when XDP is enabled but no program is loaded Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 088/211] net/iucv: Fix size of interrupt data Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 089/211] i825xx: sni_82596: use eth_hw_addr_set() Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 090/211] selftests: net: devlink_port_split.py: skip test if no suitable device available Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 091/211] qed/qed_mng_tlv: correctly zero out ->min instead of ->hour Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 092/211] net: dsa: microchip: fix RGMII delay configuration on KSZ8765/KSZ8794/KSZ8795 Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 093/211] ethernet: sun: add check for the mdesc_grab() Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 094/211] net: renesas: rswitch: Rename rings in struct rswitch_gwca_queue Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 095/211] net: renesas: rswitch: Fix the output value of quote from rswitch_rx() Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 096/211] bonding: restore IFF_MASTER/SLAVE flags on bond enslave ether type change Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 097/211] bonding: restore bonds IFF_SLAVE flag if a non-eth dev enslave fails Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 098/211] hwmon: (adt7475) Display smoothing attributes in correct order Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 099/211] hwmon: (adt7475) Fix masking of hysteresis registers Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 100/211] hwmon: (xgene) Fix use after free bug in xgene_hwmon_remove due to race condition Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 101/211] hwmon: (ina3221) return prober error code Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 102/211] hwmon: (ucd90320) Add minimum delay between bus accesses Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 103/211] hwmon: tmp512: drop of_match_ptr for ID table Greg Kroah-Hartman
2023-03-20 14:53 ` [PATCH 6.2 104/211] kconfig: Update config changed flag before calling callback Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 105/211] hwmon: (adm1266) Set `can_sleep` flag for GPIO chip Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 106/211] hwmon: (ltc2992) " Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 107/211] media: m5mols: fix off-by-one loop termination error Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 108/211] ext4: update s_journal_inum if it changes after journal replay Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 109/211] ext4: fix task hung in ext4_xattr_delete_inode Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 110/211] drm/amdkfd: Fix an illegal memory access Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 111/211] net/9p: fix bug in client create for .L Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 112/211] LoongArch: Only call get_timer_irq() once in constant_clockevent_init() Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 113/211] sh: intc: Avoid spurious sizeof-pointer-div warning Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 114/211] drm/amdgpu: fix ttm_bo calltrace warning in psp_hw_fini Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 115/211] drm/amd/display: fix shift-out-of-bounds in CalculateVMAndRowBytes Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 116/211] ext4: fix possible double unlock when moving a directory Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 117/211] Revert "tty: serial: fsl_lpuart: adjust SERIAL_FSL_LPUART_CONSOLE config dependency" Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 118/211] tty: serial: fsl_lpuart: fix race on RX DMA shutdown Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 119/211] tty: serial: fsl_lpuart: skip waiting for transmission complete when UARTCTRL_SBK is asserted Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 120/211] serial: 8250_em: Fix UART port type Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 121/211] serial: 8250_fsl: fix handle_irq locking Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 122/211] serial: 8250: ASPEED_VUART: select REGMAP instead of depending on it Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 123/211] firmware: xilinx: dont make a sleepable memory allocation from an atomic context Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 124/211] memory: tegra: fix interconnect registration race Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 125/211] memory: tegra20-emc: " Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 126/211] memory: tegra124-emc: " Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 127/211] memory: tegra30-emc: " Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 128/211] drm/ttm: Fix a NULL pointer dereference Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 129/211] s390/ipl: add missing intersection check to ipl_report handling Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 130/211] interconnect: fix icc_provider_del() error handling Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 131/211] interconnect: fix provider registration API Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 132/211] interconnect: imx: fix registration race Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 133/211] interconnect: fix mem leak when freeing nodes Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 134/211] interconnect: qcom: osm-l3: fix registration race Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 135/211] interconnect: qcom: rpm: fix probe child-node error handling Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 136/211] interconnect: qcom: rpm: fix registration race Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 137/211] interconnect: qcom: rpmh: fix probe child-node error handling Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 138/211] interconnect: qcom: rpmh: fix registration race Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 139/211] interconnect: qcom: msm8974: " Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 140/211] interconnect: exynos: fix node leak in probe PM QoS error path Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 141/211] interconnect: exynos: fix registration race Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 142/211] md: select BLOCK_LEGACY_AUTOLOAD Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 143/211] cifs: generate signkey for the channel thats reconnecting Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 144/211] tracing: Make splice_read available again Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 145/211] tracing: Do not let histogram values have some modifiers Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 146/211] tracing: Check field value in hist_field_name() Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 147/211] tracing: Make tracepoint lockdep check actually test something Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 148/211] cifs: Fix smb2_set_path_size() Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 149/211] cifs: set DFS root session in cifs_get_smb_ses() Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 150/211] cifs: fix use-after-free bug in refresh_cache_worker() Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 151/211] cifs: return DFS root session id in DebugData Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 152/211] cifs: use DFS root session instead of tcon ses Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 153/211] KVM: SVM: Fix a benign off-by-one bug in AVIC physical table mask Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 154/211] KVM: SVM: Modify AVIC GATag to support max number of 512 vCPUs Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 155/211] KVM: nVMX: add missing consistency checks for CR0 and CR4 Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 156/211] ALSA: hda: intel-dsp-config: add MTL PCI id Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 157/211] ALSA: hda/realtek: Fix the speaker output on Samsung Galaxy Book2 Pro Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 158/211] ALSA: hda/realtek: fix speaker, mute/micmute LEDs not work on a HP platform Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 159/211] Revert "riscv: mm: notify remote harts about mmu cache updates" Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 160/211] riscv: asid: Fixup stale TLB entry cause application crash Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 161/211] drm/edid: fix info leak when failing to get panel id Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 162/211] drm/shmem-helper: Remove another errant put in error path Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 163/211] drm/sun4i: fix missing component unbind on bind errors Greg Kroah-Hartman
2023-03-20 14:54 ` [PATCH 6.2 164/211] drm/i915/active: Fix misuse of non-idle barriers as fence trackers Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 165/211] drm/i915/dg2: Add HDMI pixel clock frequencies 267.30 and 319.89 MHz Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 166/211] drm/amdgpu: Dont resume IOMMU after incomplete init Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 167/211] drm/amd/pm: Fix sienna cichlid incorrect OD volage after resume Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 168/211] drm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 169/211] drm/amd/pm: bump SMU 13.0.4 driver_if header version Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 170/211] drm/amd/display: Do not set DRR on pipe Commit Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 171/211] drm/amd/display: disconnect MPCC only on OTG change Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 172/211] drm/amd/display: Write to correct dirty_rect Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 173/211] mptcp: fix possible deadlock in subflow_error_report Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 174/211] mptcp: refactor passive socket initialization Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 175/211] mptcp: use the workqueue to destroy unaccepted sockets Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 176/211] mptcp: fix UaF in listener shutdown Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 177/211] mptcp: add ro_after_init for tcp{,v6}_prot_override Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 178/211] mptcp: avoid setting TCP_CLOSE state twice Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 179/211] mptcp: fix lockdep false positive in mptcp_pm_nl_create_listen_socket() Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 180/211] ftrace: Fix invalid address access in lookup_rec() when index is 0 Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 181/211] ocfs2: fix data corruption after failed write Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 182/211] nvme-pci: add NVME_QUIRK_BOGUS_NID for Netac NV3000 Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 183/211] ice: avoid bonding causing auxiliary plug/unplug under RTNL lock Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 184/211] vp_vdpa: fix the crash in hot unplug with vp_vdpa Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 185/211] mm/userfaultfd: propagate uffd-wp bit when PTE-mapping the huge zeropage Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 186/211] mm: teach mincore_hugetlb about pte markers Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 187/211] powerpc/64: Set default CPU in Kconfig Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 188/211] powerpc/boot: Dont always pass -mcpu=powerpc when building 32-bit uImage Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 189/211] mmc: sdhci_am654: lower power-on failed message severity Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 190/211] fbdev: stifb: Provide valid pixelclock and add fb_check_var() checks Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 191/211] trace/hwlat: Do not wipe the contents of per-cpu thread data Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 192/211] trace/hwlat: Do not start per-cpu thread if it is already running Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 193/211] ACPI: PPTT: Fix to avoid sleep in the atomic context when PPTT is absent Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 194/211] net: phy: nxp-c45-tja11xx: fix MII_BASIC_CONFIG_REV bit Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 195/211] fbdev: Fix incorrect page mapping clearance at fb_deferred_io_release() Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 196/211] RISC-V: mm: Support huge page in vmalloc_fault() Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 197/211] io_uring/msg_ring: let target know allocated index Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 198/211] cpuidle: psci: Iterate backwards over list in psci_pd_remove() Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 199/211] ASoC: Intel: soc-acpi: fix copy-paste issue in topology names Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 200/211] ASoC: qcom: q6prm: fix incorrect clk_root passed to ADSP Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 201/211] x86/mce: Make sure logged MCEs are processed after sysfs update Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 202/211] x86/mm: Fix use of uninitialized buffer in sme_enable() Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 203/211] x86/resctrl: Clear staged_config[] before and after it is used Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 204/211] powerpc: Pass correct CPU reference to assembler Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 205/211] virt/coco/sev-guest: Check SEV_SNP attribute at probe time Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 206/211] virt/coco/sev-guest: Simplify extended guest request handling Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 207/211] virt/coco/sev-guest: Remove the disable_vmpck label in handle_guest_request() Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 208/211] virt/coco/sev-guest: Carve out the request issuing logic into a helper Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 209/211] virt/coco/sev-guest: Do some code style cleanups Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 210/211] virt/coco/sev-guest: Convert the sw_exit_info_2 checking to a switch-case Greg Kroah-Hartman
2023-03-20 14:55 ` [PATCH 6.2 211/211] virt/coco/sev-guest: Add throttling awareness Greg Kroah-Hartman
2023-03-20 17:19 ` [PATCH 6.2 000/211] 6.2.8-rc1 review Chris Paterson
2023-03-20 18:40 ` Naresh Kamboju
2023-03-20 18:49   ` Nick Desaulniers
2023-03-21  7:48     ` Greg Kroah-Hartman
2023-03-20 21:28 ` Florian Fainelli
2023-03-20 23:01 ` Shuah Khan
2023-03-20 23:03 ` Shuah Khan
2023-03-21  2:23 ` Allen Pais
2023-03-21  4:51 ` Bagas Sanjaya
2023-03-21  6:51 ` Ron Economos
2023-03-21  8:46 ` Conor Dooley
2023-03-21 11:57 ` Jon Hunter

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=20230320145515.075222715@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=bhelgaas@google.com \
    --cc=gor@linux.ibm.com \
    --cc=mjrosato@linux.ibm.com \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=schnelle@linux.ibm.com \
    --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).