aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorAlexander Antonov <[email protected]>2023-11-27 18:52:45 +0000
committerPeter Zijlstra <[email protected]>2023-11-30 13:29:52 +0000
commit1692cf434ba13ee212495b5af795b6a07e986ce4 (patch)
treeb251ee35f2aae0f02715997111b550d8f158a2c6 /lib/string.c
parentperf/x86/amd: Reject branch stack for IBS events (diff)
downloadkernel-1692cf434ba13ee212495b5af795b6a07e986ce4.tar.gz
kernel-1692cf434ba13ee212495b5af795b6a07e986ce4.zip
perf/x86/intel/uncore: Fix NULL pointer dereference issue in upi_fill_topology()
Get logical socket id instead of physical id in discover_upi_topology() to avoid out-of-bound access on 'upi = &type->topology[nid][idx];' line that leads to NULL pointer dereference in upi_fill_topology() Fixes: f680b6e6062e ("perf/x86/intel/uncore: Enable UPI topology discovery for Icelake Server") Reported-by: Kyle Meyer <[email protected]> Signed-off-by: Alexander Antonov <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Reviewed-by: Kan Liang <[email protected]> Tested-by: Kyle Meyer <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions