CVE-2022-50160

Summary

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 Software

VendorProductVersion RangeStatus
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < 995fb2874bb5696357846a91e59181c600e6aac8affected
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < d10855876a6f47add6ff621cef25cc0171dac162affected
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < 80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6faffected
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < 941ef6997f9db704fe4fd62fc01e420fdd5048b2affected
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < d5730780e9ea84e5476752a47c749036c6a74af5affected
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < a74322d4b897ddc268b340c4a397f6066c2f945daffected
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < babd7b0124650ab71a6487e38588b8659b3aa2dcaffected
LinuxLinuxb0afd44bc192ff4c0e90a5fc1724350bcfc32b33 < 77087a04c8fd554134bddcb8a9ff87b21f357926affected
LinuxLinux4.7affected
LinuxLinux0 < 4.7unaffected
LinuxLinux4.14.291 <= 4.14.*unaffected
LinuxLinux4.19.256 <= 4.19.*unaffected
LinuxLinux5.4.211 <= 5.4.*unaffected
LinuxLinux5.10.137 <= 5.10.*unaffected
LinuxLinux5.15.61 <= 5.15.*unaffected
LinuxLinux5.18.18 <= 5.18.*unaffected
LinuxLinux5.19.2 <= 5.19.*unaffected
LinuxLinux6.0 <= *unaffected

Weaknesses

References