What’s Vulnerable › Vulnerabilities
CVE-2017-5669
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2017-02-24 · updated 2026-06-17
Description
The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.
Affected products
- Canonical Ubuntu Linux: 12.04, 14.04
- Debian Linux: 8.0
- Linux kernel: before 4.11 — fixed in 4.11
How to fix
Upgrade to a fixed version: Linux kernel 4.11. Check the vendor advisory for mitigations.
References
- http://www.debian.org/security/2017/dsa-3804
- http://www.securityfocus.com/bid/96754
- http://www.securitytracker.com/id/1037918
- https://bugzilla.kernel.org/show_bug.cgi?id=192931
- https://github.com/torvalds/linux/commit/95e91b831f87ac8e1f8ed50c14d709089b4e01b8
- https://github.com/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7
- https://usn.ubuntu.com/3583-1/
- https://usn.ubuntu.com/3583-2/
- http://www.debian.org/security/2017/dsa-3804
- http://www.securityfocus.com/bid/96754
- http://www.securitytracker.com/id/1037918
- https://bugzilla.kernel.org/show_bug.cgi?id=192931
Get alerted when CVE-2017-5669 or the next vulnerability affects your stack