Description
The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate certain block-size data, which allows local users to cause a denial of service (integer signedness error and out-of-bounds write), or gain privileges (if the CAP_NET_RAW capability is held), via crafted system calls.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.9.18-1 | — |
| Debian 13 | linux | 4.9.18-1 | — |
| Debian 12 | linux | 4.9.18-1 | — |
| Debian 7 | linux | 3.2.88-1 | DLA-922-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux | 4.4.0-72.93 | USN-3256-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1013.22 | USN-3256-1 |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1010.10 | USN-3256-1 |
| Ubuntu 16.04 LTS | linux-hwe | 4.8.0-46.49~16.04.1 | USN-3256-2 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1052.59 | USN-3256-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1055.59 | USN-3256-1 |
| Ubuntu 14.04 LTS | linux | 3.13.0-116.163 | USN-3256-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-72.93~14.04.1 | USN-3256-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-514.21.1.rt56.438.el7 | RHSA-2017:1298 |
| RHEL 7 | perf +18 | 3.10.0-514.21.1.el7 | RHSA-2017:1308 |
| RHEL 6 | perf +16 | 2.6.32-754.el6 | RHSA-2018:1854 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-514.rt56.221.el6rt | RHSA-2017:1297 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP2 | kernel-default +1 | 4.4.59-92.17.3 | SUSE-SU-2017:1183-1 |
| SLES 12 SP2 | kernel-docs | 4.4.59-92.17.8 | SUSE-SU-2017:1183-1 |
| SLES 12 SP2 | kernel-syms +1 | 4.4.59-92.17.2 | SUSE-SU-2017:1183-1 |
| SLES 12 SP1 | kernel-docs | 3.12.74-60.64.40.4 | SUSE-SU-2017:1360-1 |
| SLES 12 SP1 | kernel-xen +4 | 3.12.74-60.64.40.1 | SUSE-SU-2017:1360-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.72.1 | SUSE-SU-2017:1360-1, SUSE-SU-2017:1247-1 |
| SLES 12 | kgraft-patch-SLE12_Update_13 +2 | 9-2.1 | SUSE-SU-2017:1300-1, SUSE-SU-2017:1299-1, SUSE-SU-2017:1285-1 |
| SLES 12 | kgraft-patch-SLE12_Update_16 | 6-2.1 | SUSE-SU-2017:1291-1 |
| SLES 12 | kgraft-patch-SLE12_Update_17 +1 | 5-2.1 | SUSE-SU-2017:1287-1, SUSE-SU-2017:1278-1 |
| SLES 12 | kgraft-patch-SLE12_Update_19 | 4-2.1 | SUSE-SU-2017:1302-1 |
| SLES 12 | kgraft-patch-SLE12_Update_20 | 2-4.1 | SUSE-SU-2017:1281-1 |
| SLES 12 | kgraft-patch-SLE12_Update_21 | 1-2.1 | SUSE-SU-2017:1247-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-100.2 | SUSE-SU-2017:1301-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP2 | kernel-default | 4.4.59-92.17.3 | SUSE-SU-2017:1183-1 |
| SLES for SAP 12 SP2 | kernel-syms +1 | 4.4.59-92.17.2 | SUSE-SU-2017:1183-1 |
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.74-60.64.40.1 | SUSE-SU-2017:1360-1 |
| SLES for SAP 12 | kernel-xen +3 | 3.12.61-52.72.1 | SUSE-SU-2017:1247-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_13 +2 | 9-2.1 | SUSE-SU-2017:1300-1, SUSE-SU-2017:1299-1, SUSE-SU-2017:1285-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_16 | 6-2.1 | SUSE-SU-2017:1291-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_17 +1 | 5-2.1 | SUSE-SU-2017:1287-1, SUSE-SU-2017:1278-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_19 | 4-2.1 | SUSE-SU-2017:1302-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_20 | 2-4.1 | SUSE-SU-2017:1281-1 |
| SLES for SAP 12 | kgraft-patch-SLE12_Update_21 | 1-2.1 | SUSE-SU-2017:1247-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-100.1 | SUSE-SU-2017:1301-1 |
| SLE Real Time 12 SP2 | kernel-rt +3 | 4.4.74-7.10.1 | SUSE-SU-2017:1990-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-69.5.1 | SUSE-SU-2017:2342-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_12 | 4-2.1 | SUSE-SU-2017:1294-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_15 | 1-4.1 | SUSE-SU-2017:1360-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_5 +1 | 10-2.1 | SUSE-SU-2017:1293-1, SUSE-SU-2017:1064-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_7 | 9-2.1 | SUSE-SU-2017:1284-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_8 | 8-2.1 | SUSE-SU-2017:1288-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP1_Update_9 | 7-2.1 | SUSE-SU-2017:1297-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_0 | 6-17.2 | SUSE-SU-2017:1303-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_1 +1 | 6-2.1 | SUSE-SU-2017:1289-1, SUSE-SU-2017:1279-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_2 +3 | 5-2.1 | SUSE-SU-2017:1295-1, SUSE-SU-2017:1290-1, SUSE-SU-2017:1277-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_5 +1 | 3-2.1 | SUSE-SU-2017:1283-1, SUSE-SU-2017:1280-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_6 +1 | 2-2.1 | SUSE-SU-2017:1308-1, SUSE-SU-2017:1059-1 |
| SLE Live Patching 12 | kgraft-patch-SLE12-SP2_Update_7 | 1-2.3 | SUSE-SU-2017:1183-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.18.4.el6uek | 0.4.5-3.el6 | ELSA-2017-3580 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.18.4.el7uek | 0.4.5-3.el7 | ELSA-2017-3580 |
| Oracle Linux 7 | dtrace-modules-4.1.12-94.3.6.el6uek | 0.6.0-4.el6 | ELSA-2017-3579 |
| Oracle Linux 7 | dtrace-modules-4.1.12-94.3.6.el7uek | 0.6.0-4.el7 | ELSA-2017-3579 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.18.4.el7uek | ELSA-2017-3580, ELSA-2017-3579 |
| Oracle Linux 7 | perf +11 | 3.10.0-514.21.1.el7 | ELSA-2017-1308 |
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.
Metasploit 1 module
-
AF_PACKET packet_set_ring Privilege Escalation
exploit/linux/local/af_packet_packet_set_ring_priv_esc
Exploit-DB 3
- Linux Kernel 4.8.0-34 < 4.8.0-45 (Ubuntu / Linux Mint) - Packet Socket Local Privilege Escalation EDB-47168 · local · Dec 29, 2018
- Linux 4.8.0 < 4.8.0-46 - AF_PACKET packet_set_ring Privilege Escalation (Metasploit) EDB-44654 · local · May 18, 2018 · verified
- Linux Kernel 4.8.0-41-generic (Ubuntu) - Packet Socket Local Privilege Escalation EDB-41994 · local · May 11, 2017 · verified
GitHub 2 repositories
-
WhatsWrongAndWhy/CVE-2017-7308 ★ 0 · Jul 21, 2026
-
anldori/CVE-2017-7308 ★ 0 · Jan 9, 2023
CVE-2017-7308 POC
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 42
- RHSA-2018:1854 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:1308 Red Hat Security Advisory: kernel security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2017:1298 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2017:1297 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3256-1 linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon, linux-ti-omap4 vulnerability Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-922-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3256-2 linux-hwe, linux-lts-trusty, linux-lts-xenial vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:1280-1 Security update for Linux Kernel Live Patch 13 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1064-1 Security update for Linux Kernel Live Patch 5 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1183-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1247-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1281-1 Security update for Linux Kernel Live Patch 20 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2525-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1299-1 Security update for Linux Kernel Live Patch 13 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1277-1 Security update for Linux Kernel Live Patch 2 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1288-1 Security update for Linux Kernel Live Patch 8 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1283-1 Security update for Linux Kernel Live Patch 5 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1060-1 Security update for Linux Kernel Live Patch 3 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1284-1 Security update for Linux Kernel Live Patch 7 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1300-1 Security update for Linux Kernel Live Patch 15 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1303-1 Security update for Linux Kernel Live Patch 0 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1289-1 Security update for Linux Kernel Live Patch 10 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1290-1 Security update for Linux Kernel Live Patch 11 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1297-1 Security update for Linux Kernel Live Patch 9 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1293-1 Security update for Linux Kernel Live Patch 6 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1360-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1285-1 Security update for Linux Kernel Live Patch 14 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1308-1 Security update for Linux Kernel Live Patch 6 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1295-1 Security update for Linux Kernel Live Patch 4 for SLE 12 SP2 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1287-1 Security update for Linux Kernel Live Patch 18 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1302-1 Security update for Linux Kernel Live Patch 19 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1291-1 Security update for Linux Kernel Live Patch 16 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1059-1 Security update for Linux Kernel Live Patch 14 for SLE 12 SP1 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1278-1 Security update for Linux Kernel Live Patch 17 for SLE 12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1301-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:1294-1 Security update for Linux Kernel Live Patch 12 for SLE 12 SP1 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:1279-1 Security update for Linux Kernel Live Patch 1 for SLE 12 SP2 SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:1990-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- SUSE-SU-2017:2342-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2017-3580 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 1, 2017
- ELSA-2017-3579 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Jun 1, 2017
- ELSA-2017-1308 Important: kernel security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · May 26, 2017
References
- RHSA-2017:1308 vendor-advisory
- https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html
- https://source.android.com/security/bulletin/2017-07-01
- RHSA-2018:1854 vendor-advisory
- 97234 vdb-entry
- https://patchwork.ozlabs.org/patch/744812/
- 41994 exploit
- https://patchwork.ozlabs.org/patch/744813/
- 44654 exploit
- https://patchwork.ozlabs.org/patch/744811/
- RHSA-2017:1298 vendor-advisory
- RHSA-2017:1297 vendor-advisory