Re: [PATCH] powerpc/xive/spapr: correct bitmap allocation size

2022-06-29 Thread Michael Ellerman
On Thu, 23 Jun 2022 13:25:09 -0500, Nathan Lynch wrote: > kasan detects access beyond the end of the xibm->bitmap allocation: > > BUG: KASAN: slab-out-of-bounds in _find_first_zero_bit+0x40/0x140 > Read of size 8 at addr c0001d1d0118 by task swapper/0/1 > > CPU: 0 PID: 1 Comm: swapper/0 Not t

Re: [PATCH] powerpc/xive/spapr: correct bitmap allocation size

2022-06-23 Thread Cédric Le Goater
On 6/23/22 20:25, Nathan Lynch wrote: kasan detects access beyond the end of the xibm->bitmap allocation: BUG: KASAN: slab-out-of-bounds in _find_first_zero_bit+0x40/0x140 Read of size 8 at addr c0001d1d0118 by task swapper/0/1 CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.19.0-rc2-1-g90d

[PATCH] powerpc/xive/spapr: correct bitmap allocation size

2022-06-23 Thread Nathan Lynch
kasan detects access beyond the end of the xibm->bitmap allocation: BUG: KASAN: slab-out-of-bounds in _find_first_zero_bit+0x40/0x140 Read of size 8 at addr c0001d1d0118 by task swapper/0/1 CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.19.0-rc2-1-g90df023b36dd #28 Call Trace: [c0001d98f