[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050150-CVE-2022-49868-5c2f@gregkh>
Date: Thu, 1 May 2025 16:10:58 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49868: phy: ralink: mt7621-pci: add sentinel to quirks table
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists