CVE-2017-1000255: Medium severity linux kernel vulnerability

Published Oct 3, 2017
·
Updated

A flaw was found in the Linux kernels handling of signal frame processing where any 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 paniconoops=1, but only after kernel memory has been over written.

This flaw only affects PowerPC systems running on Power8 or later processors.

References:

http://seclists.org/oss-sec/2017/q4/51

This issue was introduced by commit:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d176f751ee3

An upstream fix:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=265e60a170d0a0ecfc2d20490134ed2c48dd45ab

Other sources

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 paniconoops=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 CONFIGPPCTRANSACTIONALMEM=n are not vulnerable.

Launchpad

Affected Software

7 affected componentsFixes available
Linux Linux kernel
IBM Powerpc Power8
IBM Powerpc Power9
All of the following
Linux Linux kernel
Any of the following
IBM Powerpc Power8
IBM Powerpc Power9
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1

Event History

Oct 3, 2017
Data Sourced
via Red Hat·12:35 PM
DescriptionSeverityAffected Software
Oct 30, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·10:23 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:18 AM
RemedyDescriptionSeverityAffected Software
Apr 20, 2025
Data Sourced
via Debian·03:32 AM
DescriptionAffected Software

Frequently Asked Questions

1

What is CVE-2017-1000255?

CVE-2017-1000255 is a vulnerability on Linux running on PowerPC hardware that allows a user process to craft a signal frame and exploit it for privilege escalation.

2

How severe is CVE-2017-1000255 vulnerability?

CVE-2017-1000255 is a medium severity vulnerability with a severity rating of 4.

3

How can I fix the CVE-2017-1000255 vulnerability?

To fix CVE-2017-1000255, update your Linux kernel to version 4.13.0-17.20 or later.

4

Are there any security advisories related to CVE-2017-1000255?

Yes, you can find more information about CVE-2017-1000255 in the following security advisories: http://seclists.org/oss-sec/2017/q4/51

5

Where can I find the source code patches for CVE-2017-1000255?

You can find the source code patches for CVE-2017-1000255 in the following Git commits: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=5d176f751ee3, https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=265e60a170d0a0ecfc2d20490134ed2c48dd45ab

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203