What’s Vulnerable › Vulnerabilities
CVE-2017-17712
- Severity: high (CVSS 7.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-12-16 · updated 2026-06-17
- Weakness: CWE-362
Description
The raw_sendmsg() 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.
Affected products
- Linux kernel: from 3.19 before 4.1.52; from 4.2 before 4.4.109; from 4.5 before 4.9.74; from 4.10 before 4.14.11 — fixed in 4.1.52, 4.14.11, 4.4.109, 4.9.74
How to fix
Upgrade to a fixed version: Linux kernel 4.1.52, 4.14.11, 4.4.109, 4.9.74. Check the vendor advisory for mitigations.
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8f659a03a0ba9289b9aeb9b4470e6fb263d6f483
- https://access.redhat.com/errata/RHSA-2018:0502
- https://github.com/torvalds/linux/commit/8f659a03a0ba9289b9aeb9b4470e6fb263d6f483
- https://source.android.com/security/bulletin/pixel/2018-04-01
- https://usn.ubuntu.com/3581-1/
- https://usn.ubuntu.com/3581-2/
- https://usn.ubuntu.com/3581-3/
- https://usn.ubuntu.com/3582-1/
- https://usn.ubuntu.com/3582-2/
- https://www.debian.org/security/2017/dsa-4073
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8f659a03a0ba9289b9aeb9b4470e6fb263d6f483
- https://access.redhat.com/errata/RHSA-2018:0502
Get alerted when CVE-2017-17712 or the next vulnerability affects your stack