Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2017-8890: Linux kernel inet_csk_clone_lock double free

Published May 10, 2017 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS1.4%74th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendors
Debian ProjectLinux
IdentifiersCVE-2017-8890CWE-415 · Double Free

CVE-2017-8890 is a double-free vulnerability in the Linux kernel's inet_csk_clone_lock function in the IPv4 Internet connection-socket implementation. In affected kernels through 4.10.15, cloning a socket can result in two inet_sock instances referencing the same multicast socket-list object. When one instance frees that shared object, the other retains a dangling reference, creating a use-after-free and subsequent double-free condition reachable through the accept system call.

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.

An attacker can trigger a kernel denial of service through memory corruption and a double free, typically causing a kernel crash. The flaw may also have unspecified additional impact because the dangling-reference condition can permit manipulation of freed kernel heap memory.

Mitigation

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

If immediate upgrade is not possible, restrict access to services that expose the vulnerable accept system call, and limit untrusted user access to the affected system. Monitor for abnormal kernel behavior and crashes as an indicator of exploitation attempts.

Remediation

Patch, then assume compromise.

Upgrade to a vendor-supported Linux kernel release containing the fix for CVE-2017-8890. For Red Hat Enterprise Linux 6, Red Hat addressed the issue in kernel version 2.6.32-754.el6; reboot after installing the updated kernel.

Public exploits

Exploits

1 exploit validated by Mallory's analysis.

View more in app →
huawei-p10-cve-2017-8890-unlockThis repository is a real local Android kernel exploit research project centered on CVE-2017-8890, a Linux IPv4 multicast use-after-free. It is not a scanner or detection script. The main exploit is implemented in exploit/CVE-2017-8890/1003/rootz.c and built with Android NDK files under jni/, while reusable support code lives in utils/ and an offline NVE journal analysis/builder tool lives in tools/p10_nve_journal.py. The exploit is a heavily modified port of androotzf for a single tested target: Huawei P10 VTR-L29C432B151. The code and docs describe a staged chain: trigger the multicast UAF, overlap reclaimed memory with ip_mc_socklist-related structures, force deferred RCU callback execution, execute an AArch64 JOP chain, temporarily redirect ptmx_fops.check_flags, widen the current task address limit to KERNEL_DS, and then use pipe-based primitives for arbitrary kernel read/write. After proving the primitive, the exploit restores the hijacked function pointer, patches current task credentials and SELinux security context for temporary root, and can optionally dump protected partitions or interact with Huawei's NVE subsystem. Capabilities observed in the code and documentation include: local privilege escalation to uid 0 for the exploit process; spawning a root shell via /system/bin/sh; arbitrary kernel memory read/write via pipe abuse; restoration of modified kernel function pointers to reduce instability; optional dumping of boot/recovery and protected partitions such as nvme, misc, oeminfo, and frp; and a guarded persistent stage that uses the legitimate /dev/nve0 ioctl interface to update the USRKEY verifier in Huawei's NVE journal so fastboot will accept a chosen plaintext unlock code. The repository explicitly states this is not a universal unlocker and that the included kernel profile uses absolute addresses for one exact firmware build. Repository structure: README.md, SAFETY.md, SECURITY.md, and docs/*.md provide extensive operational and safety guidance; exploit/CVE-2017-8890/1003/rootz.c and rootz.h contain the exploit logic and target-specific JOP/profile material; utils/*.c and utils/include/*.h provide argument parsing, logging, device inspection, kernel memory helpers, vendor bypass helpers, and legacy shell/reverse-shell support; jni/Android.mk and Application.mk build a static Android executable named rootz; tools/p10_nve_journal.py is a separate read-only offline utility that inspects a copied 6 MiB NVME image and builds a candidate next-generation block containing only a USRKEY change. That Python tool is not itself an exploit; it supports the persistent post-exploitation workflow. Notable targeting details include hardcoded kernel addresses and offsets documented for VTR-L29C432B151, use of ADB for deployment, and reliance on Android procfs/system files for environment checks. The exploit is operational rather than weaponized: it contains a working payload and post-exploitation stages, but they are tightly bound to one device/firmware profile and require manual preparation and operator-supplied parameters.sweatyrocket · Disclosed Jul 30, 2026 · c · python · localOperational
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
Debian ProjectDebian Linuxoperating_system
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2017-8890 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2017-8890 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2017-8890?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2017-8890, the earliest disclosed Jul 30, 2026.
Is there a patch for CVE-2017-8890?
Upgrade to a vendor-supported Linux kernel release containing the fix for CVE-2017-8890. For Red Hat Enterprise Linux 6, Red Hat addressed the issue in kernel version 2.6.32-754.el6; reboot after installing the updated kernel.
What products are affected by CVE-2017-8890?
Linux Kernel and Debian Project Debian Linux.
How severe is CVE-2017-8890?
CVE-2017-8890 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 1.4% (74th percentile) as of Oct 16, 2026.
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.