CVE-2025-38625
NoneCVSS
—
EPSS
0.2%
Published
Aug 22, 2025
CISA due date
—
Cloudanix analysis
A driver bug prevents certain network devices from starting correctly on Linux systems that use advanced memory isolation features, requiring a software update to restore normal operation.
- Exploitation
- Other
- Attacker needs
- None
- Complexity
- Theoretical
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Other
- Remediation
- Patch
- Effort
- Low
- Patch risk
- Low
What it actually does
Missing detach_ioas callback in vfio_device_ops for pds_vfio_pci driver causes WARN_ON in __vfio_register_dev and probe failure (-EINVAL) when CONFIG_IOMMUFD is enabled.
Why it matters to the business
Systems relying on pds_vfio_pci devices under IOMMUFD configurations experience driver initialization failures, blocking VFIO device attachment and related virtualization or hardware passthrough workloads; prevalence in Linux distributions and container images increases operational risk.
How an attack unfolds
No attacker exploitation is possible; the issue is a benign driver registration failure during module load or device binding. Listed threat actors reference unrelated privilege-escalation CVEs and do not apply.
How to fix it
Update Linux kernel to commit 7dbfae90c5a33f6b694e7068bc9522cc2655373d or later; for Chainguard packages upgrade openjdk-11-openj9* to 0.53.0-r0. Rebuild and reboot systems using affected pds_vfio_pci configurations.
How to confirm the fix worked
Confirm presence of vfio_iommufd_physical_detach_ioas assignment in pds_vfio_pci vfio_device_ops after update; attempt device bind under CONFIG_IOMMUFD and verify successful probe without WARN_ON.
Typical attack path
- Load pds_vfio_pci driver with CONFIG_IOMMUFD enabled
- Bind device to driver
- vfio_register_dev calls unset detach_ioas pointer
- Kernel emits WARN_ON and returns -EINVAL, aborting probe
How to detect it
Review kernel logs for the exact WARN_ON at drivers/vfio/vfio_main.c:317 and probe failure messages containing pds_vfio_pci; no post-exploitation artifacts exist because the condition prevents driver attachment.
What your security team should do
- Prioritize kernel and package upgrades within 30 days given 431 days since publication and slight EPSS increase
- Audit IOMMUFD-enabled hosts for pds_vfio_pci usage and schedule maintenance windows
- Monitor vendor advisories for backported fixes in distribution kernels
The record
In the Linux kernel, the following vulnerability has been resolved: vfio/pds: Fix missing detach_ioas op When CONFIG_IOMMUFD is enabled and a device is bound to the pds_vfio_pci driver, the following WARN_ON() trace is seen and probe fails: WARNING: CPU: 0 PID: 5040 at drivers/vfio/vfio_main.c:317 __vfio_register_dev+0x130/0x140 [vfio] <...> pds_vfio_pci 0000:08:00.1: probe with driver pds_vfio_pci failed with error -22 This is because the driver's vfio_device_ops.detach_ioas isn't set. Fix this by using the generic vfio_iommufd_physical_detach_ioas function.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:13 | linux | 0 | No fix |
| Debian:14 | linux | 0 | No fix |
| Debian:14 | linux | 0 | 6.16.3-1 |
| Linux | Kernel | 6.6.0 | 6.6.102 |
| Mageia:9 | kernel | 0 | 6.6.105-1.mga9 |
| Mageia:9 | kernel-linus | 0 | 6.6.105-1.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.1.10-10.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-86.mga9 |
| Mageia:9 | mageia-repos | 0 | 9-4.mga9 |
| Mageia:9 | meta-task | 0 | 9-4.mga9 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39884 In the Linux kernel, the following vulnerability has been resolved: btrfs: fix subvolume… Also affects linux
- CVE-2025-39886 In the Linux kernel, the following vulnerability has been resolved: bpf: Tell memcg to… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39880 In the Linux kernel, the following vulnerability has been resolved: libceph: fix invalid… Also affects linux
- CVE-2025-39881 In the Linux kernel, the following vulnerability has been resolved: kernfs: Fix UAF in… Also affects linux
- CVE-2025-39882 In the Linux kernel, the following vulnerability has been resolved: drm/mediatek: fix… Also affects linux