CVE-2026-143420: iommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands

Published Dec 5, 2026
·
Updated

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

iommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands

The armvsmmucacheinvalidate() op hands a guest's invalidation commands to the trusted main command queue after enforcing only the VMID or the SID, and passes the rest of the command through to the queue unchanged.

That lets a guest set bits the host never meant to forward: a reserved or undefined bit makes a command malformed; per the Arm SMMUv3 specification, in its section 4.1.3 "Command errors", a CERRORILL is raised, among other cases, when:

A valid command opcode is used and a Reserved or undefined field is optionally detected as non-zero, which results in the command being treated as malformed.

Restrict each opcode to the fields that the driver supports and reject the command with -EIO if it sets any other bit, before the command reaches the queue. This stops the host from forwarding any bit whose meaning it does not control. Document this contract in the uAPI header, so user space must take the responsibility to forward valid commands only.

Some fields and whole opcodes are legal only on an SMMU that implements the matching feature, so accept them conditionally:

- NUM, SCALE, TG and TTL need FEATRANGEINV. - SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG need SMMUIDR5.DS, gated on ARMSMMUFEATDS so that a VMM exposing DS from the reported IDR5 register keeps working. - ASID is limited to asidbits, since its upper 8 bits are RES0 on an SMMU that only supports 8-bit ASIDs. - ATCINV needs FEATATS. Per the specification's section 4.5 "ATS and PRI", CMDATCINV is ILLEGAL when:

SMMUIDR0.ATS == 0 and this command is issued on a Non-secure or Secure Command queue.

- SSV, SSID and Global need a non-zero ssidbits. Without it, setting them is not illegal but CONSTRAINED UNPREDICTABLE, which a guest should not be able to provoke. Global also takes effect only when SSV == 1, broadening the invalidation from the one SSID to all the PASIDs of the single device that the SID field addresses.

Some values inside the accepted fields are Reserved too:

- NUM == 0, SCALE == 0 and TTL == 0 together are a Reserved combination and cause a CERRORILL. - NUM, SCALE and TTL turn RES0 when TG == 0. - An ATCINV Size above 52, the invalidate-all span, is permitted to raise a CERRORILL.

Reject these Reserved values the same way. In contrast, an out-of-range address or ID value is defined as CONSTRAINED UNPREDICTABLE that would be scoped to the guest itself, so it does not deserve a check.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In arm_vsmmu_cache_invalidate(), validate each guest invalidation command against the opcode’s supported fields and the SMMU feature bits; reject unsupported bits and Reserved values with -EIO before forwarding the command to the host command queue.

Event History

Dec 5, 2026
CVE Published
via MITRE·01:20 AM
Data Sourced
via MITRE·01:20 AM
Description

Frequently Asked Questions

1

What access is needed to trigger this issue?

An attacker needs to be able to supply guest invalidation commands through the arm_vsmmu_cache_invalidate() path. The issue occurs when those commands reach the trusted main command queue with unsupported, reserved, or undefined bits set.

2

What happens when malformed commands are forwarded?

A command with a valid opcode but non-zero reserved or undefined fields can be treated as malformed by the SMMU. The Arm SMMUv3 specification identifies this condition as one that can raise CERROR_ILL.

3

What can be done before the fix is deployed?

Ensure user space forwards only valid invalidation commands and does not set fields unsupported by the relevant opcode or SMMU features. The documented uAPI contract places responsibility for forwarding valid commands on user space.

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