Kernel crash via zero-page-count udmabuf allocation
Published Feb 26, 2025 · Updated May 11, 2026
Improper input validation in Linux kernel udmabuf allows local users to crash the kernel through a zero-size creation request. The udmabuf creation path derives ubuf->pagecount from the user-supplied list size and passes zero to kmalloc_array, leaving ubuf->pages as ZERO_PTR before scatter-gather allocation. A local user able to submit an udmabuf creation request can trigger a general protection fault and interrupt the host.
Summary
What happened
Improper input validation in Linux kernel udmabuf allows local users to crash the kernel through a zero-size creation request. The udmabuf creation path derives ubuf->pagecount from the user-supplied list size and passes zero to kmalloc_array, leaving ubuf->pages as ZERO_PTR before scatter-gather allocation. A local user able to submit an udmabuf creation request can trigger a general protection fault and interrupt the host.
The record
- CVE
- CVE-2021-47649
- Published
- Feb 26, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 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=4.20
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <2b6dd600dd72573c23ea180b5b0b2f1813405882
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <5d50f851dd307c07ca5591297093f19967c834a9
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <811b667cefbea9cb7511a874b169d6a92907137e
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <9e9b4a269f84d3230f2af84ff42322db676440d9
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <a3728d32fc61eb0fe283cb8ff60b2c8f751e2202
- Affected versionversion=fbb0de795078190a9834b3409e4b009cfb18a6d4 <b267a8118c2b171bf7d67b90ed64154eeab9fae0
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