[BUG][powerpc] OOPs: Kernel access of bad area during zram swap write - kswapd0 crash
Misbah Anjum N
misanjum at linux.ibm.com
Tue May 20 04:07:13 AEST 2025
On 2025-05-07 06:03, Sergey Senozhatsky wrote:
> Hi,
>
> On (25/05/06 11:09), Misbah Anjum N wrote:
>> I am facing this issue even with the latest kernel:
>> 6.15.0-rc4-g5721cf0b9352
>> The suspecting commit is: 44f76413496ec343da0d8292ceecdcabe3e6ec16.
>> The
>> commit introduces zs_obj_write() function.
>> Link:
>> https://github.com/torvalds/linux/commit/44f76413496ec343da0d8292ceecdcabe3e6ec16
>
> Can you try the following fix
> https://lore.kernel.org/linux-mm/20250504110650.2783619-1-senozhatsky@chromium.org
Hi,
Thank you for the patch. I can confirm that it resolves the issue. After
applying it, the kernel panic no longer occurs during memory reclaim
with in my KVM guest testing environment. The Avocado-VT functional
tests now complete successfully.
Patch:
Author: Sergey Senozhatsky <senozhatsky at chromium.org>
Date: Sun May 4 20:00:22 2025 +0900
zsmalloc: don't underflow size calculation in zs_obj_write()
Thank You,
Misbah Anjum N
More information about the Linuxppc-dev
mailing list