Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 96e43537af5461b26f50904c6055046ba65d742f before 81a7b7ddb07efdd8cf30eac6def18b9289b8de1e; affected 96e43537af5461b26f50904c6055046ba65d742f before ec082d0b978b5fb4c11205ccce63587ac94c74e1 |
| Linux / Linux | affected 7.1; unaffected 0 before 7.1; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.