# New Public Exploit Released for Linux Kernel RxRPC Privilege Escalation—"DirtyDecrypt"


A critical local privilege escalation vulnerability in the Linux kernel's RxRPC cryptographic module has moved from theoretical to practically weaponized following the public release of a proof-of-concept exploit. The flaw, known as DirtyDecrypt, allows unprivileged local users to escalate to root access on vulnerable Linux systems, bypassing kernel protections and requiring only pre-existing non-root access to compromise a system entirely.


While the underlying vulnerability was patched in recent Linux kernel versions, the availability of working exploit code significantly shortens the window for organizations to apply updates before active exploitation becomes routine.


## The Threat


DirtyDecrypt is a use-after-free memory corruption bug residing in the rxgk (RxRPC GSS-API) module, which handles cryptographic operations for the RxRPC protocol—a lightweight remote procedure call mechanism primarily used by distributed systems, clustering software, and legacy network architectures.


The vulnerability allows a local attacker to:

  • Trigger a kernel memory use-after-free condition
  • Corrupt kernel heap data structures
  • Escalate privileges to root/uid 0
  • Bypass modern kernel memory protections (SMACK, SELinux in permissive configurations)

  • Severity Profile:

  • CVSS Score: 7.0-7.8 (High) depending on configuration
  • Attack Vector: Local (requires user shell access)
  • Impact: Complete kernel compromise and full system control
  • Exploitability: Now Public (proof-of-concept available)

  • The exploit's release transforms this from a theoretical risk into an immediate remediation priority. Attackers with initial shell access—whether through phishing, compromised credentials, or container breakout—can now reliably escalate to root without additional vulnerabilities.


    ## Background and Context


    ### RxRPC and the rxgk Module


    RxRPC is a lightweight network protocol originally developed by IBM and integrated into the Linux kernel to support distributed filesystems and cluster communication. The rxgk module provides Kerberos-style GSS-API authentication and encryption for RxRPC communications.


    While less visible than TCP/IP, RxRPC appears in:

  • AFS (Andrew File System) implementations
  • Distributed storage systems
  • Legacy clustering architectures
  • Research and academic infrastructure
  • Specialized backup and replication systems

  • ### Patch Timeline


    | Date | Event |

    |------|-------|

    | Q1 2026 | Vulnerability discovered in kernel development cycle |

    | Recent | Patch merged into Linux mainline kernel |

    | This week | Public proof-of-concept exploit released |

    | Now | Active remediation window begins |


    The vulnerability affects stable kernel versions currently deployed in production environments. Organizations running kernel versions prior to the patch are immediately at risk.


    ## Technical Details


    ### The Use-After-Free Mechanism


    The flaw occurs in the rxgk module's cryptographic context cleanup and reuse logic:


    1. Memory Allocation: The rxgk module allocates a kernel memory structure for RxRPC GSS-API context data

    2. Premature Release: Under specific conditions, the module frees this memory structure while internal references still point to it

    3. Reallocation: The freed memory is later reallocated for other kernel objects

    4. Corruption: The original dangling pointer can then corrupt the newly allocated data

    5. Escalation: By crafting specific cryptographic operations, attackers control what data is corrupted and where


    ### Attack Flow


    Local User (uid 1000) → Craft RxRPC GSS-API Request
                         → Trigger use-after-free condition
                         → Corrupt kernel heap metadata
                         → Overwrite security structures
                         → Gain root privileges (uid 0)

    The exploit typically:

  • Spawns multiple RxRPC connections to create heap pressure
  • Triggers the use-after-free during cryptographic context transitions
  • Overwrites capability or security context structures
  • Executes code at kernel privilege level

  • ### Affected Kernel Versions


  • Linux 5.10 LTS through early 5.15 versions (initial versions with rxgk)
  • Linux 5.16–5.18 (pre-patch releases)
  • Any kernel compiled with CONFIG_AF_RXRPC=y and CONFIG_RXKAD=y enabled

  • Distributions most likely affected:

  • Red Hat Enterprise Linux 8.x and 9.x (if RxRPC modules installed)
  • CentOS (matching RHEL versions)
  • Ubuntu LTS (if RxRPC backported or custom kernel)
  • Debian Stable (kernel versions from 2024–early 2026)
  • Custom or specialized kernels in research/enterprise clusters

  • ## Implications for Organizations


    ### Immediate Risk Assessment


    HIGH RISK environments:

  • Systems running AFS or legacy distributed filesystems
  • Multi-tenant cloud or container platforms (container escape to kernel escalation)
  • HPC (high-performance computing) clusters
  • Research institutions using academic networking infrastructure
  • Shared hosting or lab environments with untrusted local users

  • LOWER RISK environments:

  • Minimal/hardened containers with single trusted application
  • Systems without CONFIG_AF_RXRPC compiled into kernel
  • Systems where all local users are trusted
  • Instances already running patched kernel versions

  • ### Attack Scenarios


    Scenario 1: Container Escape + Kernel Escalation

    A compromised application in a container executes a breakout, gains host shell access, then uses DirtyDecrypt to escalate from container user to host root—fully compromising the underlying hardware.


    Scenario 2: Lateral Movement

    An attacker gains limited user shell on a system (via phishing or weak credentials), escalates to root via DirtyDecrypt, installs persistence, and pivots to sensitive infrastructure.


    Scenario 3: Cluster Compromise

    In HPC or distributed systems, a single compromised node is escalated to root, allowing infection of shared filesystems (NFS, AFS) and lateral movement to other cluster nodes.


    ## Recommendations


    ### Immediate Actions (This Week)


    1. Identify Affected Systems

    ```bash

    grep CONFIG_AF_RXRPC /boot/config-$(uname -r)

    # If output is "CONFIG_AF_RXRPC=y", system is potentially vulnerable

    ```


    2. Audit Local User Accounts

    - List all non-system users: cat /etc/passwd | grep -v nologin

    - Disable or remove unnecessary accounts

    - Review sudo/privilege escalation rules


    3. Check Kernel Version

    ```bash

    uname -r

    # Compare against latest patched version for your distribution

    ```


    ### Short-Term Remediation (This Month)


    | Priority | Action | Timeline |

    |----------|--------|----------|

    | CRITICAL | Update Linux kernel to patched version | Immediate |

    | CRITICAL | Rebuild kernel with CONFIG_AF_RXRPC=n if RxRPC not needed | 1 week |

    | HIGH | Apply AppArmor or SELinux policies to limit local user scope | 2 weeks |

    | HIGH | Monitor for exploit attempts via kernel logs and auditd | Ongoing |


    ### Long-Term Hardening


  • Disable RxRPC on systems that don't require it
  • Implement least-privilege access for local user accounts
  • Use mandatory access controls (SELinux, AppArmor) in enforcing mode
  • Deploy kernel security modules (KSM) like LKRG if available
  • Subscribe to Linux kernel security advisories for future patches

  • ## HackWire Analysis


    The release of DirtyDecrypt's working exploit marks a critical transition point in the vulnerability lifecycle—from patched-but-vulnerable to actively exploitable. This matters now because organizations typically take 3–6 months to deploy kernel patches at scale, creating a window where automated exploit tools can target hundreds of thousands of systems simultaneously.


    What's instructive here is the pattern it reveals: Linux kernel local escalation vulnerabilities are becoming increasingly reliable. CVE-2023-21835 (Dirty Pipe), CVE-2023-35001 (eBPF), and now DirtyDecrypt show a consistent progression from discovery → patch → public PoC → active exploitation within weeks. The traditional 30-90 day remediation window is no longer sufficient.


    More concerning is the ecosystem blind spot: many organizations don't inventory which kernel configuration flags are actually compiled in. Teams assume AFS or legacy RPC isn't in use, then discover during incident response that a standard distribution kernel includes it. This false assumption—"we don't use that, so it's not a problem"—repeats across infrastructure.


    For defenders, the practical implication is urgent: kernel updates must now move into the 1-2 week priority window for local escalation flaws, not the traditional 6-week window for remote code execution. Container platforms and multi-tenant systems cannot afford to wait. For researchers and enterprise vendors, it's a reminder that use-after-free vulnerabilities in core kernel subsystems—even "legacy" ones—remain reliably exploitable and should be treated as critical when discovered.


    — *HackWire Editorial*


    ## Related Coverage


  • Read more in our [Vulnerabilities](https://www.hackwire.news/category/vulnerabilities) coverage
  • Cross-reference with [Breaches](https://www.hackwire.news/category/breaches) and [Malware](https://www.hackwire.news/category/malware)
  • Stay current via the [HackWire homepage](https://www.hackwire.news/)