Linux Kernel up to 5.18.2 drivers/base/node.c compaction_register_node memory leak

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 identified as critical has been detected in Linux Kernel up to 5.18.2. This vulnerability affects the function compaction_register_node of the file drivers/base/node.c. The manipulation leads to memory leak. This vulnerability is uniquely identified as CVE-2022-49442. No exploit exists. You should upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in Linux Kernel up to 5.18.2. This issue affects the function compaction_register_node of the file drivers/base/node.c. The manipulation with an unknown input leads to a memory leak vulnerability. Using CWE to declare the problem leads to CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. Impacted is availability. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: drivers/base/node.c: fix compaction sysfs file leak Compaction sysfs file is created via compaction_register_node in register_node. But we forgot to remove it in unregister_node. Thus compaction sysfs file is leaked. Using compaction_unregister_node to fix this issue.

It is possible to read the advisory at git.kernel.org. The identification of this vulnerability is CVE-2022-49442 since 02/26/2025. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability scanner Nessus provides a plugin with the ID 237099 (SUSE SLES12 Security Update : kernel (SUSE-SU-2025:01600-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.9.318, 4.14.283, 4.19.247, 5.4.198, 5.10.121, 5.15.46, 5.17.14 or 5.18.3 eliminates this vulnerability. Applying the patch 39642b0feddb9c39faa6de469a94bfeb4dc0d3a9/606732650a2c88e66c59c22dd5464ea0d820250e/f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48/386e69e068177ee91cac27f2f0e6ebda1515f5ca/d8a5bdc767f17281da648555cdbd286f98fd98ee/b3fcf1f583b1a0946d9d9bfb7362c9c186801775/466134df7561aeb801baddf6666b512e0e1a1707/6905be93d1ab54f73718047536fec0ca488d5315/da63dc84befaa9e6079a0bc363ff0eaa975f9073 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 Tenable (237099). Be aware that VulDB is the high quality source for vulnerability data.

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: Memory leak
CWE: CWE-401 / CWE-404
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

Nessus ID: 237099
Nessus Name: SUSE SLES12 Security Update : kernel (SUSE-SU-2025:01600-1)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.9.318/4.14.283/4.19.247/5.4.198/5.10.121/5.15.46/5.17.14/5.18.3
Patch: 39642b0feddb9c39faa6de469a94bfeb4dc0d3a9/606732650a2c88e66c59c22dd5464ea0d820250e/f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48/386e69e068177ee91cac27f2f0e6ebda1515f5ca/d8a5bdc767f17281da648555cdbd286f98fd98ee/b3fcf1f583b1a0946d9d9bfb7362c9c186801775/466134df7561aeb801baddf6666b512e0e1a1707/6905be93d1ab54f73718047536fec0ca488d5315/da63dc84befaa9e6079a0bc363ff0eaa975f9073

Timelineinfo

02/26/2025 🔍
02/26/2025 +0 days 🔍
02/26/2025 +0 days 🔍
10/23/2025 +238 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49442 (🔍)
GCVE (CVE): GCVE-0-2022-49442
GCVE (VulDB): GCVE-100-297047

Entryinfo

Created: 02/26/2025 09:59
Updated: 10/23/2025 01:02
Changes: 02/26/2025 09:59 (59), 05/23/2025 07:07 (2), 10/23/2025 01:02 (11)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Might our Artificial Intelligence support you?

Check our Alexa App!