CVE-2021-47598
kernel: sch_cake: do not call cake_destroy() from cake_init()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 19, 2024
Updated · August 5, 2026
Description
A vulnerability was discovered in the Linux kernel in the cake_init() function where if memory allocation fails the function calls its own cleanup function, cake_destroy(). This can lead to a use-after-free scenario because there may be other parts of code attempting to access the newly freed resources, which could result in crashes or undefined behavior.
Statement
Red Hat Enterprise Linux is not impacted by this CVE, as the vulnerability in question does not affect the specific versions or configurations of the Linux kernel used in its distributions. This ensures that users of Red Hat Enterprise Linux are not exposed to the potential risks associated with this issue, and no further action or mitigation is necessary for systems running this operating system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 · Use After Free