[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061829-CVE-2022-50172-0d81@gregkh>
Date: Wed, 18 Jun 2025 13:03:57 +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-50172: mt76: mt76x02u: fix possible memory leak in __mt76x02u_mcu_send_msg
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
mt76: mt76x02u: fix possible memory leak in __mt76x02u_mcu_send_msg
Free the skb if mt76u_bulk_msg fails in __mt76x02u_mcu_send_msg routine.
The Linux kernel CVE team has assigned CVE-2022-50172 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.20 with commit 4c89ff2c74e39b60f1f6e650721f6f92f007ea5b and fixed in 5.10.137 with commit 3ad958bc488e3ecb0207d31621c00efb86f17482
Issue introduced in 4.20 with commit 4c89ff2c74e39b60f1f6e650721f6f92f007ea5b and fixed in 5.15.61 with commit f1609c4f4a21777e081b36596224802b85052ad9
Issue introduced in 4.20 with commit 4c89ff2c74e39b60f1f6e650721f6f92f007ea5b and fixed in 5.18.18 with commit da1ab462b96c5d47a0755aec957bae3d685538c5
Issue introduced in 4.20 with commit 4c89ff2c74e39b60f1f6e650721f6f92f007ea5b and fixed in 5.19.2 with commit 2f53ba46d8c97aca681adbe5098e1f84580c446d
Issue introduced in 4.20 with commit 4c89ff2c74e39b60f1f6e650721f6f92f007ea5b and fixed in 6.0 with commit cffd93411575afd987788e2ec3cb8eaff70f0215
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-50172
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/mt76x02_usb_mcu.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/3ad958bc488e3ecb0207d31621c00efb86f17482
https://git.kernel.org/stable/c/f1609c4f4a21777e081b36596224802b85052ad9
https://git.kernel.org/stable/c/da1ab462b96c5d47a0755aec957bae3d685538c5
https://git.kernel.org/stable/c/2f53ba46d8c97aca681adbe5098e1f84580c446d
https://git.kernel.org/stable/c/cffd93411575afd987788e2ec3cb8eaff70f0215
Powered by blists - more mailing lists