{"id":"CVE-2017-7308","published":"2017-03-29T20:00:00Z","modified":"2024-08-05T15:56:36Z","title":"The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 does not properly validate…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.17827,"percentile":0.97239,"provenance":"source"},"cwes":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2017:1308","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html","tags":["x_refsource_MISC"]},{"url":"https://source.android.com/security/bulletin/2017-07-01","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1854","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/97234","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://patchwork.ozlabs.org/patch/744812/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/41994/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://patchwork.ozlabs.org/patch/744813/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/44654/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://patchwork.ozlabs.org/patch/744811/","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1298","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1297","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":24.4,"factors":[{"name":"EPSS percentile","points":19.45},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":4,"earliest":"2017-05-11"},"pocGithub":{"count":1,"skipped":1,"earliest":"2023-01-09","earliestUrl":"https://github.com/anldori/CVE-2017-7308","repos":[{"name":"anldori/CVE-2017-7308","url":"https://github.com/anldori/CVE-2017-7308","stars":0,"created":"2023-01-09"}]},"metasploit":[{"name":"AF_PACKET packet_set_ring Privilege Escalation","module":"exploit/linux/local/af_packet_packet_set_ring_priv_esc","type":"exploit","disclosureDate":"2017-03-29","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/af_packet_packet_set_ring_priv_esc.rb"}],"first":{"date":"2017-03-29","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/af_packet_packet_set_ring_priv_esc.rb"},"provenance":"source"},"summary":{"text":"The packet_set_ring function in net/packet/af_packet.c in the Linux kernel through 4.10.6 fails to properly validate certain block-size data, producing an integer signedness error that leads to an out-of-bounds write. An attacker with local access can use crafted system calls to cause a denial of service, or to gain privileges when they hold the CAP_NET_RAW capability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:48:04Z"},"euvd":{"id":"EUVD-2017-16335","exploited":false,"provenance":"source"},"exploits":[{"id":41994,"url":"https://www.exploit-db.com/exploits/41994","title":"Linux Kernel 4.8.0-41-generic (Ubuntu) - Packet Socket Local Privilege Escalation","date":"2017-05-11","verified":true,"provenance":"source"},{"id":44654,"url":"https://www.exploit-db.com/exploits/44654","title":"Linux 4.8.0 < 4.8.0-46 - AF_PACKET packet_set_ring Privilege Escalation (Metasploit)","date":"2018-05-18","verified":true,"provenance":"source"},{"id":44654,"url":"https://www.exploit-db.com/exploits/44654","title":"Linux 4.8.0 < 4.8.0-46 - AF_PACKET packet_set_ring Privilege Escalation (Metasploit)","date":"2018-05-18","verified":true,"provenance":"source"},{"id":47168,"url":"https://www.exploit-db.com/exploits/47168","title":"Linux Kernel 4.8.0-34 < 4.8.0-45 (Ubuntu / Linux Mint) - Packet Socket Local Privilege Escalation","date":"2018-12-29","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/41994/","https://www.exploit-db.com/exploits/44654/"]}