Files
android_kernel_fxtec_sm6115/kernel
Thomas Gleixner 896ce6d150 perf/core: Don't leak AUX buffer refcount on allocation failure
commit 5468c0fbccbb9d156522c50832244a8b722374fb upstream.

Failure of the AUX buffer allocation leaks the reference count.

Set the reference count to 1 only when the allocation succeeds.

Fixes: 45bfb2e504 ("perf/core: Add AUX area to ring buffer for raw data streams")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ulrich Hecht <uli@kernel.org>
2025-09-16 13:55:13 +02:00
..
2024-07-05 09:00:29 +02:00
2025-04-04 11:11:29 +02:00
2023-12-20 15:38:01 +01:00
2025-07-17 10:08:05 +02:00
2021-02-10 09:21:06 +01:00
2020-03-25 08:06:13 +01:00
2024-11-08 16:19:12 +01:00
2021-02-07 14:48:38 +01:00