Use-after-free vulnerability in wdt_startup() function in watchdog
Summary
GSD-2021-1001480: watchdog: Fix possible use-after-free in wdt_startup(). Affects Kernel versions < 63a3dc24bd053792f84cb4eef0168b1266202a02. 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 part of the Linux Kernel ecosystem and is responsible for monitoring the system's health and ensuring its stability. It includes a wdt_startup() function that initializes the watchdog timer. However, a use-after-free vulnerability has been discovered in this function, which could potentially lead to security breaches and system instability.
Vulnerability Detail
The use-after-free vulnerability in the wdt_startup() function arises when the function continues to reference memory after it has been freed. This can result in unpredictable behavior, including the execution of arbitrary code or a system crash. Attackers may exploit this vulnerability to gain unauthorized access to the system or disrupt its normal functioning. The vulnerability has been fixed in Linux Kernel version v4.4.276 by commit 63a3dc24bd053792f84cb4eef0168b1266202a02.
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 specific workaround mentioned for this vulnerability. Updating the Linux Kernel to the fixed version is the recommended solution.
Conclusion
The use-after-free vulnerability in the wdt_startup() function of the watchdog package can have serious security implications, including the execution of arbitrary code and system crashes. It is crucial to update the Linux Kernel to version v4.4.276 or later to fix this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The use-after-free vulnerability in the wdt_startup() function can potentially allow attackers to execute arbitrary code or cause a system crash, leading to unauthorized access or disruption of normal system functioning.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
Yes, a patch has been released in Linux Kernel version v4.4.276. It is recommended to update the kernel to this version or later to fix the vulnerability.
Yes, this vulnerability can be exploited remotely if the affected system is accessible over the network. Attackers can send specially crafted requests to trigger the use-after-free vulnerability and potentially gain unauthorized access or disrupt the system.
There are no known instances of this vulnerability being exploited in the wild at the moment. However, it is important to apply the patch and update the Linux Kernel to mitigate the risk.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.