CVE-2017-7308
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…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 17.8%, higher than 97% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 17.83% probability · 97th percentile
- Public exploits
- 3 in Exploit-DB · verified · first 11 May 2017
- CISA KEV
- Not listed
- Weakness
- CWE-681, CWE-787
- Affected
- linux/linux kernel
- Source
- cve@mitre.org
EPSS 17.8% since 27 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (3)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
| EDB-ID | Title | Type | Published | Verified |
|---|---|---|---|---|
| EDB-47168source ↗ | Linux Kernel 4.8.0-34 < 4.8.0-45 (Ubuntu / Linux Mint) - Packet Socket Local Privilege Escalationlinux · bcoles | local | 29 December 2018 | no |
| EDB-44654source ↗ | Linux 4.8.0 < 4.8.0-46 - AF_PACKET packet_set_ring Privilege Escalation (Metasploit)linux · Metasploit | local | 18 May 2018 | yes |
| EDB-41994source ↗ | Linux Kernel 4.8.0-41-generic (Ubuntu) - Packet Socket Local Privilege Escalationlinux · Andrey Konovalov | local | 11 May 2017 | yes |
References
- http://www.securityfocus.com/bid/97234Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1297Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1298Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1308Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1854Third Party Advisory
- https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.htmlThird Party Advisory
- https://patchwork.ozlabs.org/patch/744811/Third Party Advisory
- https://patchwork.ozlabs.org/patch/744812/Third Party Advisory
- https://patchwork.ozlabs.org/patch/744813/Third Party Advisory
- https://source.android.com/security/bulletin/2017-07-01Third Party Advisory
- https://www.exploit-db.com/exploits/41994/Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/44654/Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/97234Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2017:1297Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1298Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:1308Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:1854Third Party Advisory
- https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.htmlThird Party Advisory
- https://patchwork.ozlabs.org/patch/744811/Third Party Advisory
- https://patchwork.ozlabs.org/patch/744812/Third Party Advisory
- https://patchwork.ozlabs.org/patch/744813/Third Party Advisory
- https://source.android.com/security/bulletin/2017-07-01Third Party Advisory
- https://www.exploit-db.com/exploits/41994/Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/44654/Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.