Corruption of slab_caches on cache shutdown with non-freed objects

Solution In Progress - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content