From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 918863A7F4C; Mon, 4 May 2026 14:10:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777903827; cv=none; b=JxscdCBuTycDJfD3z1LRtEAK2fiBVV0OWr+kG8p/TwHnKGOqPhCz6CmsW1un9b0Y+Ltkk6bWbXhGckN1L3fIe/EZqH8J5MgE/YDENVGxxDLLm7R87FRIoPl6loy84xIgK656wZr0dDxHEF8phX4cOvEDN7HCklghJzv+duUOCic= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777903827; c=relaxed/simple; bh=IfWSmoQmBFCteJ2cUZwiFfYXgcaQtw4DM/kinAUdezU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VEGvfrkU3A8vul5lx3Yx9CXGqxmy/XFX1x1fFfxmP1opgWXriyqySf/+0hYz9xBGZbRHpQeoYbj69VOM2EOOM0VCDJcMpd306Lnd3N638mgN/bXmNU8qlvvYg9AtCqOz462gFsnUYGimqg7g3DE9Q6dSIbnRnwwtiMuPbAQvwBM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Cquq4jQv; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Cquq4jQv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27006C2BCB8; Mon, 4 May 2026 14:10:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1777903827; bh=IfWSmoQmBFCteJ2cUZwiFfYXgcaQtw4DM/kinAUdezU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Cquq4jQv9FzlLdiLg8wx1Kj8TJx/EYm5E8SojvdVwkO7kuMPP5zYChCIMNdMgUThu gLmfFCYt0tj8CO927pAleBEbABWW7eDviO+0CkSxa7hODLo8TDal4vVMmYKZGd7hzX vUkRBVajLv8kwN91NUp+N1O3ZRBRx/bUWu9C6k54= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Robert Beckett , Keith Busch Subject: [PATCH 6.18 077/275] nvme-pci: add NVME_QUIRK_DISABLE_WRITE_ZEROES for Kingston OM3SGP4 Date: Mon, 4 May 2026 15:50:17 +0200 Message-ID: <20260504135145.785552323@linuxfoundation.org> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260504135142.929052779@linuxfoundation.org> References: <20260504135142.929052779@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Robert Beckett commit a8eebf9699d69987cc49cec4e4fdb4111ab32423 upstream. The Kingston OM3SGP42048K2-A00 (PCI ID 2646:502f) firmware has a race condition when processing concurrent write zeroes and DSM (discard) commands, causing spurious "LBA Out of Range" errors and IOMMU page faults at address 0x0. The issue is reliably triggered by running two concurrent mkfs commands on different partitions of the same drive, which generates interleaved write zeroes and discard operations. Disable write zeroes for this device, matching the pattern used for other Kingston OM* drives that have similar firmware issues. Cc: stable@vger.kernel.org Signed-off-by: Robert Beckett Assisted-by: claude-opus-4-6-v1 Signed-off-by: Keith Busch Signed-off-by: Greg Kroah-Hartman --- drivers/nvme/host/pci.c | 2 ++ 1 file changed, 2 insertions(+) --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3922,6 +3922,8 @@ static const struct pci_device_id nvme_i .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x2646, 0x501E), /* KINGSTON OM3PGP4xxxxQ OS21011 NVMe SSD */ .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, + { PCI_DEVICE(0x2646, 0x502F), /* KINGSTON OM3SGP4xxxxK NVMe SSD */ + .driver_data = NVME_QUIRK_DISABLE_WRITE_ZEROES, }, { PCI_DEVICE(0x1f40, 0x1202), /* Netac Technologies Co. NV3000 NVMe SSD */ .driver_data = NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(0x1f40, 0x5236), /* Netac Technologies Co. NV7000 NVMe SSD */