Corruption of slab_caches on cache shutdown with non-freed objects
Issue
A kernel module that creates a SLAB cache, allocates objects from it and then destroys the cache without deallocating previously allocated SLAB objects first triggers slab_caches list corruption, which causes panic after reinserting the module.
Environment
- Red Hat Enterprise Linux 9.2
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.