Public bug reported:

== Comment: #0 - Shilpasri G. Bhat <shigb...@in.ibm.com> - 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)

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: architecture-ppc64le bugnameltc-123807 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-123807 severity-high
targetmilestone-inin---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1442878

Title:
  Backport upstream bugfix in cpuidle to fix memory corruption

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1442878/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to