linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: linux-kernel@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	stable@vger.kernel.org, Hannes Reinecke <hare@suse.de>,
	Martin Wilck <mwilck@suse.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 4.14 094/242] scsi: core: Fix VPD LUN ID designator priorities
Date: Mon, 28 Dec 2020 13:48:19 +0100	[thread overview]
Message-ID: <20201228124909.325414942@linuxfoundation.org> (raw)
In-Reply-To: <20201228124904.654293249@linuxfoundation.org>

From: Martin Wilck <mwilck@suse.com>

[ Upstream commit 2e4209b3806cda9b89c30fd5e7bfecb7044ec78b ]

The current implementation of scsi_vpd_lun_id() uses the designator length
as an implicit measure of priority. This works most of the time, but not
always. For example, some Hitachi storage arrays return this in VPD 0x83:

VPD INQUIRY: Device Identification page
  Designation descriptor number 1, descriptor length: 24
    designator_type: T10 vendor identification,  code_set: ASCII
    associated with the Addressed logical unit
      vendor id: HITACHI
      vendor specific: 5030C3502025
  Designation descriptor number 2, descriptor length: 6
    designator_type: vendor specific [0x0],  code_set: Binary
    associated with the Target port
      vendor specific: 08 03
  Designation descriptor number 3, descriptor length: 20
    designator_type: NAA,  code_set: Binary
    associated with the Addressed logical unit
      NAA 6, IEEE Company_id: 0x60e8
      Vendor Specific Identifier: 0x7c35000
      Vendor Specific Identifier Extension: 0x30c35000002025
      [0x60060e8007c350000030c35000002025]

The current code would use the first descriptor because it's longer than
the NAA descriptor. But this is wrong, the kernel is supposed to prefer NAA
descriptors over T10 vendor ID. Designator length should only be used to
compare designators of the same type.

This patch addresses the issue by separating designator priority and
length.

Link: https://lore.kernel.org/r/20201029170846.14786-1-mwilck@suse.com
Fixes: 9983bed3907c ("scsi: Add scsi_vpd_lun_id()")
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 drivers/scsi/scsi_lib.c | 126 +++++++++++++++++++++++++++-------------
 1 file changed, 86 insertions(+), 40 deletions(-)

diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index c36c84c8725a0..6e0981b09c58b 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -3326,6 +3326,78 @@ void sdev_enable_disk_events(struct scsi_device *sdev)
 }
 EXPORT_SYMBOL(sdev_enable_disk_events);
 
+static unsigned char designator_prio(const unsigned char *d)
+{
+	if (d[1] & 0x30)
+		/* not associated with LUN */
+		return 0;
+
+	if (d[3] == 0)
+		/* invalid length */
+		return 0;
+
+	/*
+	 * Order of preference for lun descriptor:
+	 * - SCSI name string
+	 * - NAA IEEE Registered Extended
+	 * - EUI-64 based 16-byte
+	 * - EUI-64 based 12-byte
+	 * - NAA IEEE Registered
+	 * - NAA IEEE Extended
+	 * - EUI-64 based 8-byte
+	 * - SCSI name string (truncated)
+	 * - T10 Vendor ID
+	 * as longer descriptors reduce the likelyhood
+	 * of identification clashes.
+	 */
+
+	switch (d[1] & 0xf) {
+	case 8:
+		/* SCSI name string, variable-length UTF-8 */
+		return 9;
+	case 3:
+		switch (d[4] >> 4) {
+		case 6:
+			/* NAA registered extended */
+			return 8;
+		case 5:
+			/* NAA registered */
+			return 5;
+		case 4:
+			/* NAA extended */
+			return 4;
+		case 3:
+			/* NAA locally assigned */
+			return 1;
+		default:
+			break;
+		}
+		break;
+	case 2:
+		switch (d[3]) {
+		case 16:
+			/* EUI64-based, 16 byte */
+			return 7;
+		case 12:
+			/* EUI64-based, 12 byte */
+			return 6;
+		case 8:
+			/* EUI64-based, 8 byte */
+			return 3;
+		default:
+			break;
+		}
+		break;
+	case 1:
+		/* T10 vendor ID */
+		return 1;
+	default:
+		break;
+	}
+
+	return 0;
+}
+
 /**
  * scsi_vpd_lun_id - return a unique device identification
  * @sdev: SCSI device
@@ -3342,7 +3414,7 @@ EXPORT_SYMBOL(sdev_enable_disk_events);
  */
 int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len)
 {
-	u8 cur_id_type = 0xff;
+	u8 cur_id_prio = 0;
 	u8 cur_id_size = 0;
 	const unsigned char *d, *cur_id_str;
 	const struct scsi_vpd *vpd_pg83;
@@ -3355,20 +3427,6 @@ int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len)
 		return -ENXIO;
 	}
 
-	/*
-	 * Look for the correct descriptor.
-	 * Order of preference for lun descriptor:
-	 * - SCSI name string
-	 * - NAA IEEE Registered Extended
-	 * - EUI-64 based 16-byte
-	 * - EUI-64 based 12-byte
-	 * - NAA IEEE Registered
-	 * - NAA IEEE Extended
-	 * - T10 Vendor ID
-	 * as longer descriptors reduce the likelyhood
-	 * of identification clashes.
-	 */
-
 	/* The id string must be at least 20 bytes + terminating NULL byte */
 	if (id_len < 21) {
 		rcu_read_unlock();
@@ -3378,8 +3436,9 @@ int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len)
 	memset(id, 0, id_len);
 	d = vpd_pg83->data + 4;
 	while (d < vpd_pg83->data + vpd_pg83->len) {
-		/* Skip designators not referring to the LUN */
-		if ((d[1] & 0x30) != 0x00)
+		u8 prio = designator_prio(d);
+
+		if (prio == 0 || cur_id_prio > prio)
 			goto next_desig;
 
 		switch (d[1] & 0xf) {
@@ -3387,28 +3446,19 @@ int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len)
 			/* T10 Vendor ID */
 			if (cur_id_size > d[3])
 				break;
-			/* Prefer anything */
-			if (cur_id_type > 0x01 && cur_id_type != 0xff)
-				break;
+			cur_id_prio = prio;
 			cur_id_size = d[3];
 			if (cur_id_size + 4 > id_len)
 				cur_id_size = id_len - 4;
 			cur_id_str = d + 4;
-			cur_id_type = d[1] & 0xf;
 			id_size = snprintf(id, id_len, "t10.%*pE",
 					   cur_id_size, cur_id_str);
 			break;
 		case 0x2:
 			/* EUI-64 */
-			if (cur_id_size > d[3])
-				break;
-			/* Prefer NAA IEEE Registered Extended */
-			if (cur_id_type == 0x3 &&
-			    cur_id_size == d[3])
-				break;
+			cur_id_prio = prio;
 			cur_id_size = d[3];
 			cur_id_str = d + 4;
-			cur_id_type = d[1] & 0xf;
 			switch (cur_id_size) {
 			case 8:
 				id_size = snprintf(id, id_len,
@@ -3426,17 +3476,14 @@ int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len)
 						   cur_id_str);
 				break;
 			default:
-				cur_id_size = 0;
 				break;
 			}
 			break;
 		case 0x3:
 			/* NAA */
-			if (cur_id_size > d[3])
-				break;
+			cur_id_prio = prio;
 			cur_id_size = d[3];
 			cur_id_str = d + 4;
-			cur_id_type = d[1] & 0xf;
 			switch (cur_id_size) {
 			case 8:
 				id_size = snprintf(id, id_len,
@@ -3449,26 +3496,25 @@ int scsi_vpd_lun_id(struct scsi_device *sdev, char *id, size_t id_len)
 						   cur_id_str);
 				break;
 			default:
-				cur_id_size = 0;
 				break;
 			}
 			break;
 		case 0x8:
 			/* SCSI name string */
-			if (cur_id_size + 4 > d[3])
+			if (cur_id_size > d[3])
 				break;
 			/* Prefer others for truncated descriptor */
-			if (cur_id_size && d[3] > id_len)
-				break;
+			if (d[3] > id_len) {
+				prio = 2;
+				if (cur_id_prio > prio)
+					break;
+			}
+			cur_id_prio = prio;
 			cur_id_size = id_size = d[3];
 			cur_id_str = d + 4;
-			cur_id_type = d[1] & 0xf;
 			if (cur_id_size >= id_len)
 				cur_id_size = id_len - 1;
 			memcpy(id, cur_id_str, cur_id_size);
-			/* Decrease priority for truncated descriptor */
-			if (cur_id_size != id_size)
-				cur_id_size = 6;
 			break;
 		default:
 			break;
-- 
2.27.0




  parent reply	other threads:[~2020-12-28 13:12 UTC|newest]

Thread overview: 245+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 12:46 [PATCH 4.14 000/242] 4.14.213-rc1 review Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 001/242] spi: bcm2835aux: Fix use-after-free on unbind Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 002/242] spi: bcm2835aux: Restore err assignment in bcm2835aux_spi_probe Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 003/242] iwlwifi: pcie: limit memory read spin time Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 004/242] arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 005/242] iwlwifi: mvm: fix kernel panic in case of assert during CSA Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 006/242] ARC: stack unwinding: dont assume non-current task is sleeping Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 007/242] scsi: ufs: Make sure clk scaling happens only when HBA is runtime ACTIVE Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 008/242] soc: fsl: dpio: Get the cpumask through cpumask_of(cpu) Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 009/242] platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 010/242] Input: cm109 - do not stomp on control URB Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 011/242] Input: i8042 - add Acer laptops to the i8042 reset list Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 012/242] pinctrl: amd: remove debounce filter setting in IRQ type setting Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 013/242] kbuild: avoid static_assert for genksyms Greg Kroah-Hartman
2020-12-28 12:46 ` [PATCH 4.14 014/242] scsi: be2iscsi: Revert "Fix a theoretical leak in beiscsi_create_eqs()" Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 015/242] x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 016/242] PCI: qcom: Add missing reset for ipq806x Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 017/242] net: stmmac: free tx skb buffer in stmmac_resume() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 018/242] tcp: fix cwnd-limited bug for TSO deferral where we send nothing Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 019/242] net/mlx4_en: Avoid scheduling restart task if it is already running Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 020/242] net/mlx4_en: Handle TX error CQE Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 021/242] net: stmmac: delete the eee_ctrl_timer after napi disabled Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 022/242] net: stmmac: dwmac-meson8b: fix mask definition of the m250_sel mux Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 023/242] net: bridge: vlan: fix error return code in __vlan_add() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 024/242] mac80211: mesh: fix mesh_pathtbl_init() error path Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 025/242] USB: dummy-hcd: Fix uninitialized array use in init() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 026/242] USB: add RESET_RESUME quirk for Snapscan 1212 Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 027/242] ALSA: usb-audio: Fix potential out-of-bounds shift Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 028/242] ALSA: usb-audio: Fix control access overflow errors from chmap Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 029/242] xhci: Give USB2 ports time to enter U3 in bus suspend Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 030/242] USB: UAS: introduce a quirk to set no_write_same Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 031/242] USB: sisusbvga: Make console support depend on BROKEN Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 032/242] ALSA: pcm: oss: Fix potential out-of-bounds shift Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 033/242] serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 034/242] drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 035/242] pinctrl: merrifield: Set default bias in case no particular value given Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 036/242] pinctrl: baytrail: Avoid clearing debounce value when turning it off Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 037/242] ARM: dts: sun8i: v3s: fix GIC node memory range Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 038/242] gpio: mvebu: fix potential user-after-free on probe Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 039/242] scsi: bnx2i: Requires MMU Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 040/242] can: softing: softing_netdev_open(): fix error handling Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 041/242] RDMA/cm: Fix an attempt to use non-valid pointer when cleaning timewait Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 042/242] kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handling Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 043/242] drm/tegra: sor: Disable clocks on error in tegra_sor_init() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 044/242] vxlan: Add needed_headroom for lower device Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 045/242] vxlan: Copy needed_tailroom from lowerdev Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 046/242] scsi: mpt3sas: Increase IOCInit request timeout to 30s Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 047/242] dm table: Remove BUG_ON(in_interrupt()) Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 048/242] soc/tegra: fuse: Fix index bug in get_process_id Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 049/242] USB: serial: option: add interface-number sanity check to flag handling Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 050/242] USB: gadget: f_acm: add support for SuperSpeed Plus Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 051/242] USB: gadget: f_midi: setup SuperSpeed Plus descriptors Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 052/242] usb: gadget: f_fs: Re-use SS descriptors for SuperSpeedPlus Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 053/242] USB: gadget: f_rndis: fix bitrate for SuperSpeed and above Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 054/242] usb: chipidea: ci_hdrc_imx: Pass DISABLE_DEVICE_STREAMING flag to imx6ul Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 055/242] ARM: dts: exynos: fix roles of USB 3.0 ports on Odroid XU Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 056/242] ARM: dts: exynos: fix USB 3.0 VBUS control and over-current pins on Exynos5410 Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 057/242] ARM: dts: exynos: fix USB 3.0 pins supply being turned off on Odroid XU Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 058/242] HID: i2c-hid: add Vero K147 to descriptor override Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 059/242] serial_core: Check for port state when tty is in error state Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 060/242] quota: Sanity-check quota file headers on load Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 061/242] media: msi2500: assign SPI bus number dynamically Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 062/242] crypto: af_alg - avoid undefined behavior accessing salg_name Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 063/242] md: fix a warning caused by a race between concurrent md_ioctl()s Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 064/242] Bluetooth: Fix slab-out-of-bounds read in hci_le_direct_adv_report_evt() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 065/242] drm/gma500: fix double free of gma_connector Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 066/242] soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 067/242] soc: mediatek: Check if power domains can be powered on at boot time Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 068/242] RDMA/bnxt_re: Set queue pair state when being queried Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 069/242] selinux: fix error initialization in inode_doinit_with_dentry() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 070/242] RDMA/rxe: Compute PSN windows correctly Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 071/242] x86/mm/ident_map: Check for errors from ident_pud_init() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 072/242] ARM: p2v: fix handling of LPAE translation in BE mode Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 073/242] sched/deadline: Fix sched_dl_global_validate() Greg Kroah-Hartman
2020-12-28 12:47 ` [PATCH 4.14 074/242] sched: Reenable interrupts in do_sched_yield() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 075/242] crypto: talitos - Fix return type of current_desc_hdr() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 076/242] spi: img-spfi: fix reference leak in img_spfi_resume Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 077/242] ASoC: pcm: DRAIN support reactivation Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 078/242] selinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 079/242] arm64: dts: exynos: Correct psci compatible used on Exynos7 Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 080/242] Bluetooth: Fix null pointer dereference in hci_event_packet() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 081/242] spi: spi-ti-qspi: fix reference leak in ti_qspi_setup Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 082/242] spi: tegra20-slink: fix reference leak in slink ops of tegra20 Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 083/242] spi: tegra20-sflash: fix reference leak in tegra_sflash_resume Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 084/242] spi: tegra114: fix reference leak in tegra spi ops Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 085/242] mwifiex: fix mwifiex_shutdown_sw() causing sw reset failure Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 086/242] ASoC: wm8998: Fix PM disable depth imbalance on error Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 087/242] net: evaluate net.ipvX.conf.all.ignore_routes_with_linkdown Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 088/242] net: evaluate net.ipv4.conf.all.proxy_arp_pvlan Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 089/242] ASoC: arizona: Fix a wrong free in wm8997_probe Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 090/242] RDMa/mthca: Work around -Wenum-conversion warning Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 091/242] MIPS: BCM47XX: fix kconfig dependency bug for BCM47XX_BCMA Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 092/242] staging: greybus: codecs: Fix reference counter leak in error handling Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 093/242] media: mtk-vcodec: add missing put_device() call in mtk_vcodec_release_dec_pm() Greg Kroah-Hartman
2020-12-28 12:48 ` Greg Kroah-Hartman [this message]
2020-12-28 12:48 ` [PATCH 4.14 095/242] media: solo6x10: fix missing snd_card_free in error handling case Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 096/242] drm/omap: dmm_tiler: fix return error code in omap_dmm_probe() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 097/242] Input: ads7846 - fix race that causes missing releases Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 098/242] Input: ads7846 - fix integer overflow on Rt calculation Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 099/242] Input: ads7846 - fix unaligned access on 7845 Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 100/242] powerpc/feature: Fix CPU_FTRS_ALWAYS by removing CPU_FTRS_GENERIC_32 Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 101/242] crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 102/242] soc: ti: knav_qmss: fix reference leak in knav_queue_probe Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 103/242] soc: ti: Fix reference imbalance in knav_dma_probe Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 104/242] drivers: soc: ti: knav_qmss_queue: Fix error return code in knav_queue_probe Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 105/242] Input: omap4-keypad - fix runtime PM error handling Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 106/242] RDMA/cxgb4: Validate the number of CQEs Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 107/242] memstick: fix a double-free bug in memstick_check Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 108/242] ARM: dts: at91: sama5d4_xplained: add pincontrol for USB Host Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 109/242] ARM: dts: at91: sama5d3_xplained: " Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 110/242] orinoco: Move context allocation after processing the skb Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 111/242] cw1200: fix missing destroy_workqueue() on error in cw1200_init_common Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 112/242] media: siano: fix memory leak of debugfs members in smsdvb_hotplug Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 113/242] samples: bpf: Fix lwt_len_hist reusing previous BPF map Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 114/242] mips: cdmm: fix use-after-free in mips_cdmm_bus_discover Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 115/242] media: max2175: fix max2175_set_csm_mode() error code Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 116/242] HSI: omap_ssi: Dont jump to free ID in ssi_add_controller() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 117/242] ARM: dts: Remove non-existent i2c1 from 98dx3236 Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 118/242] power: supply: bq24190_charger: fix reference leak Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 119/242] genirq/irqdomain: Dont try to free an interrupt that has no mapping Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 120/242] PCI: iproc: Fix out-of-bound array accesses Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 121/242] ARM: dts: at91: at91sam9rl: fix ADC triggers Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 122/242] ath10k: Fix an error handling path Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 123/242] ath10k: Release some resources in " Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 124/242] NFSv4.2: condition READDIRs mask for security label based on LSM state Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 125/242] SUNRPC: xprt_load_transport() needs to support the netid "rdma6" Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 126/242] lockd: dont use interval-based rebinding over TCP Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 127/242] NFS: switch nfsiod to be an UNBOUND workqueue Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 128/242] vfio-pci: Use io_remap_pfn_range() for PCI IO memory Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 129/242] media: saa7146: fix array overflow in vidioc_s_audio() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 130/242] clocksource/drivers/cadence_ttc: Fix memory leak in ttc_setup_clockevent() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 131/242] ARM: dts: at91: sama5d2: map securam as device Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 132/242] pinctrl: falcon: add missing put_device() call in pinctrl_falcon_probe() Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 133/242] arm64: dts: rockchip: Fix UART pull-ups on rk3328 Greg Kroah-Hartman
2020-12-28 12:48 ` [PATCH 4.14 134/242] memstick: r592: Fix error return in r592_probe() Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 135/242] net/mlx5: Properly convey driver version to firmware Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 136/242] ASoC: jz4740-i2s: add missed checks for clk_get() Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 137/242] dm ioctl: fix error return code in target_message Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 138/242] clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 139/242] cpufreq: highbank: Add missing MODULE_DEVICE_TABLE Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 140/242] cpufreq: mediatek: " Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 141/242] cpufreq: st: " Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 142/242] cpufreq: loongson1: Add missing MODULE_ALIAS Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 143/242] cpufreq: scpi: " Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 144/242] scsi: qedi: Fix missing destroy_workqueue() on error in __qedi_probe Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 145/242] scsi: pm80xx: Fix error return in pm8001_pci_probe() Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 146/242] seq_buf: Avoid type mismatch for seq_buf_init Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 147/242] scsi: fnic: Fix error return code in fnic_probe() Greg Kroah-Hartman
2021-01-13  1:20   ` Karan Tilak Kumar (kartilak)
2020-12-28 12:49 ` [PATCH 4.14 148/242] powerpc/pseries/hibernation: drop pseries_suspend_begin() from suspend ops Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 149/242] powerpc/pseries/hibernation: remove redundant cacheinfo update Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 150/242] usb: ehci-omap: Fix PM disable depth umbalance in ehci_hcd_omap_probe Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 151/242] usb: oxu210hp-hcd: Fix memory leak in oxu_create Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 152/242] speakup: fix uninitialized flush_lock Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 153/242] nfsd: Fix message level for normal termination Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 154/242] nfs_common: need lock during iterate through the list Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 155/242] x86/kprobes: Restore BTF if the single-stepping is cancelled Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 156/242] clk: tegra: Fix duplicated SE clock entry Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 157/242] extcon: max77693: Fix modalias string Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 158/242] ASoC: wm_adsp: remove "ctl" from list on error in wm_adsp_create_control() Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 159/242] irqchip/alpine-msi: Fix freeing of interrupts on allocation error path Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 160/242] watchdog: sirfsoc: Add missing dependency on HAS_IOMEM Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 161/242] um: chan_xterm: Fix fd leak Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 162/242] nfc: s3fwrn5: Release the nfc firmware Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 163/242] powerpc/ps3: use dma_mapping_error() Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 164/242] checkpatch: fix unescaped left brace Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 165/242] net: bcmgenet: Fix a resource leak in an error handling path in the probe functin Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 166/242] net: allwinner: Fix some resources leak in the error handling path of the probe and in the remove function Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 167/242] net: korina: fix return value Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 168/242] watchdog: qcom: Avoid context switch in restart handler Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 169/242] watchdog: coh901327: add COMMON_CLK dependency Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 170/242] clk: ti: Fix memleak in ti_fapll_synth_setup Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 171/242] pwm: zx: Add missing cleanup in error path Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 173/242] perf record: Fix memory leak when using --user-regs=? to list registers Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 174/242] qlcnic: Fix error code in probe Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 175/242] clk: s2mps11: Fix a resource leak in error handling paths in the probe function Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 176/242] clk: sunxi-ng: Make sure divider tables have sentinel Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 177/242] cfg80211: initialize rekey_data Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 178/242] [SECURITY] fix namespaced fscaps when !CONFIG_SECURITY Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 179/242] Input: cros_ec_keyb - send scancodes in addition to key events Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 180/242] Input: goodix - add upside-down quirk for Teclast X98 Pro tablet Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 181/242] media: gspca: Fix memory leak in probe Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 182/242] media: sunxi-cir: ensure IR is handled when it is continuous Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 183/242] media: netup_unidvb: Dont leak SPI master in probe error path Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 184/242] Input: cyapa_gen6 - fix out-of-bounds stack access Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 185/242] PM: ACPI: PCI: Drop acpi_pm_set_bridge_wakeup() Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 186/242] Revert "ACPI / resources: Use AE_CTRL_TERMINATE to terminate resources walks" Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 187/242] ACPI: PNP: compare the string length in the matching_id() Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 188/242] ALSA: hda/realtek - Enable headset mic of ASUS Q524UQK with ALC255 Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 189/242] ALSA: pcm: oss: Fix a few more UBSAN fixes Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 190/242] ALSA: usb-audio: Disable sample read check if firmware doesnt give back Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 191/242] s390/smp: perform initial CPU reset also for SMT siblings Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 192/242] s390/dasd: prevent inconsistent LCU device data Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 193/242] s390/dasd: fix list corruption of pavgroup group list Greg Kroah-Hartman
2020-12-28 12:49 ` [PATCH 4.14 194/242] s390/dasd: fix list corruption of lcu list Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 195/242] staging: comedi: mf6x4: Fix AI end-of-conversion detection Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 196/242] powerpc/perf: Exclude kernel samples while counting events in user space Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 197/242] crypto: ecdh - avoid unaligned accesses in ecdh_set_secret() Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 198/242] EDAC/amd64: Fix PCI component registration Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 199/242] USB: serial: mos7720: fix parallel-port state restore Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 200/242] USB: serial: keyspan_pda: fix dropped unthrottle interrupts Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 201/242] USB: serial: keyspan_pda: fix write deadlock Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 202/242] USB: serial: keyspan_pda: fix stalled writes Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 203/242] USB: serial: keyspan_pda: fix write-wakeup use-after-free Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 204/242] USB: serial: keyspan_pda: fix tx-unthrottle use-after-free Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 205/242] USB: serial: keyspan_pda: fix write unthrottling Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 206/242] Btrfs: fix selftests failure due to uninitialized i_mode in test inodes Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 207/242] btrfs: fix return value mixup in btrfs_get_extent Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 208/242] ext4: fix a memory leak of ext4_free_data Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 209/242] ext4: fix deadlock with fs freezing and EA inodes Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 210/242] KVM: arm64: Introduce handling of AArch32 TTBCR2 traps Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 211/242] ARM: dts: at91: sama5d2: fix CAN message ram offset and size Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 212/242] powerpc/rtas: Fix typo of ibm,open-errinjct in RTAS filter Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 213/242] powerpc/xmon: Change printk() to pr_cont() Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 214/242] powerpc/powernv/memtrace: Dont leak kernel memory to user space Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 215/242] ima: Dont modify file descriptor mode on the fly Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 216/242] ceph: fix race in concurrent __ceph_remove_cap invocations Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 217/242] jffs2: Fix GC exit abnormally Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 218/242] jfs: Fix array index bounds check in dbAdjTree Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 219/242] drm/dp_aux_dev: check aux_dev before use in drm_dp_aux_dev_get_by_minor() Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 220/242] spi: spi-sh: Fix use-after-free on unbind Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 221/242] spi: davinci: " Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 222/242] spi: pic32: Dont leak DMA channels in probe error path Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 223/242] spi: rb4xx: Dont leak SPI master " Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 224/242] spi: sc18is602: " Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 225/242] spi: st-ssc4: Fix unbalanced pm_runtime_disable() " Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 226/242] soc: qcom: smp2p: Safely acquire spinlock without IRQs Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 227/242] mtd: parser: cmdline: Fix parsing of part-names with colons Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 228/242] iio: buffer: Fix demux update Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 229/242] iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 230/242] iio:light:rpr0521: Fix timestamp alignment and prevent data leak Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 231/242] iio:pressure:mpl3115: Force alignment of buffer Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 232/242] iio:imu:bmi160: Fix too large a buffer Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 233/242] md/cluster: fix deadlock when node is doing resync job Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 234/242] clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9 Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 235/242] xen-blkback: set ring->xenblkd to NULL after kthread_stop() Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 236/242] xen/xenbus: Allow watches discard events before queueing Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 237/242] xen/xenbus: Add will_handle callback support in xenbus_watch_path() Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 238/242] xen/xenbus/xen_bus_type: Support will_handle watch callback Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 239/242] xen/xenbus: Count pending messages for each watch Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 240/242] xenbus/xenbus_backend: Disallow pending watch messages Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 241/242] libnvdimm/namespace: Fix reaping of invalidated block-window-namespace labels Greg Kroah-Hartman
2020-12-28 12:50 ` [PATCH 4.14 242/242] PCI: Fix pci_slot_release() NULL pointer dereference Greg Kroah-Hartman
2020-12-28 20:25 ` [PATCH 4.14 000/242] 4.14.213-rc1 review Guenter Roeck
2020-12-29  8:59 ` Naresh Kamboju

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=20201228124909.325414942@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=hare@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=mwilck@suse.com \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

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

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