Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: mtd: maps: Fix refcount leak in ap_flash_init of_find_matching_node() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before 995fb2874bb5696357846a91e59181c600e6aac8; affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before d10855876a6f47add6ff621cef25cc0171dac162; affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before 80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f; affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before 941ef6997f9db704fe4fd62fc01e420fdd5048b2; affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before d5730780e9ea84e5476752a47c749036c6a74af5; affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before a74322d4b897ddc268b340c4a397f6066c2f945d; affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before babd7b0124650ab71a6487e38588b8659b3aa2dc; affected b0afd44bc192ff4c0e90a5fc1724350bcfc32b33 before 77087a04c8fd554134bddcb8a9ff87b21f357926 |
| Linux / Linux | affected 4.7; unaffected 0 before 4.7; unaffected 4.14.291 through 4.14.*; unaffected 4.19.256 through 4.19.*; unaffected 5.4.211 through 5.4.*; unaffected 5.10.137 through 5.10.*; unaffected 5.15.61 through 5.15.*; unaffected 5.18.18 through 5.18.*; unaffected 5.19.2 through 5.19.*; unaffected 6.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/995fb2874bb5696357846a91e59181c600e6aac8
- https://git.kernel.org/stable/c/d10855876a6f47add6ff621cef25cc0171dac162
- https://git.kernel.org/stable/c/80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f
- https://git.kernel.org/stable/c/941ef6997f9db704fe4fd62fc01e420fdd5048b2
- https://git.kernel.org/stable/c/d5730780e9ea84e5476752a47c749036c6a74af5
- https://git.kernel.org/stable/c/a74322d4b897ddc268b340c4a397f6066c2f945d
- https://git.kernel.org/stable/c/babd7b0124650ab71a6487e38588b8659b3aa2dc
- https://git.kernel.org/stable/c/77087a04c8fd554134bddcb8a9ff87b21f357926