Re: [BUG][powerpc] OOPs: Kernel access of bad area during zram swap write - kswapd0 crash
From: Misbah Anjum N <hidden>
Date: 2025-05-19 18:07:50
Also in:
linux-mm, lkml
From: Misbah Anjum N <hidden>
Date: 2025-05-19 18:07:50
Also in:
linux-mm, lkml
On 2025-05-07 06:03, Sergey Senozhatsky wrote:
Hi, On (25/05/06 11:09), Misbah Anjum N wrote:quoted
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/44f76413496ec343da0d8292ceecdcabe3e6ec16Can you try the following fix https://lore.kernel.org/linux-mm/20250504110650.2783619-1-senozhatsky@chromium.org (local)
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 [off-list ref]
Date: Sun May 4 20:00:22 2025 +0900
zsmalloc: don't underflow size calculation in zs_obj_write()
Thank You,
Misbah Anjum N