CVE-2022-50161

MEDIUM EPSS 5.2%
Published Jun 18, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Jun 18, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

Description

In the Linux kernel, the following vulnerability has been resolved: mtd: maps: Fix refcount leak in of_flash_probe_versatile of_find_matching_node_and_match() 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.

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
5.2% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Affected Products 7

VendorProductVersionRange
linuxlinux_kernel*≥4.7  –  <4.14.291
linuxlinux_kernel*≥4.15  –  <4.19.256
linuxlinux_kernel*≥4.20  –  <5.4.211
linuxlinux_kernel*≥5.5  –  <5.10.137
linuxlinux_kernel*≥5.11  –  <5.15.61
linuxlinux_kernel*≥5.16  –  <5.18.18
linuxlinux_kernel*≥5.19  –  <5.19.2

References 8

  • git.kernel.org https://git.kernel.org/stable/c/33ec82a6d2b119938f26e5c8040ed5d92378eb54
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3c8de6a838b7e0eb392754ac89dd66e698684342
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4d67c8f74d804b20febf716ec96e9a475457ec60
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/52ae2b14f76ef2d490337ddc0037bc37125be7b8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5d5ddd8771fa9cabeb247fba5f6ab60d63f3fbce
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/79e57889aa0d92a6d769bad808fb105e7b6ea495
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/9124d51e01232a91da4034768a2a8d1688472179
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/f516fbb63873ee23cba5b7c3d239677c30f13df8
    Patch

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/33ec82a6d2b119938f26e5c8040ed5d92378eb54
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/3c8de6a838b7e0eb392754ac89dd66e698684342
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/4d67c8f74d804b20febf716ec96e9a475457ec60
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/52ae2b14f76ef2d490337ddc0037bc37125be7b8
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/5d5ddd8771fa9cabeb247fba5f6ab60d63f3fbce
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/79e57889aa0d92a6d769bad808fb105e7b6ea495
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/9124d51e01232a91da4034768a2a8d1688472179
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/f516fbb63873ee23cba5b7c3d239677c30f13df8
    Patch