CVE-2022-49442

drivers/base/node.c: fix compaction sysfs file leak

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:12 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.35 ≤ v < 4.14.2832.6.35 ≤ v < 4.19.2472.6.35 ≤ v < 4.9.3182.6.35 ≤ v < 5.10.1212.6.35 ≤ v < 5.15.462.6.35 ≤ v < 5.17.142.6.35 ≤ v < 5.18.32.6.35 ≤ v < 5.192.6.35 ≤ v < 5.4.1984.10 ≤ v < 4.14.2834.15 ≤ v < 4.19.2474.20 ≤ v < 5.4.1985.11 ≤ v < 5.15.465.16 ≤ v < 5.17.145.18 ≤ v < 5.18.35.5 ≤ v < 5.10.1212.6.35ed4a6d7f0676db50b5023cc01f6cda82a2f2a307
Vendor states this is fixed in 386e69e068177ee91cac27f2f0e6ebda1515f5ca (fixed)
Vendor states this is fixed in 39642b0feddb9c39faa6de469a94bfeb4dc0d3a9 (fixed)
Vendor states this is fixed in 466134df7561aeb801baddf6666b512e0e1a1707 (fixed)
Vendor states this is fixed in 606732650a2c88e66c59c22dd5464ea0d820250e (fixed)
Vendor states this is fixed in 6905be93d1ab54f73718047536fec0ca488d5315 (fixed)
Vendor states this is fixed in b3fcf1f583b1a0946d9d9bfb7362c9c186801775 (fixed)
Vendor states this is fixed in d8a5bdc767f17281da648555cdbd286f98fd98ee (fixed)
Vendor states this is fixed in da63dc84befaa9e6079a0bc363ff0eaa975f9073 (fixed)
Vendor states this is fixed in f76ddc8fcf6d81fe89bfa4d3efcbc4fe69a91d48 (fixed)
Vendor states this is fixed in 2.6.35 (unaffected)
Vendor states this is fixed in 4.14.283 (unaffected)
Vendor states this is fixed in 4.19.247 (unaffected)
Vendor states this is fixed in 4.9.318 (unaffected)
Vendor states this is fixed in 5.10.121 (unaffected)
Vendor states this is fixed in 5.15.46 (unaffected)
Vendor states this is fixed in 5.17.14 (unaffected)
Vendor states this is fixed in 5.18.3 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.198 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/386e69e068177ee91cac27f2f0e6ebda1515f5ca
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/39642b0feddb9c39faa6de469a94bfeb4dc0d3a9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/466134df7561aeb801baddf6666b512e0e1a1707
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/606732650a2c88e66c59c22dd5464ea0d820250e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6905be93d1ab54f73718047536fec0ca488d5315
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b3fcf1f583b1a0946d9d9bfb7362c9c186801775
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d8a5bdc767f17281da648555cdbd286f98fd98ee
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/da63dc84befaa9e6079a0bc363ff0eaa975f9073

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card