Linux Kernel Compaction Sysfs File Leak Vulnerability

Vulnerability

A vulnerability in the Linux kernel's handling of sysfs files related to memory compaction has been identified. The issue arises because the compaction sysfs file, created when a node is registered for compaction, is not removed when the node is unregistered. This oversight leads to a leak of the compaction sysfs file.

Impact

The vulnerability causes a memory leak by failing to properly unregister the compaction sysfs file, which can lead to increased memory usage over time.

Remediation

The vulnerability has been addressed by modifying the unregister_node function to properly remove the compaction sysfs file, preventing the leak.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.