This must have happened somewhen after 4.17.2 and I did find it in
4.20.0:
cuse_process_init_reply() doesn't initialize fc->max_pages and thus all
cuse bases ioctls fail with ENOMEM.
Patch which fixes this is attached.
--
Andreas Steinmetz SPAMmers use robotrap@xxxxxxxx
--- linux.orig/fs/fuse/cuse.c 2018-12-30 09:52:47.479717022 +0100
+++ linux/fuse/cuse.c 2018-12-30 09:53:22.944128852 +0100
@@ -324,6 +324,7 @@
fc->minor = arg->minor;
fc->max_read = max_t(unsigned, arg->max_read, 4096);
fc->max_write = max_t(unsigned, arg->max_write, 4096);
+ fc->max_pages = FUSE_DEFAULT_MAX_PAGES_PER_REQ;
/* parse init reply */
cc->unrestricted_ioctl = arg->flags & CUSE_UNRESTRICTED_IOCTL;