CVE-2026-143336: vdpa_sim: serialize IOTLB updates with dataplane access

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

vdpasim: serialize IOTLB updates with dataplane access

The simulator translates IOTLB entries into iovecs or bvecs under iommulock, then drops the lock before copying data. A concurrent DMA unmap can delete the mapping and release its pinned backing pages while the copy is still in progress, leading to a UAF in copyfromiter().

Use the existing simulator mutex to serialize DMA map changes with the full backend work function. Also make vhost-vdpa stop device access before unpinning the backing pages. Otherwise, waiting in the simulator DMA unmap callback happens after the pages have already been released and cannot protect their lifetime.

Keep iommulock for the IOTLB table itself and avoid adding a second long-lived lock to the simulator.

I found this bug myself, though the patch was written with AI assistance.

Affected Software

7 affected componentsFixes available
Linux Linux kernel
linux/kernel>=5.7.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7
debian/linux*
debian/linux*
debian/linux*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7

Event History

Dec 3, 2026
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via OSV·09:21 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The issue requires concurrent dataplane copying and DMA unmapping in the vdpa_sim path. The unmap can remove an IOTLB mapping and release pinned backing pages after the copy operation has obtained iovecs or bvecs but before it finishes using them.

2

What is the impact of a successful race?

The race can cause a use-after-free in _copy_from_iter() when the backend copy continues after its backing pages have been released.

3

What mitigates the issue if an update cannot be applied immediately?

The provided data identifies the vulnerable condition as concurrent DMA map changes and dataplane access in vdpa_sim, but does not specify a supported workaround. Reducing or avoiding such concurrent activity would address the described race condition, though no configuration-level mitigation is provided.

4

How does the fix prevent the use-after-free?

The fix uses the existing simulator mutex to serialize DMA map changes with the full backend work function. It also makes vhost-vdpa stop device access before unpinning backing pages, ensuring pages remain valid while backend copying is in progress.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203