On Thu, 30 Jan 2020, vjitta@xxxxxxxxxxxxxx wrote: > Random sequence cache is precomputed during slab object creation > based up on the object size and no of objects per slab. These could > be changed when flags like SLAB_STORE_USER, SLAB_POISON are updated > from sysfs. So when shuffle_freelist is called during slab_alloc it Sorry no. That cannot happen. Changing the size of the slab is only possible if no slab pages are allocated. Any sysfs changes that affect the object size must fail if object and slab pages are already allocated. If you were able to change the object size then we need to prevent that from happening.