VYPR
Unrated severityNVD Advisory· Published Oct 4, 2025

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

CVE-2022-50480

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

124

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.