Re: [PATCH v2] x86: Prevent oops with >16 memory controllers

2015-02-18 Thread Borislav Petkov
On Tue, Feb 17, 2015 at 11:34:38AM +0800, Daniel J Blueman wrote: > When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the > kernel fatally dereferences unallocated structures [1]; this occurs on at > least NumaConnect systems. > > Fix by checking if a memory controller info

Re: [PATCH v2] x86: Prevent oops with 16 memory controllers

2015-02-18 Thread Borislav Petkov
On Tue, Feb 17, 2015 at 11:34:38AM +0800, Daniel J Blueman wrote: When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the kernel fatally dereferences unallocated structures [1]; this occurs on at least NumaConnect systems. Fix by checking if a memory controller info

[PATCH v2] x86: Prevent oops with >16 memory controllers

2015-02-16 Thread Daniel J Blueman
When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the kernel fatally dereferences unallocated structures [1]; this occurs on at least NumaConnect systems. Fix by checking if a memory controller info structure was found; candidate for stable. v1->2: Use edac_mc_find() as

[PATCH v2] x86: Prevent oops with 16 memory controllers

2015-02-16 Thread Daniel J Blueman
When ECC interrupts occur on memory controllers after EDAC_MAX_MCS (16), the kernel fatally dereferences unallocated structures [1]; this occurs on at least NumaConnect systems. Fix by checking if a memory controller info structure was found; candidate for stable. v1-2: Use edac_mc_find() as per