[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022605-CVE-2022-49129-a098@gregkh>
Date: Wed, 26 Feb 2025 02:55:34 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49129: mt76: mt7921: fix crash when startup fails.
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mt76: mt7921: fix crash when startup fails.
If the nic fails to start, it is possible that the
reset_work has already been scheduled. Ensure the
work item is canceled so we do not have use-after-free
crash in case cleanup is called before the work item
is executed.
This fixes crash on my x86_64 apu2 when mt7921k radio
fails to work. Radio still fails, but OS does not
crash.
The Linux kernel CVE team has assigned CVE-2022-49129 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.34 with commit 38fbe806645090c07aa97171f20fc62c3d7d3a98
Fixed in 5.16.20 with commit c1a5e6002ec441a3b9fb4d048b4b49ae93409a46
Fixed in 5.17.3 with commit ac1260b661c2ef0d0a56680cdb5672b931b7be8f
Fixed in 5.18 with commit 827e7799c61b978fbc2cc9dac66cb62401b2b3f0
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-49129
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/net/wireless/mediatek/mt76/mt7921/main.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/38fbe806645090c07aa97171f20fc62c3d7d3a98
https://git.kernel.org/stable/c/c1a5e6002ec441a3b9fb4d048b4b49ae93409a46
https://git.kernel.org/stable/c/ac1260b661c2ef0d0a56680cdb5672b931b7be8f
https://git.kernel.org/stable/c/827e7799c61b978fbc2cc9dac66cb62401b2b3f0
Powered by blists - more mailing lists