CVE-2017-17712
HIGHLinux Kernel 3.19-4.1.52 - Local Privilege Escalation via Race Condition in raw_sendmsg
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2017-17712. PoCs published by TamiiLambrado.
AI-analyzed exploit summary This PoC exploits a race condition in the Linux kernel's raw_sendmsg() function (CVE-2017-17712), where an uninitialized stack variable can be manipulated via concurrent setsockopt() calls to achieve arbitrary code execution. The exploit uses thread-based racing and stack spraying via poll() to control the uninitialized msghdr pointer.
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.
Exploits (1)
This PoC exploits a race condition in the Linux kernel's raw_sendmsg() function (CVE-2017-17712), where an uninitialized stack variable can be manipulated via concurrent setsockopt() calls to achieve arbitrary code execution. The exploit uses thread-based racing and stack spraying via poll() to control the uninitialized msghdr pointer.
References (10)
Scores
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H