CVE-2017-5669 json
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 operat…
published 2017-02-24 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-14746
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux linux_kernel 4.11
- linux Debian 14, Debian 13, Debian 12 4.9.13-1
debian advisories DEBIAN-CVE-2017-5669
- linux Ubuntu 14.04 LTS 3.13.0-142.191
- linux Ubuntu 16.04 LTS 4.4.0-75.96
- linux-aws Ubuntu 16.04 LTS 4.4.0-1016.25
- linux-gke Ubuntu 16.04 LTS 4.4.0-1012.12
- linux-hwe Ubuntu 16.04 LTS 4.10.0-32.36~16.04.1
- linux-raspi2 Ubuntu 16.04 LTS 4.4.0-1054.61
- linux-lts-xenial Ubuntu 14.04 LTS 4.4.0-75.96~14.04.1
- linux-snapdragon Ubuntu 16.04 LTS 4.4.0-1057.61
ubuntu advisories UBUNTU-CVE-2017-5669
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-ec2 SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-pae SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-xen SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-syms SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-trace SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-source SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-default SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 3.0.101-0.47.106.5.1
- kernel-rt SLE Real Time 11 SP4 3.0.101.rt130-69.5.1
suse advisories SUSE-SU-2017:2525-1SUSE-SU-2017:2342-1SUSE-SU-2017:1360-1SUSE-SU-2017:1301-1SUSE-SU-2017:1247-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-5669 updated cvss 6.7
kernel: Shmat allows mmap null page protection bypass
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:L/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Technology feeds
References
-
github.com
/torvalds/linux/commit/95e91b831f87ac8e1f8ed50c14d709089b4e01b8
patch, third-party-advisory
-
github.com
/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7
patch, third-party-advisory
-
bugzilla.kernel.org
/show_bug.cgi?id=192931
issue-tracking, patch, vendor-advisory
-
usn.ubuntu.com
/3583-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3583-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2017/dsa-3804
vendor-advisory, third-party-advisory
-
securitytracker.com
/id/1037918
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/96754
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2017-5669
- NVD CVE-2017-5669
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.