Vulnerability in Kernel: net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link
Summary
GSD-2022-1002297: net: ethernet: stmmac: fix altr_tse_pcs function when using a fixed-link. Affects Kernel versions >= fb3bbdb859891e6bc27fd1afb3a07319f82c2ee4, < e2423aa174e6c3e9805e96db778245ba73cdd88c. 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 provides core functionality and interfaces with hardware devices. It manages system resources, facilitates communication between software and hardware, and ensures the stability and security of the system. The stmmac driver in the Kernel is responsible for handling Ethernet communication. It includes the altr_tse_pcs function, which is used when a fixed-link configuration is employed. This function has a vulnerability that needs to be addressed.
Vulnerability Detail
The altr_tse_pcs function in the stmmac driver of the Kernel has a security vulnerability. The function is not properly implemented when a fixed-link configuration is used, leading to potential security issues. Attackers may exploit this vulnerability to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition. The vulnerability was introduced in version v4.8 of the Kernel and is fixed in version v4.19.239.
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
If updating the Kernel is not immediately feasible, a possible workaround is to disable the use of the altr_tse_pcs function when using a fixed-link configuration. This can be achieved by modifying the relevant configuration files or scripts to bypass the function. However, this workaround may have limitations and should be considered temporary until the Kernel is updated.
Conclusion
The vulnerability in the Kernel's stmmac driver's altr_tse_pcs function poses a security risk when using a fixed-link configuration. It is crucial to update the Kernel to version v4.19.239 or later to mitigate this vulnerability. If immediate updating is not possible, a temporary workaround can be implemented by disabling the function. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
This vulnerability could potentially allow attackers to gain unauthorized access, execute arbitrary code, or cause a denial-of-service condition on systems using the affected version of the Kernel.
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 to the playground, and it will analyze and alert you if the vulnerability is detected.
At the time of this report, there are no known public exploits for this vulnerability. However, it is important to promptly update the Kernel to mitigate the risk.
Yes, this vulnerability can be exploited remotely if the affected system is accessible over a network. Attackers can potentially exploit the vulnerability without requiring physical access to the system.
The primary mitigation for this vulnerability is to update the Kernel to the fixed version. Additionally, implementing network security measures, such as firewalls and intrusion detection systems, can help reduce the risk of exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.