Kernel memory corruption via unchecked SDMA size arithmetic
Published May 22, 2024 · Updated Aug 5, 2026
Buffer overflow in the qib user-SDMA path in affected Linux kernels allows local users to corrupt kernel memory through crafted buffers. qib_user_sdma_queue_pkts accumulates user-controlled lengths into bytes_togo and derives addrlimit and allocation sizes without detecting integer overflow or field truncation. Reachability requires local access to the qib user-SDMA interface; successful corruption can crash the host or alter protected kernel state.
Summary
What happened
Buffer overflow in the qib user-SDMA path in affected Linux kernels allows local users to corrupt kernel memory through crafted buffers. qib_user_sdma_queue_pkts accumulates user-controlled lengths into bytes_togo and derives addrlimit and allocation sizes without detecting integer overflow or field truncation. Reachability requires local access to the qib user-SDMA interface; successful corruption can crash the host or alter protected kernel state.
The record
- CVE
- CVE-2021-47485
- Published
- May 22, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-120, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 22, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.35
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <0d4395477741608d123dad51def9fe50b7ebe952
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <0f8cdfff06829a0b0348b6debc29ff6a61967724
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <3f57c3f67fd93b4da86aeffea1ca32c484d054ad
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <60833707b968d5ae02a75edb7886dcd4a957cf0d
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <73d2892148aa4397a885b4f4afcfc5b27a325c42
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <bda41654b6e0c125a624ca35d6d20beb8015b5d0
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <c3e17e58f571f34c51aeb17274ed02c2ed5cf780
- Affected versionversion=f931551bafe1f10ded7f5282e2aa162c267a2e5d <d39bf40e55e666b5905fdbd46a0dced030ce87be
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo