← Back to team overview

kernel-packages team mailing list archive

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

 

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

-- 
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:
  Fix Committed

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