CVE-2017-1000111: Race Condition

Published Aug 8, 2017
·
Updated

A race condition issue was found in the way the raw packet sockets implementation in the Linux kernel networking subsystem handled synchronization. A local user able to open a raw packet socket (requires the CAPNETRAW capability) could use this to waste resources in the kernels ring buffer or possibly cause a read-out-of-bounds on the heap possibly panicking the machine.

In a default or common use of Red Hat Enterprise Linux 6 and 7 this issue does not allow an unprivileged local user to use this functionality.

In order to exploit this issue the attacker needs CAPNETRAW capability, which needs to be granted by the administrator to the attacker's account. Since Red Hat Enterprise Linux does not have unprivileged user namespaces enabled by default, local unprivileged users also cannot abuse namespaces to grant this capability.

Upstream patch: http://patchwork.ozlabs.org/patch/800274/

Other sources

Linux kernel: heap out-of-bounds in AFPACKET 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 packetsetring. Previously with PACKETVERSION. This time with PACKETRESERVE. The solution is similar: lock the socket for the update. This issue may be exploitable, we did not investigate further. As this issue affects PFPACKET sockets, it requires CAPNETRAW in the process namespace. But note that with user namespaces enabled, any process can create a namespace in which it has CAPNETRAW.

Affected Software

27 affected componentsFixes available
debian/linux
4.19.249-24.19.289-25.10.197-15.10.205-26.1.66-16.1.69-16.5.13-16.6.9-1
Linux Linux kernel>=2.6.27<3.2.92
Linux Linux kernel>=3.3<3.10.108
Linux Linux kernel>=3.11<3.16.47
Linux Linux kernel>=3.17<3.18.65
Linux Linux kernel>=3.19<4.1.44
Linux Linux kernel>=4.2<4.4.82
Linux Linux kernel>=4.5<4.9.43
Linux Linux kernel>=4.10<4.12.7
redhat Enterprise Linux=5.0
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Tus=7.4
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Event History

Aug 8, 2017
Data Sourced
via Red Hat·10:45 AM
DescriptionSeverityAffected Software
Oct 4, 2017
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2017-1000111?

CVE-2017-1000111 has a medium severity rating, indicating a moderate risk to systems.

2

How do I fix CVE-2017-1000111?

To fix CVE-2017-1000111, users should upgrade the Linux kernel to a version that includes the appropriate patches as specified by their distribution.

3

What systems are affected by CVE-2017-1000111?

CVE-2017-1000111 affects various versions of the Linux kernel, particularly those below 4.19.249-2 and those within specific ranges up to 6.6.9-1.

4

Can CVE-2017-1000111 be exploited remotely?

CVE-2017-1000111 cannot be exploited remotely as it requires local access to exploit the vulnerability.

5

What capabilities are required to exploit CVE-2017-1000111?

To exploit CVE-2017-1000111, a local user must have the CAP_NET_RAW capability to open a raw packet socket.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203