Advisory Details

January 4th, 2021

Linux Kernel io_uring Use-After-Free Privilege Escalation Vulnerability

ZDI-21-001
ZDI-CAN-11480

CVE ID CVE-2021-20226
CVSS SCORE 8.8, AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
AFFECTED VENDORS Linux
AFFECTED PRODUCTS Kernel
VULNERABILITY DETAILS

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 handling of file descriptors in io_uring. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to escalate privileges and execute code in the context of the kernel.

ADDITIONAL DETAILS

Fixed in version 5.10.2


DISCLOSURE TIMELINE
  • 2020-12-23 - Vulnerability reported to vendor
  • 2021-01-04 - Coordinated public release of advisory
CREDIT Ryota Shiga(@Ga_ryo_) of Flatt Security
BACK TO ADVISORIES