[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022620-CVE-2022-49213-6ce9@gregkh>
Date: Wed, 26 Feb 2025 02:56:58 +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-49213: ath10k: Fix error handling in ath10k_setup_msa_resources
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ath10k: Fix error handling in ath10k_setup_msa_resources
The device_node pointer is returned by of_parse_phandle() with refcount
incremented. We should use of_node_put() on it when done.
This function only calls of_node_put() in the regular path.
And it will cause refcount leak in error path.
The Linux kernel CVE team has assigned CVE-2022-49213 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.8 with commit 727fec790ead3d75e2735f66209949c2163523ea and fixed in 5.10.110 with commit 315772133a4b960859e4f5efe0e738e347188cdc
Issue introduced in 5.8 with commit 727fec790ead3d75e2735f66209949c2163523ea and fixed in 5.15.33 with commit 32939187f254171a5666badc058bc3787fe454af
Issue introduced in 5.8 with commit 727fec790ead3d75e2735f66209949c2163523ea and fixed in 5.16.19 with commit 74b1d41e1b6410eed5c76d00eedb262036e9eff5
Issue introduced in 5.8 with commit 727fec790ead3d75e2735f66209949c2163523ea and fixed in 5.17.2 with commit 4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335
Issue introduced in 5.8 with commit 727fec790ead3d75e2735f66209949c2163523ea and fixed in 5.18 with commit 9747a78d5f758a5284751a10aee13c30d02bd5f1
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-49213
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/ath/ath10k/snoc.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/315772133a4b960859e4f5efe0e738e347188cdc
https://git.kernel.org/stable/c/32939187f254171a5666badc058bc3787fe454af
https://git.kernel.org/stable/c/74b1d41e1b6410eed5c76d00eedb262036e9eff5
https://git.kernel.org/stable/c/4ed37d611ea5d222c3ecb3549e4c2d34b8f3c335
https://git.kernel.org/stable/c/9747a78d5f758a5284751a10aee13c30d02bd5f1
Powered by blists - more mailing lists