CVE-2017-17712: Race Condition

Published Dec 15, 2017
·
Updated

A flaw was found in the kernels implementation of rawsendmsg allowing a local attacker to panic the kernel or possible leak kernel addresses. A local attacker with the privilege of creating raw sockets, can abuse a possible race condition when setting the socket option to allow the kernel to automatically create ip header values.

References:

http://seclists.org/oss-sec/2017/q4/401

https://patchwork.ozlabs.org/patch/846641/

An upstream patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8f659a03a0ba9289b9aeb9b4470e6fb263d6f483

Other sources

The rawsendmsg() function in net/ipv4/raw.c in the Linux kernel through 4.14.6 has a race condition in inet->hdrincl that leads to uninitialized stack pointer usage; this allows a local user to execute code and gain privileges.

— Ubuntu

Affected Software

5 affected componentsFixes available
Linux Linux kernel>=3.19<4.1.52
Linux Linux kernel>=4.2<4.4.109
Linux Linux kernel>=4.5<4.9.74
Linux Linux kernel>=4.10<4.14.11
debian/linux
4.9.65-3+deb9u14.14.7-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 4.9.65-3+deb9u1Fixed in 4.14.7-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch 8f659a03a0ba9289b9aeb9b4470e6fb263d6f483

Event History

Dec 15, 2017
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
RemedyDescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Dec 16, 2017
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Mar 11, 2021
Data Sourced
via Red Hat·04:41 PM
DescriptionSeverityAffected Software
Jun 21, 2023
Data Sourced
09:01 PM
Weakness
Data Sourced
via NVD·09:01 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·09:01 PM
Affected Software
Nov 21, 2024
Updated
via NVD·03:18 AM
RemedyAffected Software
Apr 20, 2025
Updated
via NVD·01:37 AM
Affected Software
May 13, 2026
Updated
via NVD·12:24 AM
Affected Software
Jul 4, 2026
Updated
via Ubuntu·12:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

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