Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-15649 EUVD-2017-7100GHSA-wjx2-qc46-g62h

net/packet/af_packet.c in the Linux kernel before 4.13.6 allows local users to gain privileges via crafted system calls that trigger mishan…

Published Oct 19, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

net/packet/af_packet.c in the Linux kernel before 4.13.6 allows local users to gain privileges via crafted system calls that trigger mishandling of packet_fanout data structures, because of a race condition (involving fanout_add and packet_do_bind) that leads to a use-after-free, a different vulnerability than CVE-2017-6346.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.13.10-1 —
Debian 13 linux 4.13.10-1 —
Debian 12 linux 4.13.10-1 —
Debian 7 linux 3.2.96-1 DLA-1200-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +3 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-101.124 USN-3485-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1041.50 USN-3485-1
Ubuntu 16.04 LTS linux-azure 4.13.0-1005.7 —
Ubuntu 16.04 LTS linux-gcp 4.13.0-1002.5 —
Ubuntu 16.04 LTS linux-gke 4.4.0-1034.34 USN-3485-1
Ubuntu 16.04 LTS linux-hwe 4.13.0-32.35~16.04.1 —
Ubuntu 16.04 LTS linux-kvm 4.4.0-1010.15 USN-3485-1
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1077.85 USN-3485-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1079.84 USN-3485-1
Ubuntu 14.04 LTS linux 3.13.0-157.207 USN-3754-1
Ubuntu 14.04 LTS linux-aws 4.4.0-1003.3 USN-3485-3
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-101.124~14.04.1 USN-3485-2
ReleasePackageFixed inAdvisory
RHEL 7 kernel-rt +10 3.10.0-693.17.1.rt56.636.el7 RHSA-2018:0152
RHEL 7 perf +18 3.10.0-693.17.1.el7 RHSA-2018:0151
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat MRG 2 kernel-rt +10 1:3.10.0-693.17.1.rt56.604.el6rt RHSA-2018:0181
ReleasePackageFixed inAdvisory
SLES 12 SP3 kernel-docs 4.4.92-6.18.3 SUSE-SU-2017:2847-1
SLES 12 SP3 kernel-syms +3 4.4.92-6.18.1 SUSE-SU-2017:2847-1
SLES 12 SP2 kernel-docs 4.4.90-92.45.3 SUSE-SU-2017:2869-1
SLES 12 SP2 kernel-syms +3 4.4.90-92.45.1 SUSE-SU-2017:2869-1
SLES 12 SP1 kernel-xen +3 3.12.74-60.64.63.1 SUSE-SU-2017:2908-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_10 11-2.1 SUSE-SU-2017:3124-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_11 10-2.1 SUSE-SU-2017:3147-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_12 9-2.1 SUSE-SU-2017:3131-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_13 8-2.1 SUSE-SU-2017:3118-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_14 7-2.1 SUSE-SU-2017:3127-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_15 +1 6-2.1 SUSE-SU-2017:3153-1, SUSE-SU-2017:3145-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_17 5-2.1 SUSE-SU-2017:3150-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_18 +2 4-2.1 SUSE-SU-2017:3157-1, SUSE-SU-2017:3152-1, SUSE-SU-2017:3148-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_21 3-2.1 SUSE-SU-2017:3158-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_22 1-2.1 SUSE-SU-2017:2908-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_9 12-2.1 SUSE-SU-2017:3130-1
SLES 12 kernel-ec2 +4 3.12.61-52.101.1 SUSE-SU-2017:2920-1, SUSE-SU-2017:2908-1
SLES 12 kgraft-patch-SLE12_Update_17 +1 10-2.1 SUSE-SU-2017:3151-1, SUSE-SU-2017:3117-1
SLES 12 kgraft-patch-SLE12_Update_19 9-2.1 SUSE-SU-2017:3154-1
SLES 12 kgraft-patch-SLE12_Update_20 7-2.1 SUSE-SU-2017:3160-1
SLES 12 kgraft-patch-SLE12_Update_21 +1 6-2.1 SUSE-SU-2017:3149-1, SUSE-SU-2017:3146-1
SLES 12 kgraft-patch-SLE12_Update_23 5-2.1 SUSE-SU-2017:3103-1
SLES 12 kgraft-patch-SLE12_Update_24 +2 4-2.1 SUSE-SU-2017:3125-1, SUSE-SU-2017:3123-1, SUSE-SU-2017:3119-1
SLES 12 kgraft-patch-SLE12_Update_27 3-2.1 SUSE-SU-2017:3132-1
SLES 12 kgraft-patch-SLE12_Update_28 1-8.1 SUSE-SU-2017:3307-1, SUSE-SU-2017:2920-1
SLES 12 kgraft-patch-SLE12_Update_29 +3 2-2.1 SUSE-SU-2018:0664-1, SUSE-SU-2018:0562-1, SUSE-SU-2018:0233-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 kernel-syms +2 4.4.92-6.18.1 SUSE-SU-2017:2847-1
SLES for SAP 12 SP2 kernel-syms +2 4.4.90-92.45.1 SUSE-SU-2017:2869-1
SLES for SAP 12 SP1 kernel-xen +3 3.12.74-60.64.63.1 SUSE-SU-2017:2908-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_10 11-2.1 SUSE-SU-2017:3124-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_11 10-2.1 SUSE-SU-2017:3147-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_12 9-2.1 SUSE-SU-2017:3131-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_13 8-2.1 SUSE-SU-2017:3118-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_14 7-2.1 SUSE-SU-2017:3127-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_15 +1 6-2.1 SUSE-SU-2017:3153-1, SUSE-SU-2017:3145-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_17 5-2.1 SUSE-SU-2017:3150-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_18 +2 4-2.1 SUSE-SU-2017:3157-1, SUSE-SU-2017:3152-1, SUSE-SU-2017:3148-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_21 3-2.1 SUSE-SU-2017:3158-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_22 1-2.1 SUSE-SU-2017:2908-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_9 12-2.1 SUSE-SU-2017:3130-1
SLE Real Time 12 SP2 kernel-rt +3 4.4.95-21.1 SUSE-SU-2017:3267-1
SLE Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_1 3-2.1 SUSE-SU-2017:3072-1
SLE Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_2 +1 2-2.1 SUSE-SU-2017:3076-1, SUSE-SU-2017:3074-1
SLE Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_4 1-4.3 SUSE-SU-2017:2847-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_11 +1 4-2.1 SUSE-SU-2017:3128-1, SUSE-SU-2017:3122-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_13 3-2.1 SUSE-SU-2017:3120-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_14 1-2.4 SUSE-SU-2017:2869-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_2 +2 10-2.1 SUSE-SU-2017:3156-1, SUSE-SU-2017:3136-1, SUSE-SU-2017:3134-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_5 8-2.1 SUSE-SU-2017:3159-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_6 7-2.1 SUSE-SU-2017:3139-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_7 +1 6-2.1 SUSE-SU-2017:3129-1, SUSE-SU-2017:3121-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_9 +1 5-2.1 SUSE-SU-2017:3126-1, SUSE-SU-2017:3116-1
SUSE OpenStack Cloud 6 kernel-xen +3 3.12.74-60.64.63.1 SUSE-SU-2017:2908-1
SUSE OpenStack Cloud 6 kgraft-patch-SLE12-SP1_Update_22 1-2.1 SUSE-SU-2017:2908-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 kernel-uek +5 4.1.12-103.10.1.el7uek ELSA-2017-3651
Oracle Linux 7 perf +11 3.10.0-693.17.1.el7 ELSA-2018-0151

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 50

References