PT-2026-168725
CVE-2026-143420
·
Published
2026-12-05
·
Updated
2026-12-05
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
iommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands
The arm vsmmu cache invalidate() 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 CERROR ILL 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 FEAT RANGE INV.
-
SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG need SMMU IDR5.DS, gated on ARM SMMU FEAT DS so that a VMM exposing DS from the reported IDR5 register keeps working.
-
ASID is limited to asid bits, since its upper 8 bits are RES0 on an SMMU that only supports 8-bit ASIDs.
-
ATC INV needs FEAT ATS. Per the specification's section 4.5 "ATS and PRI", CMD ATC INV is ILLEGAL when:SMMU IDR0.ATS == 0 and this command is issued on a Non-secure or Secure Command queue.
-
SSV, SSID and Global need a non-zero ssid bits. 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 CERROR ILL.
- NUM, SCALE and TTL turn RES0 when TG == 0.
- An ATC INV Size above 52, the invalidate-all span, is permitted to raise a CERROR ILL.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾