Privilege escalation in Linux Kernel
CVE-2022-25636
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.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.026, 85.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
5 public repositories with exploit or proof-of-concept code for this CVE:
- Bonfee/CVE-2022-25636 (439 stars, last pushed 2022-03-07): CVE-2022-25636
- veritas501/CVE-2022-25636-PipeVersion (19 stars, last pushed 2022-04-05): CVE-2022-25636 exploit rewritten with pipe primitive
- chenaotian/CVE-2022-25636 (3 stars, last pushed 2022-03-24): CVE-2022-0185 analysis write up
- Eduardo2221/CVE-2022-25636_COPY-FAIL_ONE-LINE (last pushed 2026-05-05)
- B0nfee/CVE-2022-25636
Also mentioned in 71 other repositories (0xMarcio/cve, 20142995/sectool, Andromeda254/cve, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.openwall.com/lists/oss-security/2022/02/21/2 (Exploit, Mailing List, Third Party Advisory)
- git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/commit/ (Patch, Vendor Advisory)
- [oss-security] 20220222 Re: Linux kernel: heap out of bounds write in nf_dup_netdev.c since 5.4 (mailing-list, Patch, Mailing List, Third Party Advisory)
- DSA-5095 (vendor-advisory, Third Party Advisory)
- www.oracle.com/security-alerts/cpujul2022.html (Patch, Third Party Advisory)
- nickgregory.me/linux/security/2022/03/12/cve-2022-25636/ (Exploit, Third Party Advisory)
- github.com/Bonfee/CVE-2022-25636 (Exploit, Third Party Advisory)
- packetstormsecurity.com/files/166444/Kernel-Live-Patch-Security-Notice-LSN-0085… (VDB Entry, Third Party Advisory)
- security.netapp.com/advisory/ntap-20220325-0002/ (Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.