CVE-2015-6526: Medium severity Linux Linux kernel vulnerability
A malicious user could create a special stack layout that fools the perfcallchainuser64 function into an infinite loop, tying up that particular CPU and the process can not be killed.
A kernel patch was committed upstream capping the maximum userlevel stacktrace collected by perf to PERFMAXSTACKDEPTH on 64bit powerpc architectures. This affects all ppc64 kernels that support perf.
This seems to be kind of local DOS that can be resolved when the system is rebooted.
References: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9a5cbce421a283e6aea3c4007f141735bf9da8c3
CVE assignment: http://seclists.org/oss-sec/2015/q3/410
Other sources
The perfcallchainuser64 function in arch/powerpc/perf/callchain.c in the Linux kernel before 4.0.2 on ppc64 platforms allows local users to cause a denial of service (infinite loop) via a deep 64-bit userspace backtrace.
— Launchpad
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.22-1Fixed in 6.12.25-1 - Upgrade
Upgrade
ubuntu/linuxto a version that resolves this vulnerability.Fixed in 3.13.0-49.83 - Upgrade
Upgrade
ubuntu/linux-lts-utopicto a version that resolves this vulnerability.Fixed in 3.16.0-34.47~14.04.1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 4.0.2Patch 9a5cbce421a283e6aea3c4007f141735bf9da8c3 - Operational
Reboot the system to recover from the denial-of-service condition.
Event History
Frequently Asked Questions
What is CVE-2015-6526?
CVE-2015-6526 is a vulnerability in the Linux kernel that allows local users to cause a denial of service (infinite loop) via a deep 64-bit userspace backtrace.
How severe is CVE-2015-6526?
CVE-2015-6526 is considered a medium severity vulnerability.
Which platforms are affected by CVE-2015-6526?
CVE-2015-6526 affects ppc64 platforms running Linux kernel versions before 4.0.2.
How can I fix CVE-2015-6526?
To fix CVE-2015-6526, update your Linux kernel to version 4.0.2 or later.
Where can I find more information about CVE-2015-6526?
More information about CVE-2015-6526 can be found at the following references: [Reference 1](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9a5cbce421a283e6aea3c4007f141735bf9da8c3), [Reference 2](http://seclists.org/oss-sec/2015/q3/410), [Reference 3](https://bugzilla.redhat.com/show_bug.cgi/show_bug.cgi?id=1253892).