In the Linux kernel before 6.1.2, kernel/module/decompress.c misinterprets the module_get_next_page return value (expects it to be NULL in the error case, whereas it is actually an error pointer).
https://github.com/torvalds/linux/commit/45af1d7aae7d5520d2858f8517a1342646f015db
https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.2