[PATCHv2 0/2] zram: writeback fixes

From: Sergey Senozhatsky

Date: Mon May 25 2026 - 22:30:23 EST


Brian (privately) reported a "leak" of writeback bitmap in
certain cases, so that backing device can store less pages;
and a theoretical data leak in the trailing bytes of
compressed writeback pages. Both issues are low risk.

v1 -> v2:
- better commit messages (Andrew)

Sergey Senozhatsky (2):
zram: do not leak blk idx at the end of writeback
zram: clear trailing bytes of compressed writeback pages

drivers/block/zram/zram_drv.c | 5 +++++
1 file changed, 5 insertions(+)

--
2.54.0.746.g67dd491aae-goog