Fix possible use-after-free in wdt_turnoff() in Kernel
Summary
GSD-2021-1001379: watchdog: sc520_wdt: Fix possible use-after-free in wdt_turnoff(). Affects Kernel versions < 522e75ed63f67e815d4ec0deace67df22d9ce78e. 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 is a critical component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functionalities, such as process management, memory management, and device drivers. The sc520_wdt module in the Kernel is responsible for controlling the watchdog timer on SC520-based embedded systems. A watchdog timer is a hardware component that resets the system if it becomes unresponsive. However, a vulnerability has been discovered in the wdt_turnoff() function of the sc520_wdt module, which could lead to a use-after-free issue.
Vulnerability Detail
The vulnerability in the wdt_turnoff() function of the sc520_wdt module could allow an attacker to exploit a use-after-free issue. A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed. In this case, an attacker could potentially manipulate the freed memory to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven yet.
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. However, users can mitigate the risk by updating their Kernel to the fixed version.
Conclusion
The vulnerability in the wdt_turnoff() function of the sc520_wdt module has been identified and fixed in Linux Kernel version v4.19.198. Users are advised to update their Kernel to the fixed version to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The Kernel is a critical component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software.
The sc520_wdt module is responsible for controlling the watchdog timer on SC520-based embedded systems.
A use-after-free vulnerability occurs when a program continues to use a pointer after the memory it points to has been freed.
The potential consequences of this vulnerability include arbitrary code execution or denial-of-service conditions.
To fix this vulnerability, users should update their Kernel to version v4.19.198 or later.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.