zram NULL pointer dereference (zs_malloc)

From: David C. Manuelda
Date: Thu Oct 15 2020 - 06:11:48 EST


I found a serious bug about kernel NULL pointer dereference when using zram (in my case zram+btrfs) that makes system unstable and usually ends in a forced unclean reboot like powering off power source.

This issue is present since >5.8.0 version (this one seems not affected) and still present in 5.9.0 and reported in https://bugzilla.kernel.org/show_bug.cgi?id=209153

Since this issue seems major enough, can someone please review this issue?


Thanks.

Attachment: OpenPGP_0x2D7138D2C33652B5.asc
Description: application/pgp-keys

Attachment: OpenPGP_signature
Description: OpenPGP digital signature