In the Linux kernel, the following vulnerability has been resolved:
mm, slub: fix potential use-after-free in slabdebugfsfops
When sysfsslabadd failed, we shouldn't call debugfsslabadd() for s because s will be freed soon. And slabdebugfsfops will use s later leading to a use-after-free.