CVE-2022-25636

HIGH

Linux Kernel 5.4-5.6.10 - Privilege Escalation via nf_dup_netdev Heap Out-of-Bounds Write

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 4 public exploits for CVE-2022-25636. PoCs published by Bonfee, veritas501, chenaotian.

AI-analyzed exploit summary This is a functional exploit for CVE-2022-25636, targeting a heap-based out-of-bounds write vulnerability in the Linux kernel's nf_tables subsystem. It uses a combination of heap spraying, memory corruption, and ROP to achieve local privilege escalation.

Description

net/netfilter/nf_dup_netdev.c in the Linux kernel 5.4 through 5.6.10 allows local users to gain privileges because of a heap out-of-bounds write. This is related to nf_tables_offload.

Exploits (4)

nomisec WORKING POC 435 stars
by Bonfee · poc
https://github.com/Bonfee/CVE-2022-25636

This is a functional exploit for CVE-2022-25636, targeting a heap-based out-of-bounds write vulnerability in the Linux kernel's nf_tables subsystem. It uses a combination of heap spraying, memory corruption, and ROP to achieve local privilege escalation.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel 5.13.0-30 (Ubuntu 21.10)
No auth needed
Prerequisites: Access to a vulnerable Linux kernel version · Ability to execute code on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 20 stars
by veritas501 · poc
https://github.com/veritas501/CVE-2022-25636-PipeVersion

This is a functional exploit for CVE-2022-25636, leveraging a pipe-primitive technique to achieve local privilege escalation (LPE) by overwriting /usr/bin/mount with a SUID shell. It bypasses KASLR, SMAP, SMEP, and KPTI without requiring additional leaks or bypasses.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux kernel (specific version affected by CVE-2022-25636)
No auth needed
Prerequisites: Local access to the vulnerable system · Compilation environment with required libraries (libnftnl, libmnl)
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC 3 stars
by chenaotian · poc
https://github.com/chenaotian/CVE-2022-25636

This repository contains a proof-of-concept exploit for CVE-2022-25636, a heap out-of-bounds write vulnerability in the Linux kernel's netfilter module. The exploit demonstrates local privilege escalation by leveraging the vulnerability to achieve arbitrary kernel memory writes, with a success rate of less than 50%.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Complex
Reliability
Racy
Target: Linux kernel 5.4 and later
Auth required
Prerequisites: SYS_ADMIN capability · Linux kernel 5.4 or later · netfilter modules loaded
devstral-2 · analyzed Feb 16, 2026 Full analysis →
nomisec WORKING POC
by Eduardo2221 · poc
https://github.com/Eduardo2221/CVE-2022-25636_COPY-FAIL_ONE-LINE

This repository contains a functional exploit for CVE-2022-25636, a Netfilter heap overflow vulnerability in Linux kernels 5.4 to 5.16.10. The exploit leverages socket operations and memory manipulation to achieve local privilege escalation (LPE).

Classification
Working Poc 90%
Attack Type
Lpe
Complexity
Complex
Reliability
Reliable
Target: Linux Kernel 5.4 to 5.16.10
No auth needed
Prerequisites: Linux kernel version between 5.4 and 5.16.10 · Local access to the target system
devstral-2 · analyzed May 19, 2026 Full analysis →

References (9)

Core 9
Core References
Exploit, Mailing List, Third Party Advisory x_refsource_misc
https://www.openwall.com/lists/oss-security/2022/02/21/2
Mailing List, Patch, Third Party Advisory mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2022/02/22/1
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2022/dsa-5095
Patch, Third Party Advisory x_refsource_misc
https://www.oracle.com/security-alerts/cpujul2022.html
Exploit, Third Party Advisory x_refsource_misc
https://nickgregory.me/linux/security/2022/03/12/cve-2022-25636/
Exploit, Third Party Advisory x_refsource_misc
https://github.com/Bonfee/CVE-2022-25636
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20220325-0002/

Scores

CVSS v3 7.8
EPSS 0.0263
EPSS Percentile 83.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-269
Status published
Products (13)
debian/debian_linux 11.0
linux/linux_kernel 5.4 - 5.4.182
netapp/h300e
netapp/h300s
netapp/h410c
netapp/h410s
netapp/h500e
netapp/h500s
netapp/h700e
netapp/h700s
... and 3 more
Published Feb 24, 2022
Tracked Since Feb 18, 2026