Use-after-free vulnerability in watchdog package
Summary
GSD-2021-1001271: watchdog: Fix possible use-after-free in wdt_startup(). Affects Kernel versions < a397cb4576fc2fc802562418b3a50b8f67d60d31. 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 watchdog package is a component of the Linux Kernel that provides a mechanism for monitoring and recovering from system malfunctions. It includes a watchdog timer that triggers a system reset if not periodically refreshed. The vulnerability in the watchdog package allows for a possible use-after-free issue in the wdt_startup() function.
Vulnerability Detail
The use-after-free vulnerability in the wdt_startup() function of the watchdog package can lead to potential security risks. A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. This can result in a variety of issues, including crashes, memory corruption, and potential remote code execution. The vulnerability has been fixed in the Linux Kernel version v5.10.52 by commit a397cb4576fc2fc802562418b3a50b8f67d60d31.
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
There is no known workaround for this vulnerability. It is essential to update the Linux Kernel to the fixed version as soon as possible.
Conclusion
The use-after-free vulnerability in the watchdog package can pose significant security risks, including crashes, memory corruption, and potential remote code execution. It is crucial to update the Linux Kernel to version v5.10.52 or later to mitigate these risks. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. This can lead to crashes, memory corruption, and potential remote code execution.
The impact of this vulnerability can vary depending on the context in which it is exploited. It can potentially lead to system crashes, memory corruption, and even remote code execution, allowing an attacker to take control of the affected system.
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, and Vulert will analyze it for any open-source vulnerabilities, including this one.
No, there is no known workaround for this vulnerability. It is crucial to update the Linux Kernel to the fixed version to mitigate the risk.
You can find more information about the fix in the Linux Kernel repository. The fix was implemented in commit a397cb4576fc2fc802562418b3a50b8f67d60d31 of the Linux Kernel version v5.10.52.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.