VDB

CVE-2026-72095

CVE-2026-72095 PUBLISHED CVSS 7.8 HIGH

dma-fence: Make dma_fence_dedup_array() robust against 0-count input

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: dma-fence: Make dma_fence_dedup_array() robust against 0-count input dma_fence_dedup_array() returns 1 when called with num_fences == 0: the for-loop body never executes, j stays at 0, and the final `return ++j` yields 1. This contradicts both the kernel-doc ("Return: Number of unique fences remaining in the array") and the natural expectation that 0 input gives 0 output. The caller __dma_fence_unwrap_merge() bails out via the `if (count == 0 || count == 1)` fast path and so is save. But amdgpu_userq_wait_*() could reach the dedup call with a zero local count and dereference an uninitialized fence slot in the array. Make the contract match the documentation by returning 0 early. This also skips an unnecessary sort() call on an empty array.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
python3-perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-headersAmazon Linux1:6.18.41-94.142.amzn2023
kernel-livepatch-6.18.41-94.142Amazon Linux1:1.0-0.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.41-94.142.amzn2023
perf6.18Amazon Linux1:6.18.41-94.142.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.41-94.142.amzn2023

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux575ec9b0c2f11f40535ea737ed5a64792780d1ef, 575ec9b0c2f11f40535ea737ed5a64792780d1ef, 575ec9b0c2f11f40535ea737ed5a64792780d1ef
LinuxLinux6.16, 0, 6.18.40
amazon:2023kernel6.180
amazon:2023python3-perf6.180
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.18.41-94.1420
amazon:2023microvm-kernel6.180
amazon:2023perf6.180
amazon:2023kernel6.18-modules-extra-common0
linuxlinux_kernel6.16, 6.16, 6.16
amazon:2023kernel6.18-tools-devel0
LinuxLinux7.2, 6.16, 0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools0
amazon:2023bpftool6.180

Timeline

  • Aug 15, 2026 Coalition ESS Score
  • Aug 15, 2026 CVE Published
  • Aug 19, 2026 Security Advisory
  • Aug 24, 2026 EPSS Score (12 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-72095
vulnetix vdb fixes CVE-2026-72095

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-72095/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›