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-2025-39966

published high CVSS 3.1 · 7.8

iommufd: Fix race during abort for file descriptors

Published
15 Oct 2025, 07:55:50 UTC
Updated
05 Aug 2026, 12:06:35 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux07838f7fd529c8a6de44b601d4b7057e6c8d36ed to < 17195a7d754a5c6a31888702ca93f6f08f3383ad · 07838f7fd529c8a6de44b601d4b7057e6c8d36ed to < e4825368285e33d6360c6c6a6a10d2d83da06e55 · 07838f7fd529c8a6de44b601d4b7057e6c8d36ed to < 4e034bf045b12852a24d5d33f2451850818ba0c1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.50 through 6.12.* (unaffected · semver) · 6.16.10 through 6.16.* (unaffected · semver) · 6.17 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
AlmaLinux 10 kernel-abi-stablelists Advisory build 6.12.0-124.27.1.el10_1 ALSA-2026:0453
Oracle Linux 10 kernelx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
AlmaLinux 10 kernel-doc Advisory build 6.12.0-124.27.1.el10_1 ALSA-2026:0453
AlmaLinux 9 kernel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
AlmaLinux 9 kernel-64k Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-doc Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-headers Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-tools Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-devel-matched Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-modules Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-modules-core Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 kernel-zfcpdump-modules-extra Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 libperf Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 perf Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 python3-perf Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 rtla Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
AlmaLinux 9 rv Advisory build 5.14.0-611.16.1.el9_7 ALSA-2025:23241
Oracle Linux 10 kernel-abi-stablelistsx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-corex86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-cross-headersaarch64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-cross-headersx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debugx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debug-corex86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debug-develx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debug-devel-matchedx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debug-modulesx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debug-modules-corex86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debug-modules-extrax86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-debug-uki-virtx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-develx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-devel-matchedx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-docx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-headersaarch64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-headersx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-modulesx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-modules-corex86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-modules-extrax86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-modules-extra-matchedx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-toolsaarch64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453
Oracle Linux 10 kernel-toolsx86_64 Advisory build 0:6.12.0-124.27.1.el10_1 ELSA-2026-0453

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: iommufd: Fix race during abort for file descriptors fput() doesn't actually call file_operations release() synchronously, it puts the file on a work queue and it will be released eventually. This is normally fine, except for iommufd the file and the iommufd_object are tied to gether. The file has the object as it's private_data and holds a users refcount, while the object is expected to remain alive as long as the file is. When the allocation of a new object aborts before installing the file it will fput() the file and then go on to immediately kfree() the obj. This causes a UAF once the workqueue completes the fput() and tries to decrement the users refcount. Fix this by putting the core code in charge of the file lifetime, and call __fput_sync() during abort to ensure that release() is called before kfree. __fput_sync() is a bit too tricky to open code in all the object implementations. Instead the objects tell the core code where the file pointer is and the core will take care of the life cycle. If the object is successfully allocated then the file will hold a users refcount and the iommufd_object cannot be destroyed. It is worth noting that close(); ioctl(IOMMU_DESTROY); doesn't have an issue because close() is already using a synchronous version of fput(). The UAF looks like this: BUG: KASAN: slab-use-after-free in iommufd_eventq_fops_release+0x45/0xc0 drivers/iommu/iommufd/eventq.c:376 Write of size 4 at addr ffff888059c97804 by task syz.0.46/6164 CPU: 0 UID: 0 PID: 6164 Comm: syz.0.46 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0x100/0x1b0 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_fetch_sub_release include/linux/atomic/atomic-instrumented.h:400 [inline] __refcount_dec include/linux/refcount.h:455 [inline] refcount_dec include/linux/refcount.h:476 [inline] iommufd_eventq_fops_release+0x45/0xc0 drivers/iommu/iommufd/eventq.c:376 __fput+0x402/0xb70 fs/file_table.c:468 task_work_run+0x14d/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xeb/0x110 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x41c/0x4c0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

10

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached through `ioctl(IOMMU_FAULT_QUEUE_ALLOC)` / `IOMMU_VEVENTQ_ALLOC` on an open iommufd character device (`/dev/iommu` or `/dev/vfio/vfio`). This requires local access to the system; there is no network-facing path to iommufd. AC:L - The abort path is triggered deterministically by the attacker — supply a read-only ioctl argument buffer so `iommufd_ucmd_respond()`'s `copy_to_user()` fails, or set a low `RLIMIT_NOFILE` so `get_unused_fd_flags()` fails — and the deferred-`fput()`-after-`kfree()` ordering then always holds. The attacker also controls the reallocation side by spraying from sibling threads, so no condition lies outside their influence. PR:L - No capability check exists anywhere on the path; `IOMMU_FAULT_QUEUE_ALLOC` needs only an open iommufd fd and no attached device, and `/dev/vfio/vfio` is registered with mode 0666 (world-writable) whenever `CONFIG_IOMMUFD_VFIO_CONTAINER` is enabled, giving any unprivileged local user the full iommufd command set. UI:N - The attacker performs the entire sequence — open the device, issue the ioctl with a faulting buffer, spray — within their own process. No victim action of any kind is involved. S:U - The defect corrupts the kernel's own heap and object refcounting inside iommufd's control plane; it does not bypass IOMMU translation or escape a DMA/virtualization protection domain. The vulnerable and impacted components are both the host kernel, so the security authority is unchanged. C:H - The use-after-free lets the attacker reallocate the freed `iommufd_eventq` with controlled data, and `iommufd_ctx_put(eventq->ictx)` then dereferences an attacker-supplied pointer from that memory, providing the pointer-chasing primitive needed to disclose arbitrary kernel memory. I:H - The freed object is written after free (`refcount_dec(&eventq->obj.users)`) at a fixed offset in a sprayable kmalloc slab, and `fput()` is invoked on an attacker-influenced pointer — refcount underflow plus a controlled `struct file` release are classic stepping stones to arbitrary write and local privilege escalation. A:H - Even without successful heap grooming the use-after-free writes into freed slab memory and dereferences stale pointers, producing the KASAN-reported corruption and a kernel oops/panic. The trigger is deterministic and repeatable by any local user.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 07838f7fd529c8a6de44b601d4b7057e6c8d36ed to < 17195a7d754a5c6a31888702ca93f6f08f3383ad (affected · git)07838f7fd529c8a6de44b601d4b7057e6c8d36ed to < e4825368285e33d6360c6c6a6a10d2d83da06e55 (affected · git)07838f7fd529c8a6de44b601d4b7057e6c8d36ed to < 4e034bf045b12852a24d5d33f2451850818ba0c1 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.50 through 6.12.* (unaffected · semver)6.16.10 through 6.16.* (unaffected · semver)6.17 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

iommufd: Fix race during abort for file descriptors

Provenance

Schema
5.2
Searchable
yes
Content hash
09d41dbef5c7fab51b36e65ad8ea0e1a3a607fde88e3ef47f7683318adb2b77f
Ingested
23 Sep 2026, 08:47:25 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