Service interruption via sync-file fence leaks
Published May 21, 2024 · Updated May 11, 2026
Resource leak in the Linux kernel's dma-buf component allows local users to exhaust memory through repeated failed sync-file merges. The sync_file merge path calls dma_fence_get() for each fence but omits matching dma_fence_put() calls after add_fence() failures and can leave the fences array allocated after krealloc_array() failures. A low-privileged local process must repeatedly drive these failure paths; resulting kernel-memory depletion can interrupt service without exposing or modifying data.
Summary
What happened
Resource leak in the Linux kernel's dma-buf component allows local users to exhaust memory through repeated failed sync-file merges. The sync_file merge path calls dma_fence_get() for each fence but omits matching dma_fence_put() calls after add_fence() failures and can leave the fences array allocated after krealloc_array() failures. A low-privileged local process must repeatedly drive these failure paths; resulting kernel-memory depletion can interrupt service without exposing or modifying data.
The record
- CVE
- CVE-2021-47305
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-617, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 2024CVE 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.9
- Affected versionversion=a02b9dc90d844cc7df7b63264e7920cc425052d9 <0d514185ae792d3a1903c8e1a83899aa996705ce
- Affected versionversion=a02b9dc90d844cc7df7b63264e7920cc425052d9 <19edcd97727aae9362444a859a24d99a8730cb27
- Affected versionversion=a02b9dc90d844cc7df7b63264e7920cc425052d9 <19f51c2529339280d2c8c6427cd3e21ddf1ac3f8
- Affected versionversion=a02b9dc90d844cc7df7b63264e7920cc425052d9 <41f45e91c92c8480242ea448d54e28c753b13902
- Affected versionversion=a02b9dc90d844cc7df7b63264e7920cc425052d9 <e0355a0ad31a1d677b2a4514206de4902bd550e8
- Affected versionversion=a02b9dc90d844cc7df7b63264e7920cc425052d9 <ffe000217c5068c5da07ccb1c0f8cce7ad767435
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.
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