soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 0b741b8234c86065fb6954d32d427b3f7e14756f · < 1085f5080647f0c9f357c270a537869191f7f2a1| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs
In brcmstb_pm_probe(), there are two kinds of leak bugs:
(1) we need to add of_node_put() when for_each__matching_node() breaks (2) we need to add iounmap() for each iomap in fail path
From the CVE record · Linux
The Linux kernel’s brcmstb_pm_probe() has a reference-count leak when node iteration ends early and an I/O mapping leak on a failure path. The input does not establish how an attacker could trigger these paths or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels that include the affected brcmstb pm-arm code should check their kernel version; affected versions are not specified.