Skip to main content
Mallory
← Back to News
privilege-escalation-techniqueprivilege-escalation-methodendpoint-software-vulnerabilityproof-of-concept-release

Linux Kernel Research Demonstrates Root Escalation and Hardened Container Escape

Attack Tradecraft · 2 sources · Updated 2d ago · First seen Jan 25, 2022

Linux Kernel Research Demonstrates Root Escalation and Hardened Container Escape

Crusaders of Rust researchers disclosed CVE-2022-0185, a Linux kernel heap overflow discovered through syzkaller fuzzing, and developed exploits for Ubuntu local privilege escalation and escape from Google’s hardened Kubernetes CTF environment. Their disclosure identified kernels starting with version 5.1 as affected and stated that patches were available when the research was published. Google awarded a $31,337 bounty. The researchers also acknowledged that a StarLabs researcher had independently discovered the flaw earlier; these were research demonstrations, not reports of malicious exploitation.

Separate research on the corCTF “Wall of Perdition” challenge demonstrated how a use-after-free in a deliberately vulnerable Netfilter-based firewall module could yield root privileges despite FGKASLR, SMEP, SMAP, and allocator hardening. Corrupting System V message-queue msg_msg metadata enabled memory disclosure and arbitrary memory operations, ultimately allowing credential modification. The technique required MSG_COPY support through CONFIG_CHECKPOINT_RESTORE for safe reads of corrupted messages. Together, the findings illustrate that kernel hardening and container isolation do not eliminate the impact of exploitable kernel memory corruption. Defenders should verify that applicable CVE-2022-0185 fixes are deployed across Linux hosts and container nodes; the separate CTF module flaw should not be mistaken for a vulnerability in standard Netfilter.

Why it matters

Linux hosts and container nodes running kernels vulnerable to CVE-2022-0185 face potential root compromise and loss of container isolation; researchers demonstrated Ubuntu privilege escalation and escape from Google's hardened Kubernetes CTF infrastructure. Separate corCTF research achieved root through a deliberately vulnerable custom firewall module despite multiple kernel hardening controls, but does not establish a standard Netfilter vulnerability. These are historical research demonstrations, not reports of malicious exploitation, and the supplied evidence does not quantify present-day exposure. CVE research · CTF research

  • Industry-specific impact is not established. Google's CTF environment is an exploitation test target, not evidence of a production-sector incident or industry-specific targeting. Reference
  • Geography-specific impact is not established. Neither reference identifies affected populations, operational locations, or geographic targeting. CVE research · CTF research
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

9 events · 2021
  1. Reported Jan 25, 20225y ago

    Google awards researchers a $31,337 bounty despite discovery collision

    Google awarded the team a $31,337 bounty for its submission despite the earlier independent discovery by StarLabs. The author attributed the award to the team's being first to properly report and disclose the vulnerability.

    Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
  2. Reported Jan 25, 20225y ago

    Linux kernel heap overflow receives a patch

    CVE-2022-0185 was patched by the time the researchers' write-up was released. The supplied content does not specify the patch date or fixed kernel versions.

    Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
  3. Reported Jan 25, 20225y ago

    Researchers disclose CVE-2022-0185 to Linux security and distribution lists

    The team reported the vulnerability to the Linux security and distribution mailing lists. The author states that the team was first to properly report and disclose the flaw despite the independent earlier discovery.

    Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
  4. Reported Jan 25, 20225y ago

    CVE-2022-0185 exploit escapes Google's hardened kCTF containers

    The researchers rewrote their exploit to escape containers and obtain root on Google's hardened Kubernetes CTF infrastructure.

    Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
  5. Reported Jan 25, 20225y ago

    Researchers develop an Ubuntu privilege-escalation exploit

    The team turned CVE-2022-0185 into an Ubuntu local privilege-escalation exploit. Its work included porting the exploit to Ubuntu 20.04.

    Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
  6. Reported Jan 25, 20225y ago

    Crusaders of Rust discovers Linux kernel heap overflow through fuzzing

    Crusaders of Rust members discovered the heap overflow later assigned CVE-2022-0185 using syzkaller and private fuzzing infrastructure. The write-up states that the flaw affects Linux kernels since version 5.1.

    Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
  7. Reported Jan 25, 20225y ago

    StarLabs researcher independently discovers the CVE-2022-0185 flaw first

    StarLabs researcher n0psledbyte independently found the same Linux kernel vulnerability before the Crusaders of Rust team. The team learned of this discovery during its disclosure process.

    Will's Root: CVE-2022-0185 - Winning a $31337 Bounty after Pwning Ubuntu and Escaping Google's KCTF Containers
  8. Reported Aug 27, 20215y ago

    Wall of Perdition write-up demonstrates msg_msg exploitation to gain root

    The author detailed how a use-after-free write in the challenge's firewall module could corrupt System V message objects to obtain arbitrary read, free, and write primitives. The exploit bypassed the challenge's kernel hardening and overwrote process credentials to gain root.

    [corCTF 2021] Wall Of Perdition: Utilizing msg_msg Objects For Arbitrary Read And Arbitrary Write In The Linux Kernel
  9. 2021

    Wall of Perdition kernel exploitation challenge goes unsolved at corCTF 2021

    FizzBuzz101 and the author created Wall of Perdition, a Linux kernel exploitation challenge involving a vulnerable NetFilter firewall module. The challenge remained unsolved during the competition.

    [corCTF 2021] Wall Of Perdition: Utilizing msg_msg Objects For Arbitrary Read And Arbitrary Write In The Linux Kernel
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Linux Kernel
Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.