Null Pointer Dereference in tty: synclink_gt
Summary
GSD-2022-1002905: tty: synclink_gt: Fix null-pointer-dereference in slgt_clean(). Affects Kernel versions < ddd67751ab86c6a65f95c35293c42f85a42ac05d. 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 tty (teletypewriter) subsystem in the Linux Kernel provides support for terminal devices, serial ports, and other similar hardware. One of the drivers in this subsystem is synclink_gt, which is responsible for handling synchronous serial links. The synclink_gt driver allows communication over serial connections and is commonly used in industrial control systems and embedded devices. However, a vulnerability has been discovered in the synclink_gt driver that can lead to a null pointer dereference.
Vulnerability Detail
The vulnerability in the synclink_gt driver occurs in the slgt_clean() function. Under certain conditions, this function can be called with a null pointer, leading to a null pointer dereference. An attacker could exploit this vulnerability by sending specially crafted input to a system that has the synclink_gt driver enabled. If successful, the attacker may be able to crash the system or potentially execute arbitrary code with kernel privileges. This vulnerability has been assigned the ID GSD-2022-1002905 and has been fixed in Linux Kernel version v5.17.15.
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
As a workaround, users can disable the synclink_gt driver if it is not required for their system. This can be done by removing the module or disabling the corresponding kernel configuration option. However, it is recommended to apply the official fix by updating the kernel to ensure full protection against this vulnerability.
Conclusion
The null pointer dereference vulnerability in the tty: synclink_gt driver can potentially lead to system crashes or arbitrary code execution with kernel privileges. It is crucial to update the Linux Kernel to version v5.17.15 or later to mitigate this vulnerability. Users can obtain the updated kernel from the official Linux Kernel repository. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can potentially allow an attacker to crash the system or execute arbitrary code with kernel privileges.
Systems running the Linux Kernel with the synclink_gt driver enabled are affected by this vulnerability.
There is no information available regarding exploitation of this vulnerability in the wild at the time of this report.
The recommended mitigation is to update the Linux Kernel to version v5.17.15 or later, which includes the fix for this vulnerability.
More information about this vulnerability can be found in the vulnerability database maintained by the Cloud Security Alliance. The source link is provided in the references section of this report.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.