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.

Analysis

No analysis available yet

Remediation

No remediation available yet

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.

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 9:53 PM
Reserved
Oct 3, 2017, 12:00 AM
Status
Modified
Published
Oct 5, 2017, 1:29 AM
Modified
Jun 17, 2026, 12:58 AM
Severity
Moderate
Public date
Aug 10, 2017, 12:00 AM