CVE-2021-47485Published May 22, 2024 · May 22Updated Aug 5
IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f931551bafe1f10ded7f5282e2aa162c267a2e5d · < c3e17e58f571f34c51aeb17274ed02c2ed5cf780| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
Overflowing either addrlimit or bytes_togo can allow userspace to trigger a buffer overflow of kernel memory. Check for overflows in all the places doing math on user controlled buffers.
From the CVE record · Linux
The Linux kernel’s IB/qib code does not adequately check for overflow when calculating sizes for user-controlled buffers. A local userspace process can trigger a kernel-memory buffer overflow by overflowing the addrlimit or bytes_togo fields.
Engineers running Linux kernels with the IB/qib component should check their kernel versions; affected versions were not specified.