7.8
CWE
415 416
Advisory Published
CVE Published
Updated

CVE-2017-6074: Double Free

First published: Fri Feb 17 2017(Updated: )

A flaw was found in the linux kernels implementation of DCCP protocol in which a local user could create influence timing in which a skbuff could be used after it had been freed by the kernel. An attacker is able to craft structures allocated in this free memory will be able to create memory corruption, privilege escalation or crash the system. An attacker must have a local account access on the system, this is not a remote attack. An attack requires IPV6 support to be enabled in the system. Initial message: <a href="https://groups.google.com/forum/#!topic/syzkaller/_vGUxJLcdKY">https://groups.google.com/forum/#!topic/syzkaller/_vGUxJLcdKY</a> Proposed patch: <a href="https://patchwork.ozlabs.org/patch/728808/">https://patchwork.ozlabs.org/patch/728808/</a>

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
redhat/kernel<0:2.6.18-419.el5
0:2.6.18-419.el5
redhat/kernel<0:2.6.18-238.58.1.el5
0:2.6.18-238.58.1.el5
redhat/kernel<0:2.6.18-348.33.1.el5
0:2.6.18-348.33.1.el5
redhat/kernel<0:2.6.32-642.13.2.el6
0:2.6.32-642.13.2.el6
redhat/kernel<0:2.6.32-220.70.1.el6
0:2.6.32-220.70.1.el6
redhat/kernel<0:2.6.32-358.77.1.el6
0:2.6.32-358.77.1.el6
redhat/kernel<0:2.6.32-431.78.1.el6
0:2.6.32-431.78.1.el6
redhat/kernel<0:2.6.32-504.57.1.el6
0:2.6.32-504.57.1.el6
redhat/kernel<0:2.6.32-573.40.1.el6
0:2.6.32-573.40.1.el6
redhat/kernel-rt<0:3.10.0-514.6.1.rt56.430.el7
0:3.10.0-514.6.1.rt56.430.el7
redhat/kernel<0:3.10.0-514.6.2.el7
0:3.10.0-514.6.2.el7
redhat/kernel<0:3.10.0-229.49.1.ael7b
0:3.10.0-229.49.1.ael7b
redhat/kernel<0:3.10.0-327.49.2.el7
0:3.10.0-327.49.2.el7
redhat/kernel-rt<1:3.10.0-514.rt56.219.el6
1:3.10.0-514.rt56.219.el6
redhat/rhev-hypervisor7<0:7.3-20170425.0.el6e
0:7.3-20170425.0.el6e
redhat/rhev-hypervisor7<0:7.3-20170425.0.el7e
0:7.3-20170425.0.el7e
Android
Linux Kernel<3.2.86
Linux Kernel>=3.3<3.10.106
Linux Kernel>=3.11<3.12.71
Linux Kernel>=3.13<3.16.41
Linux Kernel>=3.17<3.18.49
Linux Kernel>=3.19<4.1.41
Linux Kernel>=4.2<4.4.52
Linux Kernel>=4.5<4.9.13
Debian Linux=8.0
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.135-1
6.12.22-1
6.12.25-1

Remedy

Recent versions of the SELinux policy can mitigate this flaw. The steps below will work with SELinux enabled or disabled. As the DCCP module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions: # echo "install dccp /bin/true" >> /etc/modprobe.d/disable-dccp.conf The system will need to be restarted if the DCCP modules are loaded. In most circumstances, the DCCP kernel modules will be unable to be unloaded while any network interfaces are active and the protocol is in use. If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.

Remedy

Blacklist the dccp ipv[46] autoloading aliases by adding the following lines to /etc/modprobe.d/blacklist-dccp.conf: alias net-pf-2-proto-0-type-6 off alias net-pf-2-proto-33-type-6 off alias net-pf-10-proto-0-type-6 off alias net-pf-10-proto-33-type-6 off

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2017-6074?

    CVE-2017-6074 has been classified as a high severity vulnerability due to potential local privilege escalation.

  • How do I fix CVE-2017-6074?

    To remediate CVE-2017-6074, upgrade your kernel to a version that is not affected, such as the patched versions provided by Red Hat or Debian.

  • What versions are affected by CVE-2017-6074?

    CVE-2017-6074 affects various kernel versions, including older releases of Red Hat and Debian kernels prior to the security patches.

  • Who can be impacted by CVE-2017-6074?

    Any local user on affected systems can exploit CVE-2017-6074 to perform actions that may lead to privilege escalation.

  • Is CVE-2017-6074 specific to certain distributions?

    Yes, CVE-2017-6074 primarily affects certain versions of the Red Hat kernel and Linux distributions that utilize vulnerable kernel versions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203