In the Linux kernel, the following vulnerability has been resolved:
memory: of: Fix refcount leak bug in of_lpddr3_get_ddr_timings()
We should add the of_node_put() when breaking out of for_each_child_of_node() as it will automatically increase and decrease the refcount.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 5.5 | 5.10.150 |
| linux / linux_kernel | 5.11 | 5.15.75 |
| linux / linux_kernel | 5.16 | 5.19.17 |
| linux / linux_kernel | 6.0 | 6.0.3 |