CVE-2021-47485

IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields

State
Published
Severity
7.8 High
Published
May 22, 2024
Updated
Aug 5, 2026
Reserved
May 22, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before bda41654b6e0c125a624ca35d6d20beb8015b5d0Affected
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before 3f57c3f67fd93b4da86aeffea1ca32c484d054adAffected
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before 60833707b968d5ae02a75edb7886dcd4a957cf0dAffected
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before 73d2892148aa4397a885b4f4afcfc5b27a325c42Affected
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before 0f8cdfff06829a0b0348b6debc29ff6a61967724Affected
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before c3e17e58f571f34c51aeb17274ed02c2ed5cf780Affected
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before 0d4395477741608d123dad51def9fe50b7ebe952Affected
  • f931551bafe1f10ded7f5282e2aa162c267a2e5d to before d39bf40e55e666b5905fdbd46a0dced030ce87beAffected
LinuxLinux
  • 2.6.35Affected
  • before 2.6.35Not affected
  • 4.4.292 through 4.4.*Not affected
  • 4.9.290 through 4.9.*Not affected
  • 4.14.255 through 4.14.*Not affected
  • 4.19.216 through 4.19.*Not affected
  • 5.4.157 through 5.4.*Not affected
  • 5.10.77 through 5.10.*Not affected
  • 5.14.16 through 5.14.*Not affected
  • 5.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.