Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
- >= 6.18, < 6.18.0-rc1
A vulnerability in the Linux kernel's DAMON subsystem can lead to a memory leak and a NULL pointer dereference. This issue occurs when the 'damon_sysfs_new_test_ctx()' function fails during the 'damon_sysfs_commit_input()' process. In such cases, the 'param_ctx' variable is not properly cleaned up, causing a memory leak. Additionally, a privileged user can exploit this flaw by sending incorrect control sequences, leading to a NULL pointer dereference.
Exploitation of this vulnerability can cause a memory leak and a NULL pointer dereference, which could potentially lead to a system crash or other undefined behavior.
To reproduce this vulnerability, a privileged user can send a sequence of control commands that intentionally cause the 'damon_sysfs_new_test_ctx()' function to fail. This failure will trigger the memory leak and NULL pointer dereference issue.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been addressed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.