CVE-2022-50160

Source
https://cve.org/CVERecord?id=CVE-2022-50160
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50160.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-50160
Downstream
Related
Published
2025-06-18T11:03:16.447Z
Modified
2026-03-20T12:24:55.938870Z
Summary
mtd: maps: Fix refcount leak in ap_flash_init
Details

In the Linux kernel, the following vulnerability has been resolved:

mtd: maps: Fix refcount leak in apflashinit

offindmatchingnode() returns a node pointer with refcount incremented, we should use ofnodeput() on it when not need anymore. Add missing ofnode_put() to avoid refcount leak.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50160.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
b0afd44bc192ff4c0e90a5fc1724350bcfc32b33
Fixed
995fb2874bb5696357846a91e59181c600e6aac8
Fixed
d10855876a6f47add6ff621cef25cc0171dac162
Fixed
80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f
Fixed
941ef6997f9db704fe4fd62fc01e420fdd5048b2
Fixed
d5730780e9ea84e5476752a47c749036c6a74af5
Fixed
a74322d4b897ddc268b340c4a397f6066c2f945d
Fixed
babd7b0124650ab71a6487e38588b8659b3aa2dc
Fixed
77087a04c8fd554134bddcb8a9ff87b21f357926

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-50160.json"