Linux Kernel up to 5.19.1 mtd of_find_matching_node_and_match reference count

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.5$0-$5k0.00

Summaryinfo

A vulnerability marked as critical has been reported in Linux Kernel up to 5.19.1. Affected by this issue is the function of_find_matching_node_and_match of the component mtd. Performing a manipulation results in reference count. This vulnerability is cataloged as CVE-2022-50161. There is no exploit available. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in Linux Kernel up to 5.19.1. This affects the function of_find_matching_node_and_match of the component mtd. The manipulation with an unknown input leads to a reference count vulnerability. CWE is classifying the issue as CWE-911. The product uses a reference count to manage a resource, but it does not update or incorrectly updates the reference count. This is going to have an impact on availability. The summary by CVE is:

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.

The advisory is shared at git.kernel.org. This vulnerability is uniquely identified as CVE-2022-50161 since 06/18/2025. Technical details are known, but no exploit is available.

Upgrading to version 4.14.291, 4.19.256, 5.4.211, 5.10.137, 5.15.61, 5.18.18 or 5.19.2 eliminates this vulnerability. Applying the patch 3c8de6a838b7e0eb392754ac89dd66e698684342/79e57889aa0d92a6d769bad808fb105e7b6ea495/9124d51e01232a91da4034768a2a8d1688472179/52ae2b14f76ef2d490337ddc0037bc37125be7b8/4d67c8f74d804b20febf716ec96e9a475457ec60/5d5ddd8771fa9cabeb247fba5f6ab60d63f3fbce/f516fbb63873ee23cba5b7c3d239677c30f13df8/33ec82a6d2b119938f26e5c8040ed5d92378eb54 is able to eliminate this problem. The bugfix is ready for download at git.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-1350). If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • Open Source Linux Kernel
  • RESF Rocky Linux
  • Dell Avamar
  • Dell NetWorker
  • Dell Secure Connect Gateway
  • IBM QRadar SIEM

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.6
VulDB Meta Temp Score: 5.5

VulDB Base Score: 5.7
VulDB Temp Score: 5.5
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Reference count
CWE: CWE-911 / CWE-664
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 4.14.291/4.19.256/5.4.211/5.10.137/5.15.61/5.18.18/5.19.2
Patch: 3c8de6a838b7e0eb392754ac89dd66e698684342/79e57889aa0d92a6d769bad808fb105e7b6ea495/9124d51e01232a91da4034768a2a8d1688472179/52ae2b14f76ef2d490337ddc0037bc37125be7b8/4d67c8f74d804b20febf716ec96e9a475457ec60/5d5ddd8771fa9cabeb247fba5f6ab60d63f3fbce/f516fbb63873ee23cba5b7c3d239677c30f13df8/33ec82a6d2b119938f26e5c8040ed5d92378eb54

Timelineinfo

06/18/2025 Advisory disclosed
06/18/2025 +0 days CVE reserved
06/18/2025 +0 days VulDB entry created
12/01/2025 +166 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-50161 (🔒)
GCVE (CVE): GCVE-0-2022-50161
GCVE (VulDB): GCVE-100-313149
CERT Bund: WID-SEC-2025-1350 - Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service

Entryinfo

Created: 06/18/2025 15:27
Updated: 12/01/2025 06:53
Changes: 06/18/2025 15:27 (59), 10/19/2025 20:53 (7), 11/18/2025 23:27 (11), 12/01/2025 06:53 (1)
Complete: 🔍
Cache ID: 216::103

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Interested in the pricing of exploits?

See the underground prices here!