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 35171219A74 for ; Wed, 26 Feb 2025 02:24:22 +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=1740536662; cv=none; b=DBzFhbFnShTq3q9Biq1ZBS72kRvCFgs/WdeV+03JlufOM120cr92WOSSEeP0mwZWTjYEGQOhMtxDO/EvoVgJ6dF3hQbNBMKD5fC/pUop7hf958wV2HSt3+mKvk7JZGuRqUTRdz+xNsOmE6esupbWM+grITwTXguMmyhs7aoD9Xk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536662; c=relaxed/simple; bh=JCB8HL93F2xwCuubWCpIqDBhqInIQUEZ54q8JRfi3ic=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=d+MfZapnyyioleB0k6h8EeOfcEBbLKyaYllGpC3PHDQBwAGBitk2WV6Ll85H1dL9nPm7ZkzsxhqbeP1EGOCAWsA2bivHwBuiUFSF2jMCjI4H42k8rAUefOy18uIqlvHvA438mHzgv4o/SruOwQPI+kRmMyevTNj5suKEgMhTe7Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xsybHMra; 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="xsybHMra" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0187EC4CEDD; Wed, 26 Feb 2025 02:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536662; bh=JCB8HL93F2xwCuubWCpIqDBhqInIQUEZ54q8JRfi3ic=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xsybHMrasZ5q1AW261s9qrrrWuLXGGhS+z4Zs1+3x2NdI/2ogh1F5zAxzSHMW03Z0 1sjn7jdfyqxZOvAwc43s5ZmZRDx2HoFRUw+Gv9lsjp8goUTBMlmJuWh7y3gJuegwD2 +bO1KBDqhJw5jJ8F0CcFfVI5p0dxYaU7fXgTkqf0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49614: nvme: use struct group for generic command dwords Date: Wed, 26 Feb 2025 03:22:57 +0100 Message-ID: <2025022614-CVE-2022-49614-b2a0@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1740; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=JCB8HL93F2xwCuubWCpIqDBhqInIQUEZ54q8JRfi3ic=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qq6J1iYKeT31C5w8RfHT7OnF3EclPzyVq9S+dybmR 6Vm6MHXHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARIymGecavYkvXOEmLb9jd Ms3tov0sf9UiLoYFh63D7vAfsDv32vGLcf8x11i1n2e1AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: nvme: use struct group for generic command dwords This will allow the trace event to know the full size of the data intended to be copied and silence read overflow checks. The Linux kernel CVE team has assigned CVE-2022-49614 to this issue. Affected and fixed versions =========================== Fixed in 5.18.13 with commit 3d8b35387e01cab217dc4691a6f770cbb6ed852c Fixed in 5.19 with commit 5c629dc9609dc43492a7bc8060cc6120875bf096 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2022-49614 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/nvme/host/trace.h include/linux/nvme.h Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/3d8b35387e01cab217dc4691a6f770cbb6ed852c https://git.kernel.org/stable/c/5c629dc9609dc43492a7bc8060cc6120875bf096