CVE-2017-7308 in the critical feed json
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 dat…
published 2017-03-29 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-16335
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 17.8%
- EPSS 17.8% chance of exploitation in 30 days, percentile 97%
- public exploits
- 4
- Metasploit, Exploit-DB
Summary
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.
Patch / fix
- linux linux_kernel 3.2.89, 3.10.107, 3.12.74, 3.16.44, 3.18.52, 4.1.41, 4.4.66, 4.9.26, 4.10.14
- linux Debian 14, Debian 13, Debian 12 4.9.18-1
debian advisories DEBIAN-CVE-2017-7308
- linux Ubuntu 14.04 LTS 3.13.0-116.163
- linux Ubuntu 16.04 LTS 4.4.0-72.93
- linux-aws Ubuntu 16.04 LTS 4.4.0-1013.22
- linux-gke Ubuntu 16.04 LTS 4.4.0-1010.10
- linux-hwe Ubuntu 16.04 LTS 4.8.0-46.49~16.04.1
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1052.59
- linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-72.93~14.04.1
- linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1055.59
ubuntu advisories UBUNTU-CVE-2017-7308
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 6 2.6.32-754.el6
- perf RHEL 6 2.6.32-754.el6
- python-perf RHEL 6 2.6.32-754.el6
- kernel-kdump RHEL 6 2.6.32-754.el6
- kernel-firmware RHEL 6 2.6.32-754.el6
- kernel-bootwrapper RHEL 6 2.6.32-754.el6
- kernel-abi-whitelists RHEL 6 2.6.32-754.el6
- kernel-debuginfo-common-i686 RHEL 6 2.6.32-754.el6
red hat advisories RHSA-2018:1854RHSA-2017:1308RHSA-2017:1297RHSA-2017:1298
- kernel-ec2 SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-pae SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-syms SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-trace SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-source SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-default SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-rt SLE Real Time 11 SP4 3.0.101.rt130-69.5.1
suse advisories SUSE-SU-2017:2525-1SUSE-SU-2017:2342-1SUSE-SU-2017:1990-1SUSE-SU-2017:1360-1SUSE-SU-2017:1308-1SUSE-SU-2017:1303-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-7308 updated cvss 7.0
kernel: net/packet: overflow in check for priv area size
-
Red Hat Enterprise Linux Client (v. 7) perf 3.10.0-514.21.1.el7, kernel 3.10.0-514.21.1.el7, python-perf 3.10.0-514.21.1.el7, kernel-tools 3.10.0-514.21.1.el7, kernel-tools-libs 3.10.0-514.21.1.el7, kernel-abi-whitelists 3.10.0-514.21.1.el7, +1 more Red Hat Enterprise Linux Client Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-514.21.1.el7 Red Hat Enterprise Linux ComputeNode (v. 7) perf 3.10.0-514.21.1.el7, kernel 3.10.0-514.21.1.el7, python-perf 3.10.0-514.21.1.el7, kernel-tools 3.10.0-514.21.1.el7, kernel-tools-libs 3.10.0-514.21.1.el7, kernel-abi-whitelists 3.10.0-514.21.1.el7, +1 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-514.21.1.el7fixed: vendor fix RHSA-2017:1308
-
Red Hat Enterprise Linux Desktop (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux for Real Time for NFV (v. 7) kernel-rt 3.10.0-514.21.1.rt56.438.el7, kernel-rt-kvm 3.10.0-514.21.1.rt56.438.el7, kernel-rt-trace 3.10.0-514.21.1.rt56.438.el7, kernel-rt-debug-kvm 3.10.0-514.21.1.rt56.438.el7, kernel-rt-trace-kvm 3.10.0-514.21.1.rt56.438.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-514.21.1.rt56.438.el7fixed: vendor fix RHSA-2017:1298
-
Red Hat Enterprise Linux HPC Node (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Realtime (v. 7) kernel-rt 3.10.0-514.21.1.rt56.438.el7, kernel-rt-trace 3.10.0-514.21.1.rt56.438.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-514.21.1.rt56.438.el7fixed: vendor fix RHSA-2017:1298
-
Red Hat Enterprise Linux Server (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-kdump 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-bootwrapper 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, +4 morefixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Server (v. 7) perf 3.10.0-514.21.1.el7, kernel 3.10.0-514.21.1.el7, python-perf 3.10.0-514.21.1.el7, kernel-kdump 3.10.0-514.21.1.el7, kernel-tools 3.10.0-514.21.1.el7, kernel-tools-libs 3.10.0-514.21.1.el7, +6 morefixed: vendor fix RHSA-2017:1308
-
Red Hat Enterprise Linux Server Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-ppc64 2.6.32-754.el6, kernel-debuginfo-common-s390x 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
show 7 moreshow fewer
-
Red Hat Enterprise Linux Server Optional (v. 7) kernel-debuginfo-common-ppc64 3.10.0-514.21.1.el7, kernel-debuginfo-common-x86_64 3.10.0-514.21.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-514.21.1.el7fixed: vendor fix RHSA-2017:1308
-
Red Hat Enterprise Linux Workstation (v. 6) perf 2.6.32-754.el6, kernel 2.6.32-754.el6, kernel-firmware 2.6.32-754.el6, kernel-abi-whitelists 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Workstation (v. 7) perf 3.10.0-514.21.1.el7, kernel 3.10.0-514.21.1.el7, python-perf 3.10.0-514.21.1.el7, kernel-tools 3.10.0-514.21.1.el7, kernel-tools-libs 3.10.0-514.21.1.el7, kernel-abi-whitelists 3.10.0-514.21.1.el7, +1 morefixed: vendor fix RHSA-2017:1308
-
Red Hat Enterprise Linux Workstation Optional (v. 6) python-perf 2.6.32-754.el6, kernel-debuginfo-common-i686 2.6.32-754.el6, kernel-debuginfo-common-x86_64 2.6.32-754.el6fixed: vendor fix RHSA-2018:1854
-
Red Hat Enterprise Linux Workstation Optional (v. 7) kernel-debuginfo-common-x86_64 3.10.0-514.21.1.el7fixed: vendor fix RHSA-2017:1308
-
Red Hat MRG Realtime for RHEL 6 Server v.2 kernel-rt 3.10.0-514.rt56.221.el6rt, kernel-rt-trace 3.10.0-514.rt56.221.el6rt, kernel-rt-vanilla 3.10.0-514.rt56.221.el6rt, kernel-rt-firmware 3.10.0-514.rt56.221.el6rt, kernel-rt-debuginfo-common-x86_64 3.10.0-514.rt56.221.el6rtfixed: vendor fix RHSA-2017:1297
-
Red Hat Enterprise Linux 5 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/linux/local/af_packet_packet_set_ring_priv_esc)
- Published
Exploit prediction
17.83% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/linux/local/af_packet_packet_set_ring_priv_esc AF_PACKET packet_set_ring Privilege Escalation metasploit exploit, good rank, 2017-03-29
- EDB-47168 Linux Kernel 4.8.0-34 < 4.8.0-45 (Ubuntu / Linux Mint) - Packet Socket Local Privilege Escalation local, 2018-12-29
- EDB-44654 Linux 4.8.0 < 4.8.0-46 - AF_PACKET packet_set_ring Privilege Escalation (Metasploit) local, 2018-05-18
- EDB-41994 Linux Kernel 4.8.0-41-generic (Ubuntu) - Packet Socket Local Privilege Escalation local, 2017-05-11
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
- Technology feeds
References
-
exploit-db.com
/exploits/41994/
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/44654/
exploit, third-party-advisory, vdb-entry
-
access.redhat.com
/errata/RHSA-2017:1308
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2018:1854
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1298
vendor-advisory, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:1297
vendor-advisory, third-party-advisory
-
googleprojectzero.blogspot.com
/2017/05/exploiting-linux-kernel-via-packet.html
third-party-advisory
-
source.android.com
/security/bulletin/2017-07-01
third-party-advisory
-
securityfocus.com
/bid/97234
vdb-entry, third-party-advisory
-
patchwork.ozlabs.org
/patch/744812/
third-party-advisory
-
patchwork.ozlabs.org
/patch/744813/
third-party-advisory
-
patchwork.ozlabs.org
/patch/744811/
third-party-advisory
Sources
- CVE List CVE-2017-7308
- NVD CVE-2017-7308
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.