[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022632-CVE-2022-49719-dd71@gregkh>
Date: Wed, 26 Feb 2025 03:24:42 +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-49719: irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
irqchip/gic/realview: Fix refcount leak in realview_gic_of_init
of_find_matching_node_and_match() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
Add missing of_node_put() to avoid refcount leak.
The Linux kernel CVE team has assigned CVE-2022-49719 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 4.9.320 with commit 87da903ce632d5689bef66d56ee5dae700d82104
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 4.14.285 with commit 486f68f85085d9b16ae097679b1486dcb1b6eb69
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 4.19.249 with commit b634af84bc1edece4e63317b0ad95618dd3a8693
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 5.4.200 with commit 56526c3883fc7a1f5898b1d40a02c8b8685a5d92
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 5.10.124 with commit e52a58b79f11755ea7e877015c4a1704303fa55f
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 5.15.49 with commit 5d38720661a4b9c87705c206a6081177ffb8ec1d
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 5.18.6 with commit 16b603cb8d34c2d917983918db1f88c8b831baaa
Issue introduced in 4.6 with commit 82b0a434b436f5da69ddd24bd6a6fa5dc4484310 and fixed in 5.19 with commit f4b98e314888cc51486421bcf6d52852452ea48b
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-49719
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/irqchip/irq-gic-realview.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/87da903ce632d5689bef66d56ee5dae700d82104
https://git.kernel.org/stable/c/486f68f85085d9b16ae097679b1486dcb1b6eb69
https://git.kernel.org/stable/c/b634af84bc1edece4e63317b0ad95618dd3a8693
https://git.kernel.org/stable/c/56526c3883fc7a1f5898b1d40a02c8b8685a5d92
https://git.kernel.org/stable/c/e52a58b79f11755ea7e877015c4a1704303fa55f
https://git.kernel.org/stable/c/5d38720661a4b9c87705c206a6081177ffb8ec1d
https://git.kernel.org/stable/c/16b603cb8d34c2d917983918db1f88c8b831baaa
https://git.kernel.org/stable/c/f4b98e314888cc51486421bcf6d52852452ea48b
Powered by blists - more mailing lists