5.5medium
irqchip/realtek-rtl: Fix refcount leak in map_interrupts
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before e85b1b797de0e7a271b906291ce28245822820b8, from 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before f6d6223df0666fbc054e3a8c6ac14eb0af37c286, from 9f3a0f34b84ad1b9a8f2bdae44b66f16685b2143 before eff4780f83d0ae3e5b6c02ff5d999dc4c1c5c8ce, 5.12 Not affected: before 5.12, from 5.15.49 up to 5.15.*, from 5.18.6 up to 5.18.*, from 5.19 up to * | CVE List |
| linux linux_kernel | from 5.12 before 5.15.49, from 5.16 before 5.18.6, 5.19 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: irqchip/realtek-rtl: Se ha corregido la pérdida de refcount en map_interrupts of_find_node_by_phandle() devuelve un puntero de nodo con refcount incrementado, deberíamos usar of_node_put() en él cuando ya no sea necesario. Esta función no llama a of_node_put() en la ruta de error. Llame a of_node_put() directamente después de of_property_read_u32() para cubrir tanto la ruta normal como la ruta de error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-49714 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2022-49714 changed 2026-06-17 | Public domain |