CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's tracing subsystem, specifically in the trace_remote_alloc_buffer() function, where a failure in page allocation can lead to memory leaks due to improper handling of the rb_desc structure. This can result in resource exhaustion over time, potentially impacting system performance and stability. Linux administrators and developers should prioritize this issue to ensure efficient memory management and prevent potential denial-of-service conditions.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: tracing/remotes: Fix leak in trace_remote_alloc_buffer() error path If page allocation fails in trace_remote_alloc_buffer(), desc->nr_cpus is not yet incremented for the current CPU. As a consequence, on error, half-allocated rb_desc will not be freed in trace_remote_free_buffer(). Increment desc->nr_cpus as soon as the first allocation for the current CPU has succeeded.