Vulnerability in Kernel package: sch_cake: do not call cake_destroy() from cake_init()
Summary
GSD-2021-1002672: sch_cake: do not call cake_destroy() from cake_init(). Affects Kernel versions >= 046f6fd5daefac7f5abdafb436b30f63bc7c602b, < 0d80462fbdcafd536dcad7569e65d3d14a7e9f2f. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Kernel package is a fundamental component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. It includes various subsystems, one of which is the sch_cake module. The sch_cake module is a packet scheduler that implements the Common Applications Kept Enhanced (CAKE) algorithm. This algorithm is used for traffic shaping and prioritization in network communication. However, a vulnerability has been discovered in the sch_cake module that could potentially lead to security issues.
Vulnerability Detail
The vulnerability in the sch_cake module arises from an incorrect function call within the cake_init() function. Specifically, the function cake_destroy() is called from cake_init(), which is not intended behavior. This mistake could result in unexpected consequences and potentially lead to security vulnerabilities. The impact and plausibility of an attack exploiting this vulnerability have not been proven yet. The vulnerability was introduced in version v4.19 of the Linux Kernel and has been fixed in version v5.4.168 by commit 0d80462fbdcafd536dcad7569e65d3d14a7e9f2f.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
No specific workaround has been mentioned for this vulnerability.
Conclusion
In conclusion, a vulnerability has been discovered in the sch_cake module of the Kernel package. This vulnerability arises from an incorrect function call within the cake_init() function. It is recommended to update the Linux Kernel to version v5.4.168 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The sch_cake module is a packet scheduler in the Linux Kernel that implements the CAKE algorithm for traffic shaping and prioritization.
The impact of this vulnerability is currently unknown, as the actual attack plausibility and consequences have not been proven.
You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities.
Yes, the vulnerability has been fixed in version v5.4.168 of the Linux Kernel. It is recommended to update to this version or a later one to mitigate the vulnerability.
You can find more information about this vulnerability in the GSD database entry: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002672.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.