[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022620-CVE-2022-49652-0369@gregkh>
Date: Wed, 26 Feb 2025 03:23:35 +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-49652: dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not needed anymore.
Add missing of_node_put() in to fix this.
The Linux kernel CVE team has assigned CVE-2022-49652 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 4.9.323 with commit 452b9dfd7aca96befce22634fadb111737f22bbe
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 4.14.288 with commit 61b4ef19c346dc21ab1d4f39f5c412e3037b2bdc
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 4.19.252 with commit 3bd66010398871807c1cebacee07d60ded1b1402
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 5.4.205 with commit b31ab132561c7f1b6459039152b8d09e44eb3565
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 5.10.130 with commit 37147e22cd8dfc0412495cb361708836157a4486
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 5.15.54 with commit cb9813d7eae917acd34436160a278b8b5d48ca53
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 5.18.11 with commit b5a817f8d62e9e13280928f3756e54854ae4962e
Issue introduced in 4.5 with commit ec9bfa1e1a796ef7acc2e55917c9b8be5a79e70e and fixed in 5.19 with commit c132fe78ad7b4ce8b5d49a501a15c29d08eeb23a
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-49652
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/dma/ti/dma-crossbar.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/452b9dfd7aca96befce22634fadb111737f22bbe
https://git.kernel.org/stable/c/61b4ef19c346dc21ab1d4f39f5c412e3037b2bdc
https://git.kernel.org/stable/c/3bd66010398871807c1cebacee07d60ded1b1402
https://git.kernel.org/stable/c/b31ab132561c7f1b6459039152b8d09e44eb3565
https://git.kernel.org/stable/c/37147e22cd8dfc0412495cb361708836157a4486
https://git.kernel.org/stable/c/cb9813d7eae917acd34436160a278b8b5d48ca53
https://git.kernel.org/stable/c/b5a817f8d62e9e13280928f3756e54854ae4962e
https://git.kernel.org/stable/c/c132fe78ad7b4ce8b5d49a501a15c29d08eeb23a
Powered by blists - more mailing lists