← Back to team overview

kernel-packages team mailing list archive

[Bug 1442878] Re: Backport upstream bugfix in cpuidle to fix memory corruption

 

** Changed in: linux (Ubuntu)
     Assignee: Taco Screen team (taco-screen-team) => Chris J Arges (arges)

** Changed in: linux (Ubuntu)
       Status: Triaged => In Progress

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

Title:
  Backport upstream bugfix in cpuidle to fix memory corruption

Status in linux package in Ubuntu:
  In Progress

Bug description:
  == Comment: #0 - Shilpasri G. Bhat <shigbhat@xxxxxxxxxx> - 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)

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