What’s Vulnerable › Vulnerabilities

CVE-2021-47470: mm, slub: fix potential use-after-free in slab_debugfs_fops

Description

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.14.15. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47470 or the next vulnerability affects your stack