AZL-118727: CVE-2026-143400 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

virtionet: check RX buffer length before DMA sync

An RX queue that uses the DMA API (rq->usepagepooldma, for example with VIRTIOFACCESSPLATFORM) syncs each received buffer with pagepooldmasyncforcpu() using the length the device wrote to the used ring, and checks that length against the posted buffer only after the sync.

With SWIOTLB bouncing (swiotlb=force, or a confidential-computing guest), the sync copies from the shared bounce buffer into the guest's private page, so an oversized length also copies the bytes the device wrote past the posted buffer over the neighbouring page pool fragments. The later check drops the packet, but the copy has already happened. A malicious device, such as a host the confidential guest does not trust, can overwrite guest kernel memory next to an RX buffer with bytes it chooses, which is enough to take an unprivileged guest process to root.

Check the length before the sync in the per-fragment loops. receivebuf() has to sync the header before the length check, because the mergeable error path reads numbuffers from it, so limit that sync to the posted length. A device that reports correct lengths sees no change.

The driver has synced with the device's length since commit 295525e29a5b ("virtionet: merge dma operations when filling mergeable buffers"), at first in virtnetrqunmap(). Commit 24fbd3967f3f ("virtionet: add pagepool support for buffer allocation") moved the sync to the pagepool call sites that this patch changes, so the patch applies to v7.1 and later. Older kernels need a separate backport that limits the sync in virtnetrqunmap().

Found by an LLM code review agent auditing users of the DMA API; the fix and this changelog were also written with an LLM coding assistant and reviewed by us. Reproduced in QEMU with swiotlb=force and iommuplatform=on, a test-only device change that reports a used length 64 bytes past the posted buffer and writes a marker there, and a guest kprobe module that reads the buffer after the sync: without this patch the marker reaches the guest page for small and mergeable buffers; with it the packets are dropped and counted in rxlengtherrors. The virtionet selftest basicfeatures.sh passes with and without mergeable buffers.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 24fbd3967f3f

Event History

Dec 3, 2026
Advisory Published
via OSV·10:18 AM
Data Sourced
via OSV·10:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which systems are realistically exposed to this issue?

Systems using virtio_net receive queues with DMA API handling are affected when RX buffers are synchronized using device-reported lengths. The described high-risk cases are SWIOTLB bouncing, including systems booted with swiotlb=force and confidential-computing guests using an untrusted host.

2

What does an attacker need to exploit it?

The attacker needs control of a malicious virtio network device, such as an untrusted host servicing a confidential guest. By reporting an oversized received-buffer length, the device can cause data written beyond the posted buffer to be copied into adjacent guest kernel memory.

3

What is the impact inside an affected guest?

Although the malformed packet is later dropped, the DMA synchronization has already overwritten neighboring page-pool fragments. The provided description states that this can be sufficient to elevate an unprivileged guest process to root.

4

What can be done if the kernel update cannot be applied immediately?

Avoid using an untrusted host or malicious virtio network device for affected guests. Where operationally possible, avoid configurations that force SWIOTLB bouncing, such as swiotlb=force.

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