Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2022-0435: Remote stack buffer overflow in Linux kernel TIPC

Published Mar 25, 2022 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS6.4%94th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Red HatFedora ProjectNetAppLinuxOvirt
IdentifiersCVE-2022-0435CWE-121

CVE-2022-0435 is a stack-based buffer overflow in the Linux kernel's Transparent Inter-Process Communication (TIPC) networking implementation, present since Linux 4.8. A crafted TIPC packet declaring more than the permitted 64 domain-member nodes can overflow a stack buffer. An attacker with access to the TIPC network can trigger a kernel panic and potentially execute code or escalate privileges, depending on kernel hardening. Stricter FORTIFY_SOURCE memcpy() bounds checking turns the overflow into a kernel panic; without those checks, code execution may be possible if stack-canary protection can be bypassed or is disabled.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can crash the entire host through a kernel panic, disrupting all hosted services. On kernels without the stricter copy bounds checks, exploitation may permit arbitrary code execution in kernel context and privilege escalation, potentially compromising system confidentiality, integrity, and availability. Code execution additionally depends on overcoming stack-canary protection when enabled.

Mitigation

If you can’t patch tonight, do this now.

Disable TIPC and prevent its kernel module from loading when the protocol is unnecessary. If the module is already loaded and cannot be safely unloaded because TIPC is active, restart the system after configuring module-load prevention. Where TIPC is required, restrict network access to trusted nodes and encrypt and authenticate inter-node communications using TIPC encryption or transport protections such as IPsec or MACsec. FORTIFY_SOURCE bounds checking limits the documented exploitation outcome to a kernel panic but does not prevent denial of service.

Remediation

Patch, then assume compromise.

Install the distribution-supported kernel or kernel-rt update addressing CVE-2022-0435 and reboot into the fixed kernel. Applicable Red Hat fixes include kernel 4.18.0-348.20.1.el8_5 under RHSA-2022:0825, 4.18.0-305.40.1.el8_4 under RHSA-2022:0777, and 4.18.0-193.80.1.el8_2 under RHSA-2022:1213, or later supported fixed builds. Supported deployments may alternatively apply the matching Red Hat kpatch-patch update, such as RHSA-2022:0849, RHSA-2022:0772, or RHSA-2022:1186, to patch the running kernel without a conventional reboot. Use the advisory appropriate to the installed product, architecture, and support stream.

Public exploits

Exploits

2 exploits validated by Mallory's analysis.

View more in app →
CVE-2022-0435-PocRepository contains a working local Linux kernel privilege-escalation exploit for CVE-2022-0435 (TIPC stack overflow) with KASLR support. Structure: - README.md: Environment/setup steps (Ubuntu 22.04.5 ISO, install and boot kernel 5.13.0-051300-generic, load TIPC module, run leak.py to obtain kernel base, then run exploit with that base). Claims successful root. - exploit.c: Main exploit. It enables TIPC UDP media via generic netlink (AF_NETLINK/NETLINK_GENERIC), sets up a TIPC link over UDP (port 6118), constructs a crafted payload that triggers the vulnerable TIPC stack overflow, and uses a kernel ROP chain to call commit_creds(init_cred) to become root. It supports KASLR by taking a leaked kernel base address as argv[1] and computing KASLR_SLIDE = leaked_base - 0xffffffff81000000, then adding the slide to hardcoded symbol/gadget offsets (specific to kernel 5.13.0-generic). After sending the overflow trigger, it runs system("/bin/sh"). - leak.py: Helper that (via sudo) extracts the address of _stext from /proc/kallsyms to provide the kernel base for the exploit. Key capabilities: - KASLR bypass (assumes kallsyms readable with sudo) and dynamic relocation of ROP chain. - Kernel ROP chain for privilege escalation (commit_creds(init_cred)). - Network-facing component is local TIPC-over-UDP traffic generation to the host (TIPC bearer), not a remote exploit as written; it requires local privileges to configure TIPC and to obtain the leak. Notable constraints/assumptions: - Hardcoded offsets/gadgets are kernel-version dependent; README and comments indicate kernel 5.13.0-generic. - Requires TIPC module/bearer enabled and sufficient privileges (sudo) to configure TIPC and read kallsyms in the provided workflow.Spydomain · Disclosed Feb 2, 2026 · c · python · local (Linux kernel privilege escalation) via TIPC/Netlink configuration and crafted TIPC UDP traffic triggering stack overflow; uses KASLR bypass via leaked _stext from /proc/kallsymsOperationalCVE-2022-0435Repository contains a single C exploit (exploit.c) plus minimal metadata (.gitignore, LICENSE, README.md). The code is an operational local privilege escalation exploit for CVE-2022-0435 (Linux kernel TIPC stack overflow). It creates a UDP socket and targets the TIPC-over-UDP listener on 127.0.0.1:6118, first sending a discovery/link setup packet and then sending crafted records intended to trigger a stack overflow in the TIPC protocol handling. Key capabilities implemented in exploit.c: - Local TIPC link setup over UDP loopback (no external network targeting). - KASLR bypass via a local info leak (function get_kernel_addresses() is present but truncated in the provided content), then computes kernel symbol/gadget addresses using hardcoded offsets (commit_creds, prepare_kernel_cred, pop rdi/rsi, swapgs, iretq). - Builds a kernel ROP chain to elevate privileges (prepare_kernel_cred(0) -> commit_creds()) and return safely to userland. - Uses Linux namespaces and writes to /proc/self/{uid_map,setgroups,gid_map} to prepare the environment; also runs system commands to load the tipc module and bring loopback up. - After triggering, it waits briefly and attempts to spawn a root shell (get_root_shell()). Overall purpose: provide a standalone PoC/operational exploit for local root on vulnerable Linux kernels by exploiting the TIPC stack overflow via localhost UDP traffic.sandesh9978 · Disclosed Mar 5, 2026 · c · local (kernel LPE via TIPC over UDP loopback/localhost)Operational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Fedora ProjectFedoraoperating_system
LinuxLinux Kerneloperating_system
NetAppH300e Firmwareoperating_system
NetAppH300s Firmwareoperating_system
NetAppH410s Firmwareoperating_system
NetAppH500e Firmwareoperating_system
NetAppH500s Firmwareoperating_system
NetAppH700e Firmwareoperating_system
NetAppH700s Firmwareoperating_system
OvirtNodeoperating_system
Red HatCodeready Linux Builder Eusapplication
Red HatCodeready Linux Builder Eus For Power Little Endianapplication
Red HatCodeready Linux Builder For Power Little Endian Eusapplication
Red HatEnterprise Linux Eusoperating_system
Red HatEnterprise Linux For Ibm Z Systemsoperating_system
Red HatEnterprise Linux For Ibm Z Systems Eusoperating_system
Red HatEnterprise Linux For Power Little Endianoperating_system
Red HatEnterprise Linux For Power Little Endian Eusoperating_system
Red HatEnterprise Linux For Real Timeoperating_system
Red HatEnterprise Linux For Real Time For Nfvoperating_system
Red HatEnterprise Linux For Real Time For Nfv Tusoperating_system
Red HatEnterprise Linux For Real Time Tusoperating_system
Red HatEnterprise Linux Server Ausoperating_system
Red HatEnterprise Linux Server For Power Little Endian Update Services For Sap Solutionsoperating_system
Red HatEnterprise Linux Server Tusoperating_system
Red HatEnterprise Linux Server Update Services For Sap Solutionsoperating_system
Red HatEnterprise Virtualizationapplication
Red HatRed Hat Codeready Linux Builderapplication
Red HatRed Hat Enterprise Linuxoperating_system
Red HatVirtualization Hostapplication
FAQ

Frequently asked questions

Is CVE-2022-0435 exploited in the wild?
As of Oct 25, 2026, Mallory has no reports of CVE-2022-0435 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2022-0435?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2022-0435, the earliest disclosed Feb 2, 2026.
Is there a patch for CVE-2022-0435?
Install the distribution-supported kernel or kernel-rt update addressing CVE-2022-0435 and reboot into the fixed kernel. Applicable Red Hat fixes include kernel 4.18.0-348.20.1.el8_5 under RHSA-2022:0825, 4.18.0-305.40.1.el8_4 under RHSA-2022:0777, and 4.18.0-193.80.1.el8_2 under RHSA-2022:1213, or later supported fixed builds.
What products are affected by CVE-2022-0435?
Linux Kernel, Ovirt Node, Red Hat Codeready Linux Builder Eus, Red Hat Codeready Linux Builder Eus For Power Little Endian, Red Hat Codeready Linux Builder For Power Little Endian Eus, and at least 25 more.
How severe is CVE-2022-0435?
CVE-2022-0435 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 6.4% (94th percentile) as of Oct 25, 2026.
Activity feed

Recent activity

18 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+14 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.