Linux kernel inet_csk_clone_lock 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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.