Kernel patch "sysfs: correctly handle read offset on PREALLOC attrs" (https:// patchwork.kernel.org/patch/9193463/) appears to have fixed this issue. As far as I can see, array checks run normally again.