Bug 2401467 (CVE-2022-50480) - CVE-2022-50480 kernel: memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()
Summary: CVE-2022-50480 kernel: memory: pl353-smc: Fix refcount leak bug in pl353_smc_...
Keywords:
Status: NEW
Alias: CVE-2022-50480
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-10-04 16:01 UTC by OSIDB Bzimport
Modified: 2025-11-26 12:01 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-10-04 16:01:59 UTC
In the Linux kernel, the following vulnerability has been resolved:

memory: pl353-smc: Fix refcount leak bug in pl353_smc_probe()

The break of for_each_available_child_of_node() needs a
corresponding of_node_put() when the reference 'child' is not
used anymore. Here we do not need to call of_node_put() in
fail path as '!match' means no break.

While the of_platform_device_create() will created a new
reference by 'child' but it has considered the refcounting.


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