p PatchFirst

CVE-2017-1000255

CVE-2017-1000255

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.5 · Medium · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • linux Debian:12

    Affected ranges
    • ECOSYSTEM: < 4.13.4-2

    Update to 4.13.4-2

  • linux Debian:13

    Affected ranges
    • ECOSYSTEM: < 4.13.4-2

    Update to 4.13.4-2

  • linux Debian:14

    Affected ranges
    • ECOSYSTEM: < 4.13.4-2

    Update to 4.13.4-2

  • linux-hwe Ubuntu:16.04:LTS

    Versions
    • 4.8.0-36.36~16.04.1
    • 4.8.0-39.42~16.04.1
    • 4.8.0-41.44~16.04.1
    • 4.8.0-42.45~16.04.1
    • 4.8.0-44.47~16.04.1
    • 4.8.0-45.48~16.04.1
    • 4.8.0-46.49~16.04.1
    • 4.8.0-49.52~16.04.1
    • 4.8.0-51.54~16.04.1
    • 4.8.0-52.55~16.04.1
    • 4.8.0-53.56~16.04.1
    • 4.8.0-54.57~16.04.1
    • 4.8.0-56.61~16.04.1
    • 4.8.0-58.63~16.04.1
    • 4.10.0-27.30~16.04.2
    • 4.10.0-28.32~16.04.2
    • 4.10.0-30.34~16.04.1
    • 4.10.0-32.36~16.04.1
    • 4.10.0-33.37~16.04.1
    • 4.10.0-35.39~16.04.1
    Affected ranges
    • ECOSYSTEM: < 4.10.0-37.41~16.04.1

    Update to 4.10.0-37.41~16.04.1

Original sources

Check your server →