Pull perf events fixes from Ingo Molnar: - Fix SVM #GP on AMD CPUs that LBR but not BRS (Sandipan Das) - Fix UAF bug in the perf AUX code (Lee Jia Jie) - Fix address leakage in the AMD LBR code (Sandipan Das) - Fix address leakage in the AMD BRS code (Sandipan Das) * tag 'perf-urgent-2026-07-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: perf/x86/amd/brs: Fix kernel address leakage perf/x86/amd/lbr: Fix kernel address leakage perf/aux: Fix page UAF in map_range() perf/x86/amd/core: Avoid enabling BRS from the SVM reload path
Showing the changes to kernel (1 of 4 files). Show all
Unified · Split
| @@ -7150,6 +7150,8 @@ static int map_range(struct perf_buffer *rb, struct vm_area_struct *vma) · 7149 unmodified lines | ||
| 7150 | 7150 | int err = 0; |
| 7151 | 7151 | unsigned long pagenum; |
| 7152 | 7152 | |
| 7153 | + guard(mutex)(&rb->aux_mutex); | |
| 7154 | + | |
| 7153 | 7155 | /* |
| 7154 | 7156 | * We map this as a VM_PFNMAP VMA. |
| 7155 | 7157 | * |