Buffer Overflow Vulnerability in IB/qib Package
Summary
GSD-2021-1001924: IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields. Affects Kernel versions >= f931551bafe1f10ded7f5282e2aa162c267a2e5d, < bda41654b6e0c125a624ca35d6d20beb8015b5d0. 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 IB/qib package is a part of the Linux Kernel ecosystem and is responsible for providing InfiniBand (IB) support for the QLogic InfiniPath adapter. It enables high-speed communication between servers and devices in a cluster. The package includes the struct qib_user_sdma_pkt, which is used for managing data transfers between user space and the InfiniBand hardware. However, a buffer overflow vulnerability has been discovered in the fields of this structure.
Vulnerability Detail
The buffer overflow vulnerability in the struct qib_user_sdma_pkt fields allows an attacker to overwrite adjacent memory locations, potentially leading to arbitrary code execution or system crashes. This vulnerability was introduced in version v2.6.35 of the Linux Kernel and has been fixed in version v4.4.292. 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.
Conclusion
The buffer overflow vulnerability in the IB/qib package's struct qib_user_sdma_pkt fields can be mitigated by updating the Linux Kernel to version v4.4.292 or later. It is important to promptly apply this fix to protect against potential arbitrary code execution or system crashes. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for Kernel →
FAQ
The IB/qib package provides InfiniBand support for the QLogic InfiniPath adapter in the Linux Kernel.
A buffer overflow vulnerability occurs when a program writes data beyond the boundaries of a fixed-size buffer, potentially overwriting adjacent memory locations.
The buffer overflow vulnerability in the struct qib_user_sdma_pkt fields could allow an attacker to execute arbitrary code or crash the system.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file to the playground.
For more details about this vulnerability, you can refer to the source at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1001xxx/GSD-2021-1001924.json
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.