CVE-2017-7308 Integer overflow in n/a

High 7.8 Published Updated

Local attackers can exploit an integer signedness error in the Linux kernel packet socket implementation to cause denial of service or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2017-7308?

CVE-2017-7308 is a high-severity vulnerability in Linux kernel, published on 29 Mar 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-681

Which versions are affected by CVE-2017-7308?

It affects 1 product.

Linux distribution packages (14)
kgraft-patch-SLE12_Update_13 SUSE:Linux Enterprise Server 12-LTSSAll versions9-2.1
kgraft-patch-SLE12_Update_14 SUSE:Linux Enterprise Server 12-LTSSAll versions9-2.1
kgraft-patch-SLE12_Update_15 SUSE:Linux Enterprise Server 12-LTSSAll versions9-2.1
kgraft-patch-SLE12_Update_16 SUSE:Linux Enterprise Server 12-LTSSAll versions6-2.1
kgraft-patch-SLE12_Update_17 SUSE:Linux Enterprise Server 12-LTSSAll versions5-2.1
kgraft-patch-SLE12_Update_18 SUSE:Linux Enterprise Server 12-LTSSAll versions5-2.1
kgraft-patch-SLE12_Update_19 SUSE:Linux Enterprise Server 12-LTSSAll versions4-2.1
kgraft-patch-SLE12_Update_13 SUSE:Linux Enterprise Server for SAP Applications 12All versions9-2.1
kgraft-patch-SLE12_Update_14 SUSE:Linux Enterprise Server for SAP Applications 12All versions9-2.1
kgraft-patch-SLE12_Update_15 SUSE:Linux Enterprise Server for SAP Applications 12All versions9-2.1
kgraft-patch-SLE12_Update_16 SUSE:Linux Enterprise Server for SAP Applications 12All versions6-2.1
kgraft-patch-SLE12_Update_17 SUSE:Linux Enterprise Server for SAP Applications 12All versions5-2.1
kgraft-patch-SLE12_Update_18 SUSE:Linux Enterprise Server for SAP Applications 12All versions5-2.1
kgraft-patch-SLE12_Update_19 SUSE:Linux Enterprise Server for SAP Applications 12All versions4-2.1

Products include Linux kernel.

How do I fix CVE-2017-7308?

Apply the vendor's patch.

Is CVE-2017-7308 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-7308 exists.

Public exploit code: 1 Metasploit module, 4 Exploit-DB entries and 2 proofs of concept on GitHub.

All Linux kernel vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-7308, GHSA-ppq3-433v-jp43, SUSE-SU-2017:1278-1, SUSE-SU-2017:1285-1, SUSE-SU-2017:1287-1, SUSE-SU-2017:1291-1 and 6 more.

Is CVE-2017-7308 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free