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 / product | Versions |
|---|---|
| Linux / Linux | affected 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before e85b1b797de0e7a271b906291ce28245822820b8; affected 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before f6d6223df0666fbc054e3a8c6ac14eb0af37c286; affected 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce |
| Linux / Linux | affected 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
- https://git.kernel.org/stable/c/e85b1b797de0e7a271b906291ce28245822820b8
- https://git.kernel.org/stable/c/f6d6223df0666fbc054e3a8c6ac14eb0af37c286
- https://git.kernel.org/stable/c/eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce
ADP enrichment
No English description supplied.
No references supplied.