Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-80633

published high CVSS 3.1 · 8.8

iommufd: Take dma_resv lock before dma_buf_unpin() in release path

Published
28 Aug 2026, 06:48:48 UTC
Updated
29 Aug 2026, 06:21:32 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8c5f9645c3893f0db679d9affe4fe4e665b990dd to < cc69d0332421fd2943b66dbe5e597bf4fd5af126 · 8c5f9645c3893f0db679d9affe4fe4e665b990dd to < e745cd2c749e557c14a15ac931761c3f58c24489 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: iommufd: Take dma_resv lock before dma_buf_unpin() in release path dma_buf_unpin() requires the caller to hold the exporter's dma_resv lock: void dma_buf_unpin(struct dma_buf_attachment *attach) { ... dma_resv_assert_held(dmabuf->resv); ... } iopt_release_pages() calls dma_buf_unpin() without taking that lock, so every iommufd_ioas_destroy()/iommufd_ioas_unmap() that releases the last reference on a DMABUF-backed iopt_pages triggers a WARN. This was hit while running tools/testing/selftests/iommu/iommufd: WARNING: drivers/dma-buf/dma-buf.c:1137 at dma_buf_unpin+0x62/0x70 RIP: 0010:dma_buf_unpin+0x62/0x70 Call Trace: <TASK> dma_buf_unpin+0x62/0x70 iopt_release_pages+0xe4/0x190 iopt_unmap_iova_range+0x1c7/0x290 iopt_unmap_all+0x1a/0x30 iommufd_ioas_destroy+0x1d/0x50 iommufd_fops_release+0x93/0x150 __fput+0xfc/0x2c0 __x64_sys_close+0x3d/0x80 do_syscall_64+0x65/0x180 </TASK> Take the dma_resv lock around dma_buf_unpin() in iopt_release_pages(), matching the iopt_map_dmabuf() convention. dma_buf_detach() acquires the reservation lock internally, so it must remain outside the locked region.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
8.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Scenarios
en: AV:L - The bug is reached only via local syscalls on /dev/iommu or VFIO-compat iommufd: open, IOMMU_IOAS_MAP_FILE with a dma-buf fd, then IOMMU_IOAS_UNMAP/close triggers iopt_release_pages()->dma_buf_unpin(); no network or packet handler is involved. AC:L - Every teardown of the last dma-buf-backed iopt_pages deterministically hits dma_buf_unpin() without dma_resv; an attacker also controls concurrent invalidate/revoke via IOMMU_IOAS_UNMAP and dma_buf_invalidate_mappings (selftest revoke or VFIO PCI dmabuf revoke). PR:L - No init-namespace root or special capability is required for the IOAS map/unmap path once a process can open iommufd (0660) and hold a compatible dma-buf fd, as in cloud GPU/VFIO passthrough tenants or iommufd selftests. UI:N - Exploitation requires no victim interaction; the attacker programmatically creates the IOAS dma-buf mapping and drives unmap/close and optional concurrent revoke through their own file descriptors and ioctl calls. S:C - Missing dma_resv locking during dma-buf unpin/detach races dma_buf_invalidate_mappings and can leave stale IOMMU IOVA-to-physical mappings or permit buffer movement while DMA views remain, breaking the IOMMU/DMA isolation boundary. C:H - Concurrent dma_resv-protected invalidation during unpin without the reservation lock can race teardown of iopt_pages/dmabuf attachments and yield kernel heap use-after-free or stale mapping visibility exploitable for arbitrary kernel memory read. I:H - Racing unpin without dma_resv against invalidate/revoke can leave IOMMU page tables pointing at repinned/moved exporter pages, giving a device DMA write primitive to attacker-influenced physical memory and enabling control-flow corruption. A:H - The missing lock triggers dma_resv_assert_held WARN on every dma-buf IOAS unmap/destroy (reproduced in iommufd selftests), and concurrent teardown races can provoke kernel oops/panic or wedge GPU/VFIO+iommufd workloads.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8c5f9645c3893f0db679d9affe4fe4e665b990dd to < cc69d0332421fd2943b66dbe5e597bf4fd5af126 (affected · git)8c5f9645c3893f0db679d9affe4fe4e665b990dd to < e745cd2c749e557c14a15ac931761c3f58c24489 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

iommufd: Take dma_resv lock before dma_buf_unpin() in release path

Provenance

Schema
5.2
Searchable
yes
Content hash
d3ee6055308aa94def70dd0e467d6ac8b0101bc1a853561cc11bfdd1bbbe7ffc
Ingested
23 Sep 2026, 09:34:40 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected