Bug 2347745 (CVE-2022-49716) - CVE-2022-49716 kernel: irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions
Summary: CVE-2022-49716 kernel: irqchip/gic-v3: Fix error handling in gic_populate_ppi...
Keywords:
Status: NEW
Alias: CVE-2022-49716
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:05 UTC by OSIDB Bzimport
Modified: 2025-02-27 09:27 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:05:17 UTC
In the Linux kernel, the following vulnerability has been resolved:

irqchip/gic-v3: Fix error handling in gic_populate_ppi_partitions

of_get_child_by_name() returns a node pointer with refcount
incremented, we should use of_node_put() on it when not need anymore.
When kcalloc fails, it missing of_node_put() and results in refcount
leak. Fix this by goto out_put_node label.

Comment 1 Avinash Hanwate 2025-02-26 19:35:52 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022631-CVE-2022-49716-7528@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.