Re: [PATCH] EDAC, sb_edac: Fix out of bound in PCI multi segment env

2018-07-24 Thread Masayoshi Mizuma
Hi Tony, Thank you for your review! On 07/24/2018 01:01 PM, Tony Luck wrote: > On Thu, Jul 19, 2018 at 7:07 AM, Masayoshi Mizuma > wrote: >> From: Masayoshi Mizuma >> >> KASAN reported the following slab-out-of-bounds when sb_edac >> module was loaded on Broadwell machine which has two PCI seg

Re: [PATCH] EDAC, sb_edac: Fix out of bound in PCI multi segment env

2018-07-24 Thread Tony Luck
On Thu, Jul 19, 2018 at 7:07 AM, Masayoshi Mizuma wrote: > From: Masayoshi Mizuma > > KASAN reported the following slab-out-of-bounds when sb_edac > module was loaded on Broadwell machine which has two PCI segments. Although you found this with KASAN as an out of bounds array reference, the real

[PATCH] EDAC, sb_edac: Fix out of bound in PCI multi segment env

2018-07-19 Thread Masayoshi Mizuma
From: Masayoshi Mizuma KASAN reported the following slab-out-of-bounds when sb_edac module was loaded on Broadwell machine which has two PCI segments. == BUG: KASAN: slab-out-of-bounds in sbridge_get_all_devices.constprop.14+0x75f/