CVE-2017-7308
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.
Severity
HIGH
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
17.827%
chance of exploitation in the next 30 days
higher than 97.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 1
Nuclei templates: 0
Exploit-DB: 3
Weakness
Timeline
- 2017-03-29Published by the CNA20:00 UTC
- 2017-05-11First Exploit-DB entry (EDB-ID 41994)43 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 44654 | local | linux | 2018-05-18 | yes |
| EDB-ID 41994 | local | linux | 2017-05-11 | yes |
| EDB-ID 47168 | local | linux | 2018-12-29 | no |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| linux linux_kernel | from 3.3 before 3.10.107fixed in 3.10.107from 3.11 before 3.12.74fixed in 3.12.74from 3.13 before 3.16.44fixed in 3.16.44from 3.17 before 3.18.52fixed in 3.18.52from 2.6.27 before 3.2.89fixed in 3.2.89(+4 more) | 3.10.1073.12.743.16.443.18.523.2.89 |
References
- https://access.redhat.com/errata/RHSA-2017:1297
- https://access.redhat.com/errata/RHSA-2017:1298
- https://access.redhat.com/errata/RHSA-2017:1308
- https://access.redhat.com/errata/RHSA-2018:1854
- https://www.exploit-db.com/exploits/41994/
- https://www.exploit-db.com/exploits/44654/
- http://www.securityfocus.com/bid/97234
- https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html
- https://patchwork.ozlabs.org/patch/744811/
- https://patchwork.ozlabs.org/patch/744812/
- https://patchwork.ozlabs.org/patch/744813/
- https://source.android.com/security/bulletin/2017-07-01
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2017-7308'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2017-7308'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2017-7308'curl 'https://api.contrastcyber.com/cve_products/CVE-2017-7308'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).