Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A memory leak vulnerability has been identified in the OCFS2 file system component of the Linux kernel. This issue arises in the 'ocfs2_mount_volume' function, where the 'replay_map' memory is not properly freed under certain error conditions. Specifically, if 'ocfs2_truncate_log_init' fails or if 'd_make_root' returns an error during the volume mounting process, the allocated memory for 'replay_map' remains unreferenced, leading to a memory leak. The problem has been documented by 'kmemleak', which reported an unreferenced object associated with the OCFS2 mounting process.
The vulnerability causes a memory leak, where allocated memory is not properly released, potentially leading to increased memory usage and exhaustion over time.
The vulnerability can be reproduced by mounting an OCFS2 volume in a way that triggers an error during the initialization process. This can be done by simulating a failure in the 'ocfs2_truncate_log_init' function or by causing 'd_make_root' to return an error, both of which will result in the 'replay_map' memory not being freed as intended.
The vulnerability has been addressed in the Linux kernel. Users can upgrade to the latest version of the stable Linux kernel to apply the fix.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.