← Back to team overview

kernel-packages team mailing list archive

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

 

You have been subscribed to a public bug:

== 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)

** Affects: linux (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: Confirmed


** Tags: architecture-ppc64le bot-comment bugnameltc-123807 severity-high targetmilestone-inin---
-- 
Backport upstream bugfix in cpuidle to fix memory corruption
https://bugs.launchpad.net/bugs/1442878
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.