[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022631-CVE-2022-49714-b926@gregkh>
Date: Wed, 26 Feb 2025 03:24:37 +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-49714: irqchip/realtek-rtl: Fix refcount leak in map_interrupts
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
irqchip/realtek-rtl: Fix refcount leak in map_interrupts
of_find_node_by_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
This function doesn't call of_node_put() in error path.
Call of_node_put() directly after of_property_read_u32() to cover
both normal path and error path.
The Linux kernel CVE team has assigned CVE-2022-49714 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.12 with commit 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 and fixed in 5.15.49 with commit e85b1b797de0e7a271b906291ce28245822820b8
Issue introduced in 5.12 with commit 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 and fixed in 5.18.6 with commit f6d6223df0666fbc054e3a8c6ac14eb0af37c286
Issue introduced in 5.12 with commit 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 and fixed in 5.19 with commit eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce
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-49714
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-realtek-rtl.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/e85b1b797de0e7a271b906291ce28245822820b8
https://git.kernel.org/stable/c/f6d6223df0666fbc054e3a8c6ac14eb0af37c286
https://git.kernel.org/stable/c/eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce
Powered by blists - more mailing lists