Heap-out-of-bounds write in Linux kernel and linux_kernel (Debian package) - CVE-2017-7308

 

Heap-out-of-bounds write in Linux kernel and linux_kernel (Debian package) - CVE-2017-7308

Published: May 12, 2017 / Updated: June 17, 2021


Vulnerability identifier: #VU6526
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:A/U:Clear
CVE-ID: CVE-2017-7308
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: Linux Foundation
Debian
Affected software:
Linux kernel
linux_kernel (Debian package)

Detailed vulnerability description

The vulnerability allows a local attacker to cause DoS conditions.

The weakness exists due to improper validation of certain block-size data by the packet_set_ring function in net/packet/af_packet.c. A local attacker can provide specific parameters to the PACKET_RX_RING option on an AF_PACKET socket with a TPACKET_V3 ring buffer version enabled, trigger heap-out-of-bounds write and cause denial of service.

Successful exploitation of the vulnerability results in denial of service.


How to mitigate CVE-2017-7308

Update to version 4.9.18-1.

Sources