CVE-2017-1000255
On Linux running on PowerPC hardware (Power8 or later) a user process can craft a signal frame and then do a sigreturn so that the kernel will take an exception (interrupt), and use the r1 value *from the signal frame* as the kernel stack pointer. As part of the exception entry the content of the signal frame is written to the kernel stack, allowing an attacker to overwrite arbitrary locations with arbitrary values. The exception handling does produce an oops, and a panic if panic_on_oops=1, but only after kernel memory has been over written. This flaw was introduced in commit: "5d176f751ee3 (powerpc: tm: Enable transactional memory (TM) lazily for userspace)" which was merged upstream into v4.9-rc1. Please note that kernels built with CONFIG_PPC_TRANSACTIONAL_MEM=n are not vulnerable.
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | linux | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-aws | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-azure | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-euclid | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-flo | Fix pending | ||
| Ubuntu 16.04 | linux-gcp | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-gke | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-goldfish | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-hwe | Fixed | 4.10.0-37.41~16.04.1 | UBUNTU-CVE-2017-1000255 |
| Ubuntu 16.04 | linux-kvm | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-mako | Fix pending | ||
| Ubuntu 16.04 | linux-oem | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-raspi2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | linux-snapdragon | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | linux-flo | Fix pending | ||
| Ubuntu 14.04 | linux-goldfish | Fix pending | ||
| Ubuntu 14.04 | linux-grouper | Fix pending | ||
| Ubuntu 14.04 | linux-lts-utopic | Fix pending | ||
| Ubuntu 14.04 | linux-lts-vivid | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | linux-lts-wily | Fix pending | ||
| Ubuntu 14.04 | linux-maguro | Fix pending | ||
| Ubuntu 14.04 | linux-mako | Fix pending | ||
| Ubuntu 14.04 | linux-manta | Fix pending | ||
| Debian 14 | linux | Fixed | 4.13.4-2 | DEBIAN-CVE-2017-1000255 |
| Debian 13 | linux | Fixed | 4.13.4-2 | DEBIAN-CVE-2017-1000255 |
| Debian 12 | linux | Fixed | 4.13.4-2 | DEBIAN-CVE-2017-1000255 |
| Red Hat Enterprise Linux 7 | bpftool | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-abi-whitelists | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-alt | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-bootwrapper | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debug | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debug-devel | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-aarch64 | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-ppc64le | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-debuginfo-common-s390x | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-devel | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-doc | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-headers | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-kdump | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-kdump-devel | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-debug-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-doc | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-rt-trace-kvm | Not affected | ||
| Red Hat Enterprise Linux 7 | kernel-tools | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | kernel-tools-libs-devel | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | perf | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 7 | python-perf | Fixed | 0:4.14.0-49.el7a | RHSA-2018:0654 |
| Red Hat Enterprise Linux 6 | kernel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-abi-whitelists | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-bootwrapper | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-debug-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-doc | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-firmware | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-headers | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump | Not affected | ||
| Red Hat Enterprise Linux 6 | kernel-kdump-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | perf | Not affected | ||
| Red Hat Enterprise Linux 6 | python-perf | Not affected | ||
| Red Hat Enterprise Linux 5 | kernel | Not affected |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:0654 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2018:0654
- https://access.redhat.com/security/cve/CVE-2017-1000255
- http://www.securityfocus.com/bid/101264
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.