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 D16A814658D for ; Thu, 1 May 2025 14:17:03 +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=1746109023; cv=none; b=b3z/IpxwOBMu8kwWeh+ZkI24XHJdTSTsZ8/qP0Hgy8k92wAfBRAvUJi6pxkyczKYl5exKdzjSDEom6cZCyEIgbJvdtbnCocCU7MBA+kV91j2yNJ4bMMcMgTUeXvfl65cmiKVpygK7NyCfXP+X76rGhCqXcmaZ4rTYp4q2uFuYOo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746109023; c=relaxed/simple; bh=1vZYU7PvA/pY4VVQVIVwK50NgeGCrkZhb0+b6IHLbws=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jpygL42KyRVsS2wao4+4hHiCm6ub2os/EoUxEFr6rMT/YxtsC99xMvvSYEdFFQu2OFzgDYNA5npMygUtDEPIx9H5UgmV3nHKhrMOF+Wlq1iyV4PYqU7jrshbXXK/ab4P24+JzR3W8dagokMBHN59r+FnIhcLp5zEYQ0vOG57YQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zbE32mLj; 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="zbE32mLj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 483ECC4CEE3; Thu, 1 May 2025 14:17:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746109023; bh=1vZYU7PvA/pY4VVQVIVwK50NgeGCrkZhb0+b6IHLbws=; h=From:To:Cc:Subject:Date:Reply-to:From; b=zbE32mLj7oO+ggCbY2llMNnaIGfJZoQL7Btl+mW2T7bAbD0jvLtPsIqpNODu95gym uO8CNaxTKKCdO9katzJJtyDLnfab2U2pI/e25FMrQVmRwmfzGrbylxTGNO0oFDfBj1 uUzoRj2riTZIprMKLRdXWhcJmDunz4V0uNjAIZW0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49868: phy: ralink: mt7621-pci: add sentinel to quirks table Date: Thu, 1 May 2025 16:10:58 +0200 Message-ID: <2025050150-CVE-2022-49868-5c2f@gregkh> X-Mailer: git-send-email 2.49.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=2432; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XRBTQkF7tAsRxlxUsaBTGF7+T2WtvPl1KnPVSMCaYXs=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDeuKTGPPfw0ubvzaF/s8id+BpePmBrYUNzvXJ4+WR rnsmG7eEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOZ6sEw3yXUjWlTydYH847E /jt+79+mXMdX/AzzrGJdX8z7r7iuUn6S/8/3yz7LfWkvBAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: phy: ralink: mt7621-pci: add sentinel to quirks table With mt7621 soc_dev_attr fixed to register the soc as a device, kernel will experience an oops in soc_device_match_attr This quirk test was introduced in the staging driver in commit 9445ccb3714c ("staging: mt7621-pci-phy: add quirks for 'E2' revision using 'soc_device_attribute'"). The staging driver was removed, and later re-added in commit d87da32372a0 ("phy: ralink: Add PHY driver for MT7621 PCIe PHY") for kernel 5.11 The Linux kernel CVE team has assigned CVE-2022-49868 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit d87da32372a03ce121fc65ccd2c9a43edf56b364 and fixed in 5.15.79 with commit 500bcd3a99eae84412067c3b9e7ffba1c66e6383 Issue introduced in 5.11 with commit d87da32372a03ce121fc65ccd2c9a43edf56b364 and fixed in 6.0.9 with commit d539cfd1202d66c2dcea383f1d96835ae72d5809 Issue introduced in 5.11 with commit d87da32372a03ce121fc65ccd2c9a43edf56b364 and fixed in 6.1 with commit 819b885cd886c193782891c4f51bbcab3de119a4 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-49868 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/phy/ralink/phy-mt7621-pci.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/500bcd3a99eae84412067c3b9e7ffba1c66e6383 https://git.kernel.org/stable/c/d539cfd1202d66c2dcea383f1d96835ae72d5809 https://git.kernel.org/stable/c/819b885cd886c193782891c4f51bbcab3de119a4