{"id":"CVE-2017-7308","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-7308","generatedAt":"2026-10-28T20:08:06.344Z","title":"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…","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.","published":"2017-03-29T20:59:00.000Z","lastModified":"2026-06-17T01:24:07.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-681","CWE-787"],"affected":["linux/linux kernel"],"epss":{"score":0.17827,"percentile":0.97154,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":3,"verified":true,"firstPublished":"2017-05-11","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":47168,"kind":"exploit","title":"Linux Kernel 4.8.0-34 < 4.8.0-45 (Ubuntu / Linux Mint) - Packet Socket Local Privilege Escalation","url":"https://www.exploit-db.com/exploits/47168","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/47168.c","file":"exploits/linux/local/47168.c","published":"2018-12-29","added":"2019-07-26","updated":"2019-07-26","author":"bcoles","type":"local","platform":"linux","port":null,"verified":false,"codes":["CVE-2017-7308"],"tags":null,"aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://github.com/bcoles/kernel-exploits/blob/4a20cca563620340e7abc2bd1e7dca15d5d82e67/CVE-2017-7308/poc.c"},{"edbId":44654,"kind":"exploit","title":"Linux 4.8.0 < 4.8.0-46 - AF_PACKET packet_set_ring Privilege Escalation (Metasploit)","url":"https://www.exploit-db.com/exploits/44654","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/44654.rb","file":"exploits/linux/local/44654.rb","published":"2018-05-18","added":"2018-05-18","updated":"2018-05-18","author":"Metasploit","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2017-7308"],"tags":"Local","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/6594cbb5ccd3f0b6a3db4300a01491f972ef01c0/modules/exploits/linux/local/af_packet_packet_set_ring_priv_esc.rb"},{"edbId":41994,"kind":"exploit","title":"Linux Kernel 4.8.0-41-generic (Ubuntu) - Packet Socket Local Privilege Escalation","url":"https://www.exploit-db.com/exploits/41994","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/local/41994.c","file":"exploits/linux/local/41994.c","published":"2017-05-11","added":"2017-05-11","updated":"2019-07-26","author":"Andrey Konovalov","type":"local","platform":"linux","port":null,"verified":true,"codes":["CVE-2017-7308"],"tags":"Local","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://github.com/xairy/kernel-exploits/blob/44fcbaafcb2988d3cbfee5d417b17368e15c78bf/CVE-2017-7308/poc.c"}]},"verdict":{"level":"urgent","text":"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."},"changes":[],"references":[{"url":"http://www.securityfocus.com/bid/97234","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2017:1297","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2017:1298","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2017:1308","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:1854","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://patchwork.ozlabs.org/patch/744811/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://patchwork.ozlabs.org/patch/744812/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://patchwork.ozlabs.org/patch/744813/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://source.android.com/security/bulletin/2017-07-01","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/41994/","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/44654/","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/97234","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2017:1297","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2017:1298","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2017:1308","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:1854","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://patchwork.ozlabs.org/patch/744811/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://patchwork.ozlabs.org/patch/744812/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://patchwork.ozlabs.org/patch/744813/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://source.android.com/security/bulletin/2017-07-01","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/41994/","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/44654/","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-7308","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}