Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/7043mcgeep/cve-2017-8890-msf
Exploit FrameworksVulnerability AnalysisExploitationBinary Exploitation
GitHub7043mcgeep/cve-2017-8890-msf

cve-2017-8890-msf

For Metasploit pull request

View Repository
1367 years agoNot yet reviewed
Share

Module: Phoenix Talon CVE 2017-8890

This may resolve issue #8571, which requests Phoenix Talon modules.

Overview of 2017-8890

This CVE:

  • is the most serious member of the Phoenix Talon class of Linux kernel vulnerabilities. No POC of this CVE exists in the Exploit DB. But other public POC's are available.
  • is not very well-documented. But here's a short explanation to give you a general understanding of the vulnerability.
  • exists in all kernel versions through 4.10.15, although some sources say it exists through 4.11. See the patch commit here.
  • is the result of a flaw in the kernel's IPv4 stack (specifically, multicast).

On the target machine, a double-free is triggered due to the kernel keeping an extra copy of mc_list at accept() time.

Pseudocode with explanations:

A machine running a kernel 4.10.15 and under is at risk if it is running the following routine:

sockfd = socket(AF_INET, xx, IPPROTO_TCP);
setsockopt(sockfd, SOL_IP, MCAST_JOIN_GROUP, xxxx, xxxx);
bind(sockfd, xxxx, xxxx);
listen(sockfd, xxxx);
newsockfd = accept(sockfd, xxxx, xxxx);
close(newsockfd);  // trigger release calls, handoff to RCU
sleep(5);          // wait for rcu to free()
close(sockfd);     // second free()

The parent socket, sockfd, is created. It is added to the multicast group with option MCAST_JOIN_GROUP. In adding the socket to the multicast group on the local interface, the kernel allocates memory. At this point, mc_list exists in the parent socket.

After an address is assigned to the socket with bind(), listen() for the connection and accept(). accept() creates a new socket, newsockfd, to which all necessary fields of the parent are copied, including the value of the mc_list pointer. At this point, there are multiple pointers pointing to the same block of memory, hence the double free.

When the connection is established, the kernel creates a child socket that inherits the mc_list object of the parent socket. This inheritence flaw is in the inet_csk_clone_lock in line 648 of file net/ipv4/inet_connection_sock.c. View the patch to see the one-line fix for this unintended inheritence.

Next, close the child socket. As explained above, this does not release the mc_list object. It goes through the RCU (remote-copy-update) structure to release memory. sleep() for a few seconds to make sure the RCU handoff has enough time to call kfree(). Finally, close the parent socket, which will trigger the second free.

The Module

Simple DoS. Remotely trigger double-free on known target machine running the requesite server routine (explained above). This causes a kernel panic.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    871
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    548
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    383
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    361
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    305
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    280

Explore all tools

Browse our collection of tools

View all tools →