← CVE Intelligence

CVE-2022-49714

irqchip/realtek-rtl: Fix refcount leak in map_interrupts PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before e85b1b797de0e7a271b906291ce28245822820b8; affected 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before f6d6223df0666fbc054e3a8c6ac14eb0af37c286; affected 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce
Linux / Linuxaffected 5.12; unaffected 0 before 5.12; unaffected 5.15.49 through 5.15.*; unaffected 5.18.6 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.