Linux Kernel Performance Counters Race Condition Privilege Escalation Vulnerability

ID ZDI-20-1372
Type zdi
Reporter Ryota Shiga(@Ga_ryo_) of Flatt Security
Modified 2020-11-26T00:00:00


This vulnerability allows local attackers to escalate privileges on affected installations of Linux Kernel. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability. The specific flaw exists within the implementation of performance counters. The issue results from the lack of proper locking when performing operations on an object. An attacker can leverage this vulnerability to escalate privileges and execute code in the context of the kernel.