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
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6.11 | 6.12.50 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 6.16.10-1 | — |
| Debian 13 | linux | 6.12.57-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | linux | 6.17.0-6.6 | — |
| Ubuntu 25.10 | linux-aws +2 | 6.17.0-1003.3 | — |
| Ubuntu 25.10 | linux-azure | 6.17.0-1006.6 | — |
| Ubuntu 25.10 | linux-azure-fde | No fix yet | — |
| Ubuntu 25.10 | linux-raspi | 6.17.0-1004.4 | — |
| Ubuntu 25.10 | linux-realtime | 6.17.0-1002.3 | — |
| Ubuntu 25.10 | linux-riscv | 6.17.0-6.6.1 | — |
| Ubuntu 24.04 LTS | linux-riscv +18 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime-6.14 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | rv +76 | 6.12.0-124.27.1.el10_1 | RHSA-2026:0453 |
| RHEL 9 | rv +75 | 5.14.0-611.16.1.el9_7 | RHSA-2025:23241 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10.0 EUS | rv +77 | 6.12.0-55.50.1.el10_0 | RHSA-2025:23250 |
| RHEL 9.6 EUS | rv +77 | 5.14.0-570.72.1.el9_6 | RHSA-2025:22802 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | kernel-doc +1 | 6.12.0-124.27.1.el10_1 | ALSA-2026:0453 |
| AlmaLinux 9 | rv +73 | 5.14.0-611.16.1.el9_7 | ALSA-2025:23241 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | kernel | 6.12.0-124.27.1.el10_1 | RLSA-2026:0453 |
| Rocky Linux 9 | kernel | 5.14.0-611.16.1.el9_7 | RLSA-2025:23241 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | rv +29 | 6.12.0-124.27.1.el10_1 | ELSA-2026-0453 |
| Oracle Linux 9 | rv +28 | 5.14.0-611.16.1.el9_7 | ELSA-2025-23241 |
Advisories 11
- RHSA-2026:0453 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- WID-SEC-2025-2298 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
- ALSA-2025:23241 Important: kernel security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2026:0453 Important: kernel security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:23241 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Oct 5, 2026
- RHSA-2025:23250 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Oct 5, 2026
- RHSA-2025:22802 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jul 30, 2026
- RLSA-2026:0453 Important: kernel security update Rocky Linux Security Advisories · Jan 17, 2026
- ELSA-2026-0453 Important: kernel security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Jan 12, 2026
- RLSA-2025:23241 Important: kernel security update Rocky Linux Security Advisories · Dec 23, 2025
- ELSA-2025-23241 Important: kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Dec 18, 2025