{"api_version":"1","generated_at":"2026-07-23T10:39:37+00:00","cve":"CVE-2017-7308","urls":{"html":"https://cve.report/CVE-2017-7308","api":"https://cve.report/api/cve/CVE-2017-7308.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-7308","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-7308"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2017-03-29 20:59:00","updated_at":"2025-04-20 01:37:25"},"problem_types":["CWE-681","CWE-787","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.2","severity":"","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"https://www.exploit-db.com/exploits/44654/","name":"https://www.exploit-db.com/exploits/44654/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Linux 4.8.0 < 4.8.0-46 - AF_PACKET packet_set_ring Privilege Escalation (Metasploit) - Linux local Exploit","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2018:1854","name":"https://access.redhat.com/errata/RHSA-2018:1854","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2017:1298","name":"https://access.redhat.com/errata/RHSA-2017:1298","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://patchwork.ozlabs.org/patch/744811/","name":"https://patchwork.ozlabs.org/patch/744811/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[net,v2,1/3] net/packet: fix overflow in check for priv area size - Patchwork","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://patchwork.ozlabs.org/patch/744813/","name":"https://patchwork.ozlabs.org/patch/744813/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[net,v2,2/3] net/packet: fix overflow in check for tp_frame_nr - Patchwork","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html","name":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Project Zero: Exploiting the Linux kernel via packet sockets","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2017:1308","name":"https://access.redhat.com/errata/RHSA-2017:1308","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.exploit-db.com/exploits/41994/","name":"https://www.exploit-db.com/exploits/41994/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Linux Kernel 4.8.0 (Ubuntu) - Packet Socket Local Privilege Escalation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/97234","name":"http://www.securityfocus.com/bid/97234","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"Linux kernel CVE-2017-7308 Local Denial of Service Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://patchwork.ozlabs.org/patch/744812/","name":"https://patchwork.ozlabs.org/patch/744812/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"[net,v2,3/3] net/packet: fix overflow in check for tp_reserve - Patchwork","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://source.android.com/security/bulletin/2017-07-01","name":"https://source.android.com/security/bulletin/2017-07-01","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Android Security Bulletin—July 2017  |  Android Open Source Project","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://access.redhat.com/errata/RHSA-2017:1297","name":"https://access.redhat.com/errata/RHSA-2017:1297","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-7308","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7308","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"7308","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-7308","qid":"378249","title":"Virtuozzo Linux Security Update for kernel-tools-libs (VZLSA-2017:1308)"}]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-05T15:56:36.470Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"RHSA-2017:1308","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2017:1308"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://source.android.com/security/bulletin/2017-07-01"},{"name":"RHSA-2018:1854","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2018:1854"},{"name":"97234","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/97234"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://patchwork.ozlabs.org/patch/744812/"},{"name":"41994","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/41994/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://patchwork.ozlabs.org/patch/744813/"},{"name":"44654","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"],"url":"https://www.exploit-db.com/exploits/44654/"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://patchwork.ozlabs.org/patch/744811/"},{"name":"RHSA-2017:1298","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2017:1298"},{"name":"RHSA-2017:1297","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"https://access.redhat.com/errata/RHSA-2017:1297"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2017-03-29T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-06-19T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"RHSA-2017:1308","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2017:1308"},{"tags":["x_refsource_MISC"],"url":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html"},{"tags":["x_refsource_CONFIRM"],"url":"https://source.android.com/security/bulletin/2017-07-01"},{"name":"RHSA-2018:1854","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2018:1854"},{"name":"97234","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/97234"},{"tags":["x_refsource_CONFIRM"],"url":"https://patchwork.ozlabs.org/patch/744812/"},{"name":"41994","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/41994/"},{"tags":["x_refsource_CONFIRM"],"url":"https://patchwork.ozlabs.org/patch/744813/"},{"name":"44654","tags":["exploit","x_refsource_EXPLOIT-DB"],"url":"https://www.exploit-db.com/exploits/44654/"},{"tags":["x_refsource_CONFIRM"],"url":"https://patchwork.ozlabs.org/patch/744811/"},{"name":"RHSA-2017:1298","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2017:1298"},{"name":"RHSA-2017:1297","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"https://access.redhat.com/errata/RHSA-2017:1297"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2017-7308","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2017:1308","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:1308"},{"name":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html","refsource":"MISC","url":"https://googleprojectzero.blogspot.com/2017/05/exploiting-linux-kernel-via-packet.html"},{"name":"https://source.android.com/security/bulletin/2017-07-01","refsource":"CONFIRM","url":"https://source.android.com/security/bulletin/2017-07-01"},{"name":"RHSA-2018:1854","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2018:1854"},{"name":"97234","refsource":"BID","url":"http://www.securityfocus.com/bid/97234"},{"name":"https://patchwork.ozlabs.org/patch/744812/","refsource":"CONFIRM","url":"https://patchwork.ozlabs.org/patch/744812/"},{"name":"41994","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/41994/"},{"name":"https://patchwork.ozlabs.org/patch/744813/","refsource":"CONFIRM","url":"https://patchwork.ozlabs.org/patch/744813/"},{"name":"44654","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/44654/"},{"name":"https://patchwork.ozlabs.org/patch/744811/","refsource":"CONFIRM","url":"https://patchwork.ozlabs.org/patch/744811/"},{"name":"RHSA-2017:1298","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:1298"},{"name":"RHSA-2017:1297","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2017:1297"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2017-7308","datePublished":"2017-03-29T20:00:00.000Z","dateReserved":"2017-03-29T00:00:00.000Z","dateUpdated":"2024-08-05T15:56:36.470Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2017-03-29 20:59:00","lastModifiedDate":"2025-04-20 01:37:25","problem_types":["CWE-681","CWE-787","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.27","versionEndExcluding":"3.2.89","matchCriteriaId":"D9E99162-FBEA-42EC-ACAE-44EC9FA5D43C"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.3","versionEndExcluding":"3.10.107","matchCriteriaId":"314F9C88-C8E1-46EF-8119-538C824ED137"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.11","versionEndExcluding":"3.12.74","matchCriteriaId":"75647580-464B-4AEF-8DE2-F17D1748F182"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.13","versionEndExcluding":"3.16.44","matchCriteriaId":"50A4478F-EC43-46DF-AE23-9298AE3F8892"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.17","versionEndExcluding":"3.18.52","matchCriteriaId":"8104AAC1-9700-4372-8E11-37B09309A76F"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.19","versionEndExcluding":"4.1.41","matchCriteriaId":"9019BEC9-FE77-4506-A019-B8B4D8BCEBAE"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2","versionEndExcluding":"4.4.66","matchCriteriaId":"BF5669AA-0250-493C-9D38-F0B563103943"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.5","versionEndExcluding":"4.9.26","matchCriteriaId":"92A58CFB-13B7-4E99-8A14-A0308E4F126A"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.10","versionEndExcluding":"4.10.14","matchCriteriaId":"90895EF1-9DC7-4E47-A937-405661F7A44B"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2017","CveId":"7308","Ordinal":"1","Title":"CVE-2017-7308","CVE":"CVE-2017-7308","Year":"2017"},"notes":[{"CveYear":"2017","CveId":"7308","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2017-7308"},{"CveYear":"2017","CveId":"7308","Ordinal":"2","NoteData":"2017-03-29","Type":"Other","Title":"Published"},{"CveYear":"2017","CveId":"7308","Ordinal":"3","NoteData":"2018-06-19","Type":"Other","Title":"Modified"}]}}}