Researchers at Northwestern University have discovered a vulnerability in the Linux kernel that has existed since the release of kernel version 5.8. Abuse of this vulnerability can lead to full root access for an unprivileged user and revolves around manipulating kernel heap memory reuse mechanisms.
The name DirtyCred (CVE-2021-4154) is a reference to a 2016 Linux Kernel vulnerability called Dirty Cow (CVE-2016-5195), and the more recent Dirty Pipe (CVE-2022-0847) vulnerability based on their similarities.
Originally announced in a talk at the BlackHat conference this year, the researchers had this to say about their DirtyCred discovery:
“First, rather than tying to a specific vulnerability, this exploitation method allows any vulnerabilities with double-free ability to demonstrate dirty-pipe-like ability. Second, while it is like the dirty pipe that could bypass all the kernel protections, our exploitation method could even demonstrate the ability to escape the container actively that dirty pipe is not capable of.”