The Linux kernel has a vulnerability in the kernel/events/core.c:perf_cpu_time_max_percent_handler() function which local privileged users could exploit to cause a denial of service due to integer overflow or possibly have unspecified other impact. References: https://marc.info/?l=linux-kernel&m=148782918310003 An upstream Patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1572e45a924f254d9570093abde46430c3172e3d
Notes: This flaw is exploitable by the privileged user (the real "root") only and not from namespaces: # ls -l /proc/sys/kernel/perf_cpu_time_max_percent -rw-r--r-- 1 root root 0 Apr 4 18:52 /proc/sys/kernel/perf_cpu_time_max_percent $ unshare -U -r # echo 30 > /proc/sys/kernel/perf_cpu_time_max_percent -bash: /proc/sys/kernel/perf_cpu_time_max_percent: Permission denied