Vulnerability in Linux
CVE-2022-50480
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.002, 5.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions fee10bd2267868f2a3e7ba008ef7665aac5e4412, 5.0, 0
- Linux Kernel
References
- git.kernel.org/stable/c/b37f4a711e5d4bf3608ccbc6de82b52e92b441a0 (Patch)
- git.kernel.org/stable/c/fde46754d5483bc398018bbec3c8ef5c55219e67 (Patch)
- git.kernel.org/stable/c/566b143aa5112a0c2784e20603778518bb799537 (Patch)
- git.kernel.org/stable/c/44db35ceb94756ba513dcf6b69bf9e949b28469c (Patch)
- git.kernel.org/stable/c/49605dc25e7fb33bf8b671279d4468531da90f89 (Patch)
- git.kernel.org/stable/c/61b3c876c1cbdb1efd1f52a1f348580e6e14efb6 (Patch)