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 671101E0B86 for ; Mon, 21 Oct 2024 20:11:48 +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=1729541508; cv=none; b=lmkA1f760/1VEd3jFUBLjoZ50KB7SfysXl6u6P2uVHwQI5leIZQ4JzQWwgp5FQKgBpeaBUyCgergbCpqZjLyzgFFB+tkIU/2OZ96HzVOyqwcNuBZF3Str7ZqgD/tGVMewuItpmfaELQkOYoLJw5JNujAW0QCBQjUwAlomVeeNRY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729541508; c=relaxed/simple; bh=ZgsJgtUXOJvZSwPG3HdZp4cY6pKOjwGb1neD26A7I5I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RnU/ffnidYl+kH47gSzoba87EhwvGtksic6AQTp0cqShzxtzj8Ps4p08nCCXXOcPkHaC/l1AK0YBKlStRWNT8EVQYMarc8any+4IZrUqdDBttAQCdHG7bDCVNY8wVrejBrqspKaGyxapaI+cpmODze4tljrx7PuNzVrPiWhGMLM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ljWi+Em3; 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="ljWi+Em3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4360C4CEC3; Mon, 21 Oct 2024 20:11:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1729541508; bh=ZgsJgtUXOJvZSwPG3HdZp4cY6pKOjwGb1neD26A7I5I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ljWi+Em3ozkA4Zl0FDqEGRR0XbywmfeZhQVP5B14bH9IoE2gjVtYUPmsFS972zDq8 FhVL7TZ9ayOFO7Ypf6o5oVyB6twtDGiZFrkY/OLe1xYBOcOW0g6Ok+nJeOHWjYc4DB Oe5jVLpXrRmgkUk9fYukCadIzcJ75FxiKKwVMd88= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48952: PCI: mt7621: Add sentinel to quirks table Date: Mon, 21 Oct 2024 22:05:44 +0200 Message-ID: <2024102141-CVE-2022-48952-a932@gregkh> X-Mailer: git-send-email 2.47.0 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=2454; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZgsJgtUXOJvZSwPG3HdZp4cY6pKOjwGb1neD26A7I5I=; b=owGbwMvMwCRo6H6F97bub03G02pJDOliW0TVFr9iyVoxv7jGkqdtduUWbtnz22f3Puve8Er6R 77junUWHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRPfMZ5oddbl0RMuu559Oa oLWRkyXvm+8wDmCYZ8OhGLKQryV66ewWvf6kAwv+qxlXAQA= 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: PCI: mt7621: Add sentinel to quirks table Current driver is missing a sentinel in the struct soc_device_attribute array, which causes an oops when assessed by the soc_device_match(mt7621_pcie_quirks_match) call. This was only exposed once the CONFIG_SOC_MT7621 mt7621 soc_dev_attr was fixed to register the SOC as a device, in: commit 7c18b64bba3b ("mips: ralink: mt7621: do not use kzalloc too early") Fix it by adding the required sentinel. The Linux kernel CVE team has assigned CVE-2022-48952 to this issue. Affected and fixed versions =========================== Issue introduced in 5.5 with commit b483b4e4d3f6 and fixed in 5.15.86 with commit 3e9c395ef2d5 Issue introduced in 5.5 with commit b483b4e4d3f6 and fixed in 6.0.15 with commit cb7323ece786 Issue introduced in 5.5 with commit b483b4e4d3f6 and fixed in 6.1.1 with commit a4997bae1b5b Issue introduced in 5.5 with commit b483b4e4d3f6 and fixed in 6.2 with commit 19098934f910 Issue introduced in 5.4.17 with commit 21fd877300b0 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-48952 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/pci/controller/pcie-mt7621.c 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/3e9c395ef2d52975b2c2894d2da09d6db2958bc6 https://git.kernel.org/stable/c/cb7323ece786f243f6d6ccf2e5b2b27b736bdc04 https://git.kernel.org/stable/c/a4997bae1b5b012c8a6e2643e26578a7bc2cae36 https://git.kernel.org/stable/c/19098934f910b4d47cb30251dd39ffa57bef9523