arch/powerpc/perf/core-book3s.c in the Linux kernel before 5.12.13, on systems with perfeventparanoid=-1 and no specific PMU driver support registered, allows local users to cause a denial of service (perfinstructionpointer NULL pointer dereference and OOPS) via a "perf record" command.