Backport upstream bugfix in cpuidle to fix memory corruption

Bug #1442878 reported by bugproxy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
High
Chris J Arges

Bug Description

== Comment: #0 - Shilpasri G. Bhat <email address hidden> - 2015-04-10 14:35:43 ==
This is a request to backport upstream cpuidle bugfix for a memory corruption

d52356e7f48e powerpc: fix memory corruption by pnv_alloc_idle_core_states

Space allocated for paca is based off nr_cpu_ids, but pnv_alloc_idle_core_states()
iterates paca with cpu_nr_cores()*threads_per_core, which is using NR_CPUS.
This causes pnv_alloc_idle_core_states() to write over memory, which is outside
of paca array and may later lead to various panics.

Fixes: 7cba160ad789 (powernv/cpuidle: Redesign idle states management)

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-123807 severity-high targetmilestone-inin---
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1442878/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Luciano Chavez (lnx1138)
Changed in ubuntu:
status: New → Confirmed
affects: ubuntu → linux (Ubuntu)
Changed in linux (Ubuntu):
assignee: nobody → Taco Screen team (taco-screen-team)
bugproxy (bugproxy)
tags: added: targetmilestone-inin1504
removed: targetmilestone-inin---
penalvch (penalvch)
Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
tags: added: cherry-pick
Chris J Arges (arges)
Changed in linux (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → Chris J Arges (arges)
status: Triaged → In Progress
Revision history for this message
Chris J Arges (arges) wrote :

This was already applied in Vivid.
$ git describe --contains 38fc1ab8c74ff9de5f779be9a985d0d9871458f3
Ubuntu-3.19.0-14.14~4

Changed in linux (Ubuntu):
status: In Progress → Fix Committed
madbiologist (me-again)
Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.