net: hso: fix NULL-deref on disconnect regression
Summary
GSD-2021-1000043: net: hso: fix NULL-deref on disconnect regression. Affects Kernel versions >= 4a2933c88399c0ebc738db39bbce3ae89786d723, < d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e. 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 net package in the Linux Kernel is responsible for handling network-related functionality. It includes various drivers and protocols for network communication. One of these drivers is hso, which is used for High-Speed Option (HSO) devices. These devices are typically used for mobile broadband connections. The hso driver allows the Linux Kernel to communicate with HSO devices and manage their network connections.
Vulnerability Detail
A vulnerability has been discovered in the hso driver that can lead to a NULL-dereference when disconnecting from an HSO device. This vulnerability was introduced in Linux Kernel version v5.4.112 and fixed in v5.4.115. When a disconnect event occurs, the driver fails to handle it properly, resulting in a NULL-dereference. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition or execute arbitrary code with kernel privileges.
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 apply the patch or update the Linux Kernel to the fixed version.
Conclusion
The hso driver in the Linux Kernel is vulnerable to a NULL-dereference issue when disconnecting from an HSO device. This vulnerability can potentially lead to a denial-of-service (DoS) condition or arbitrary code execution with kernel privileges. It is crucial to update the Linux Kernel to version v5.4.115 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The vulnerability can lead to a NULL-dereference, potentially resulting in a denial-of-service (DoS) condition or arbitrary code execution with kernel privileges.
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 Vulert will analyze it for any open-source vulnerabilities, including this one.
At the time of this report, there is no known public exploit for this vulnerability. However, it is still crucial to apply the fix to prevent any potential exploitation.
While it is technically possible to manually patch the hso driver, it is recommended to update the entire Linux Kernel to the fixed version. This ensures that all relevant security patches and updates are applied.
You can find more information about this vulnerability in the official Linux Kernel repository. The specific commits related to this vulnerability are available in the Git history.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.