CVE-2017-1000111

kernel: Heap out-of-bounds read in AF_PACKET sockets

Published Oct 4, 2017 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
Description
Linux kernel: heap out-of-bounds in AF_PACKET sockets. This new issue is analogous to previously disclosed CVE-2016-8655. In both cases, a socket option that changes socket state may race with safety checks in packet_set_ring. Previously with PACKET_VERSION. This time with PACKET_RESERVE. The solution is similar: lock the socket for the update. This issue may be exploitable, we did not investigate further. As this issue affects PF_PACKET sockets, it requires CAP_NET_RAW in the process namespace. But note that with user namespaces enabled, any process can create a namespace in which it has CAP_NET_RAW.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1099-1 linux security update
Debian DSA Debian DSA DSA-3981-1 linux security update
EUVD EUVD EUVD-2017-1406 Linux kernel: heap out-of-bounds in AF_PACKET sockets. This new issue is analogous to previously disclosed CVE-2016-8655. In both cases, a socket option that changes socket state may race with safety checks in packet_set_ring. Previously with PACKET_VERSION. This time with PACKET_RESERVE. The solution is similar: lock the socket for the update. This issue may be exploitable, we did not investigate further. As this issue affects PF_PACKET sockets, it requires CAP_NET_RAW in the process namespace. But note that with user namespaces enabled, any process can create a namespace in which it has CAP_NET_RAW.
Ubuntu USN Ubuntu USN USN-3384-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3384-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3385-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3385-2 Linux kernel (Xenial HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-3386-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-3386-2 Linux kernel (Trusty HWE) vulnerabilities
History

No history.