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: 6.8 [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]
CVE-ID: CVE-2017-7308
CWE-ID: CWE-787
Exploitation vector: Local access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

Linux kernel
CentOS
SUSE Linux
Ubuntu
Fedora
linux_kernel (Debian package)
kernel

How to mitigate CVE-2017-7308

Update to version 4.9.18-1.

kernel - addressed in versions 4.10.10-100.fc24, 4.10.10-200.fc25

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins