CVEvulnerability
CVE-2022-50160
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-06-18
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Description
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 configurations
• linux linux kernel (>= 4.7 < 4.14.291)
• linux linux kernel (>= 4.15 < 4.19.256)
• linux linux kernel (>= 4.20 < 5.4.211)
• linux linux kernel (>= 5.5 < 5.10.137)
• linux linux kernel (>= 5.11 < 5.15.61)
• linux linux kernel (>= 5.16 < 5.18.18)
• linux linux kernel (>= 5.19 < 5.19.2)
References
- https://git.kernel.org/stable/c/77087a04c8fd554134bddcb8a9ff87b21f357926 Patch
- https://git.kernel.org/stable/c/80b1465b2ae81ebb59bbe62bcb7a7f7d4e9ece6f Patch
- https://git.kernel.org/stable/c/941ef6997f9db704fe4fd62fc01e420fdd5048b2 Patch
- https://git.kernel.org/stable/c/995fb2874bb5696357846a91e59181c600e6aac8 Patch
- https://git.kernel.org/stable/c/a74322d4b897ddc268b340c4a397f6066c2f945d Patch
- https://git.kernel.org/stable/c/babd7b0124650ab71a6487e38588b8659b3aa2dc Patch
- https://git.kernel.org/stable/c/d10855876a6f47add6ff621cef25cc0171dac162 Patch
- https://git.kernel.org/stable/c/d5730780e9ea84e5476752a47c749036c6a74af5 Patch