History

Merge tag 'perf-urgent-2026-07-11' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

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

Linus Torvalds committed 4 months ago

Commit cab9e332 parents b37fa0d 47915e84 files · +17 −10Browse files

Showing the changes to kernel (1 of 4 files). Show all

Unified · Split

kernel/events/core.c+2−0
@@ -7150,6 +7150,8 @@ static int map_range(struct perf_buffer *rb, struct vm_area_struct *vma) · 7149 unmodified lines
71507150 int err = 0;
71517151 unsigned long pagenum;
71527152
7153+ guard(mutex)(&rb->aux_mutex);
7154+
71537155 /*
71547156 * We map this as a VM_PFNMAP VMA.
71557157 *