{"id":"CVE-2026-143420","aliases":["EUVD-2026-145017","GHSA-hjgv-mrjf-xh74"],"status":"published","title":"iommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands\n\nThe arm_vsmmu_cache_invalidate() op hands a guest's invalidation commands\nto the trusted main command queue after enforcing only the VMID or the SID,\nand passes the rest of the command through to the queue unchanged.\n\nThat lets a guest set bits the host never meant to forward: a reserved or\nundefined bit makes a command malformed; per the Arm SMMUv3 specification,\nin its section 4.1.3 \"Command errors\", a CERROR_ILL is raised, among other\ncases, when:\n\n  A valid command opcode is used and a Reserved or undefined field is\n  optionally detected as non-zero, which results in the command being\n  treated as malformed.\n\nRestrict each opcode to the fields that the driver supports and reject the\ncommand with -EIO if it sets any other bit, before the command reaches the\nqueue. This stops the host from forwarding any bit whose meaning it does\nnot control. Document this contract in the uAPI header, so user space must\ntake the responsibility to forward valid commands only.\n\nSome fields and whole opcodes are legal only on an SMMU that implements\nthe matching feature, so accept them conditionally:\n\n - NUM, SCALE, TG and TTL need FEAT_RANGE_INV.\n - SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG\n   need SMMU_IDR5.DS, gated on ARM_SMMU_FEAT_DS so that a VMM exposing\n   DS from the reported IDR5 register keeps working.\n - ASID is limited to asid_bits, since its upper 8 bits are RES0 on an\n   SMMU that only supports 8-bit ASIDs.\n - ATC_INV needs FEAT_ATS. Per the specification's section 4.5 \"ATS and\n   PRI\", CMD_ATC_INV is ILLEGAL when:\n\n     SMMU_IDR0.ATS == 0 and this command is issued on a Non-secure or\n     Secure Command queue.\n\n - SSV, SSID and Global need a non-zero ssid_bits. Without it, setting\n   them is not illegal but CONSTRAINED UNPREDICTABLE, which a guest\n   should not be able to provoke. Global also takes effect only when\n   SSV == 1, broadening the invalidation from the one SSID to all the\n   PASIDs of the single device that the SID field addresses.\n\nSome values inside the accepted fields are Reserved too:\n\n - NUM == 0, SCALE == 0 and TTL == 0 together are a Reserved combination\n   and cause a CERROR_ILL.\n - NUM, SCALE and TTL turn RES0 when TG == 0.\n - An ATC_INV Size above 52, the invalidate-all span, is permitted to\n   raise a CERROR_ILL.\n\nReject these Reserved values the same way. In contrast, an out-of-range\naddress or ID value is defined as CONSTRAINED UNPREDICTABLE that would\nbe scoped to the guest itself, so it does not deserve a check.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2026-12-05T01:20:45Z","modified":"2026-12-05T03:30:36Z","fixes":[{"ecosystem":"Linux","package":"Kernel","fixed_in":["7.3.4"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Linux","package":"Kernel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"7.3.4"}]}]}],"products":[{"vendor":"linux","product":"linux"}],"references":[{"url":"https://git.kernel.org/stable/c/27c2ecf6c2e3411c6e6fcdaabcbb303e6da0d752","tags":["web"]},{"url":"https://git.kernel.org/stable/c/26564d25cd814dfd72a21a2c52b81e678cf02bae","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143420","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-hjgv-mrjf-xh74"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143420.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-143420","title":"iommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands\n\nThe arm_vsmmu_cache_invalidate() op hands a guest's invalidation commands\nto the trusted main command queue after enforcing only the VMID or the SID,\nand passes the rest of the command through to the queue unchanged.\n\nThat lets a guest set bits the host never meant to forward: a reserved or\nundefined bit makes a command malformed; per the Arm SMMUv3 specification,\nin its section 4.1.3 \"Command errors\", a CERROR_ILL is raised, among other\ncases, when:\n\n  A valid command opcode is used and a Reserved or undefined field is\n  optionally detected as non-zero, which results in the command being\n  treated as malformed.\n\nRestrict each opcode to the fields that the driver supports and reject the\ncommand with -EIO if it sets any other bit, before the command reaches the\nqueue. This stops the host from forwarding any bit whose meaning it does\nnot control. Document this contract in the uAPI header, so user space must\ntake the responsibility to forward valid commands only.\n\nSome fields and whole opcodes are legal only on an SMMU that implements\nthe matching feature, so accept them conditionally:\n\n - NUM, SCALE, TG and TTL need FEAT_RANGE_INV.\n - SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG\n   need SMMU_IDR5.DS, gated on ARM_SMMU_FEAT_DS so that a VMM exposing\n   DS from the reported IDR5 register keeps working.\n - ASID is limited to asid_bits, since its upper 8 bits are RES0 on an\n   SMMU that only supports 8-bit ASIDs.\n - ATC_INV needs FEAT_ATS. Per the specification's section 4.5 \"ATS and\n   PRI\", CMD_ATC_INV is ILLEGAL when:\n\n     SMMU_IDR0.ATS == 0 and this command is issued on a Non-secure or\n     Secure Command queue.\n\n - SSV, SSID and Global need a non-zero ssid_bits. Without it, setting\n   them is not illegal but CONSTRAINED UNPREDICTABLE, which a guest\n   should not be able to provoke. Global also takes effect only when\n   SSV == 1, broadening the invalidation from the one SSID to all the\n   PASIDs of the single device that the SID field addresses.\n\nSome values inside the accepted fields are Reserved too:\n\n - NUM == 0, SCALE == 0 and TTL == 0 together are a Reserved combination\n   and cause a CERROR_ILL.\n - NUM, SCALE and TTL turn RES0 when TG == 0.\n - An ATC_INV Size above 52, the invalidate-all span, is permitted to\n   raise a CERROR_ILL.\n\nReject these Reserved values the same way. In contrast, an out-of-range\naddress or ID value is defined as CONSTRAINED UNPREDICTABLE that would\nbe scoped to the guest itself, so it does not deserve a check.","status":"published","published":"2026-12-05T01:20:45.432Z","modified":"2026-12-05T01:20:45.432Z","updated_at":"2026-12-05T01:24:03.178575Z"}],"euvd":[{"id":"EUVD-2026-145017","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands\n\nThe arm_vsmmu_cache_invalidate() op hands a guest's invalidation commands\nto the trusted main command queue after enforcing only the VMID or the SID,\nand passes the rest of the command through to the queue unchanged.\n\nThat lets a guest set bits the host never meant to forward: a reserved or\nundefined bit makes a command malformed; per the Arm SMMUv3 specification,\nin its section 4.1.3 \"Command errors\", a CERROR_ILL is raised, among other\ncases, when:\n\n  A valid command opcode is used and a Reserved or undefined field is\n  optionally detected as non-zero, which results in the command being\n  treated as malformed.\n\nRestrict each opcode to the fields that the driver supports and reject the\ncommand with -EIO if it sets any other bit, before the command reaches the\nqueue. This stops the host from forwarding any bit whose meaning it does\nnot control. Document this contract in the uAPI header, so user space must\ntake the responsibility to forward valid commands only.\n\nSome fields and whole opcodes are legal only on an SMMU that implements\nthe matching feature, so accept them conditionally:\n\n - NUM, SCALE, TG and TTL need FEAT_RANGE_INV.\n - SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG\n   need SMMU_IDR5.DS, gated on ARM_SMMU_FEAT_DS so that a VMM exposing\n   DS from the reported IDR5 register keeps working.\n - ASID is limited to asid_bits, since its upper 8 bits are RES0 on an\n   SMMU that only supports 8-bit ASIDs.\n - ATC_INV needs FEAT_ATS. Per the specification's section 4.5 \"ATS and\n   PRI\", CMD_ATC_INV is ILLEGAL when:\n\n     SMMU_IDR0.ATS == 0 and this command is issued on a Non-secure or\n     Secure Command queue.\n\n - SSV, SSID and Global need a non-zero ssid_bits. Without it, setting\n   them is not illegal but CONSTRAINED UNPREDICTABLE, which a guest\n   should not be able to provoke. Global also takes effect only when\n   SSV == 1, broadening the invalidation from the one SSID to all the\n   PASIDs of the single device that the SID field addresses.\n\nSome values inside the accepted fields are Reserved too:\n\n - NUM == 0, SCALE == 0 and TTL == 0 together are a Reserved combination\n   and cause a CERROR_ILL.\n - NUM, SCALE and TTL turn RES0 when TG == 0.\n - An ATC_INV Size above 52, the invalidate-all span, is permitted to\n   raise a CERROR_ILL.\n\nReject these Reserved values the same way. In contrast, an out-of-range\naddress or ID value is defined as CONSTRAINED UNPREDICTABLE that would\nbe scoped to the guest itself, so it does not deserve a check.","status":"published","published":"2026-12-05T01:20:45Z","modified":"2026-12-05T01:20:45Z","updated_at":"2026-12-05T02:44:01.14226Z"}],"ghsa":[{"id":"GHSA-hjgv-mrjf-xh74","title":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3-iommufd:...","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands\n\nThe arm_vsmmu_cache_invalidate() op hands a guest's invalidation commands\nto the trusted main command queue after enforcing only the VMID or the SID,\nand passes the rest of the command through to the queue unchanged.\n\nThat lets a guest set bits the host never meant to forward: a reserved or\nundefined bit makes a command malformed; per the Arm SMMUv3 specification,\nin its section 4.1.3 \"Command errors\", a CERROR_ILL is raised, among other\ncases, when:\n\n  A valid command opcode is used and a Reserved or undefined field is\n  optionally detected as non-zero, which results in the command being\n  treated as malformed.\n\nRestrict each opcode to the fields that the driver supports and reject the\ncommand with -EIO if it sets any other bit, before the command reaches the\nqueue. This stops the host from forwarding any bit whose meaning it does\nnot control. Document this contract in the uAPI header, so user space must\ntake the responsibility to forward valid commands only.\n\nSome fields and whole opcodes are legal only on an SMMU that implements\nthe matching feature, so accept them conditionally:\n\n - NUM, SCALE, TG and TTL need FEAT_RANGE_INV.\n - SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG\n   need SMMU_IDR5.DS, gated on ARM_SMMU_FEAT_DS so that a VMM exposing\n   DS from the reported IDR5 register keeps working.\n - ASID is limited to asid_bits, since its upper 8 bits are RES0 on an\n   SMMU that only supports 8-bit ASIDs.\n - ATC_INV needs FEAT_ATS. Per the specification's section 4.5 \"ATS and\n   PRI\", CMD_ATC_INV is ILLEGAL when:\n\n     SMMU_IDR0.ATS == 0 and this command is issued on a Non-secure or\n     Secure Command queue.\n\n - SSV, SSID and Global need a non-zero ssid_bits. Without it, setting\n   them is not illegal but CONSTRAINED UNPREDICTABLE, which a guest\n   should not be able to provoke. Global also takes effect only when\n   SSV == 1, broadening the invalidation from the one SSID to all the\n   PASIDs of the single device that the SID field addresses.\n\nSome values inside the accepted fields are Reserved too:\n\n - NUM == 0, SCALE == 0 and TTL == 0 together are a Reserved combination\n   and cause a CERROR_ILL.\n - NUM, SCALE and TTL turn RES0 when TG == 0.\n - An ATC_INV Size above 52, the invalidate-all span, is permitted to\n   raise a CERROR_ILL.\n\nReject these Reserved values the same way. In contrast, an out-of-range\naddress or ID value is defined as CONSTRAINED UNPREDICTABLE that would\nbe scoped to the guest itself, so it does not deserve a check.","status":"published","published":"2026-12-05T03:30:28Z","modified":"2026-12-05T03:30:36Z","updated_at":"2026-12-05T03:31:20.896926Z"}],"nvd":[{"id":"CVE-2026-143420","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands\n\nThe arm_vsmmu_cache_invalidate() op hands a guest's invalidation commands\nto the trusted main command queue after enforcing only the VMID or the SID,\nand passes the rest of the command through to the queue unchanged.\n\nThat lets a guest set bits the host never meant to forward: a reserved or\nundefined bit makes a command malformed; per the Arm SMMUv3 specification,\nin its section 4.1.3 \"Command errors\", a CERROR_ILL is raised, among other\ncases, when:\n\n  A valid command opcode is used and a Reserved or undefined field is\n  optionally detected as non-zero, which results in the command being\n  treated as malformed.\n\nRestrict each opcode to the fields that the driver supports and reject the\ncommand with -EIO if it sets any other bit, before the command reaches the\nqueue. This stops the host from forwarding any bit whose meaning it does\nnot control. Document this contract in the uAPI header, so user space must\ntake the responsibility to forward valid commands only.\n\nSome fields and whole opcodes are legal only on an SMMU that implements\nthe matching feature, so accept them conditionally:\n\n - NUM, SCALE, TG and TTL need FEAT_RANGE_INV.\n - SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG\n   need SMMU_IDR5.DS, gated on ARM_SMMU_FEAT_DS so that a VMM exposing\n   DS from the reported IDR5 register keeps working.\n - ASID is limited to asid_bits, since its upper 8 bits are RES0 on an\n   SMMU that only supports 8-bit ASIDs.\n - ATC_INV needs FEAT_ATS. Per the specification's section 4.5 \"ATS and\n   PRI\", CMD_ATC_INV is ILLEGAL when:\n\n     SMMU_IDR0.ATS == 0 and this command is issued on a Non-secure or\n     Secure Command queue.\n\n - SSV, SSID and Global need a non-zero ssid_bits. Without it, setting\n   them is not illegal but CONSTRAINED UNPREDICTABLE, which a guest\n   should not be able to provoke. Global also takes effect only when\n   SSV == 1, broadening the invalidation from the one SSID to all the\n   PASIDs of the single device that the SID field addresses.\n\nSome values inside the accepted fields are Reserved too:\n\n - NUM == 0, SCALE == 0 and TTL == 0 together are a Reserved combination\n   and cause a CERROR_ILL.\n - NUM, SCALE and TTL turn RES0 when TG == 0.\n - An ATC_INV Size above 52, the invalidate-all span, is permitted to\n   raise a CERROR_ILL.\n\nReject these Reserved values the same way. In contrast, an out-of-range\naddress or ID value is defined as CONSTRAINED UNPREDICTABLE that would\nbe scoped to the guest itself, so it does not deserve a check.","status":"published","published":"2026-12-05T03:19:53.257Z","modified":"2026-12-05T03:19:53.257Z","updated_at":"2026-12-05T03:21:31.003878Z"}],"osv":[{"id":"CVE-2026-143420","title":"iommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/arm-smmu-v3-iommufd: Reject unsupported bits in invalidation commands\n\nThe arm_vsmmu_cache_invalidate() op hands a guest's invalidation commands\nto the trusted main command queue after enforcing only the VMID or the SID,\nand passes the rest of the command through to the queue unchanged.\n\nThat lets a guest set bits the host never meant to forward: a reserved or\nundefined bit makes a command malformed; per the Arm SMMUv3 specification,\nin its section 4.1.3 \"Command errors\", a CERROR_ILL is raised, among other\ncases, when:\n\n  A valid command opcode is used and a Reserved or undefined field is\n  optionally detected as non-zero, which results in the command being\n  treated as malformed.\n\nRestrict each opcode to the fields that the driver supports and reject the\ncommand with -EIO if it sets any other bit, before the command reaches the\nqueue. This stops the host from forwarding any bit whose meaning it does\nnot control. Document this contract in the uAPI header, so user space must\ntake the responsibility to forward valid commands only.\n\nSome fields and whole opcodes are legal only on an SMMU that implements\nthe matching feature, so accept them conditionally:\n\n - NUM, SCALE, TG and TTL need FEAT_RANGE_INV.\n - SCALE bit 25, for values above 31, and TTL == 0b01 with a 16KB TG\n   need SMMU_IDR5.DS, gated on ARM_SMMU_FEAT_DS so that a VMM exposing\n   DS from the reported IDR5 register keeps working.\n - ASID is limited to asid_bits, since its upper 8 bits are RES0 on an\n   SMMU that only supports 8-bit ASIDs.\n - ATC_INV needs FEAT_ATS. Per the specification's section 4.5 \"ATS and\n   PRI\", CMD_ATC_INV is ILLEGAL when:\n\n     SMMU_IDR0.ATS == 0 and this command is issued on a Non-secure or\n     Secure Command queue.\n\n - SSV, SSID and Global need a non-zero ssid_bits. Without it, setting\n   them is not illegal but CONSTRAINED UNPREDICTABLE, which a guest\n   should not be able to provoke. Global also takes effect only when\n   SSV == 1, broadening the invalidation from the one SSID to all the\n   PASIDs of the single device that the SID field addresses.\n\nSome values inside the accepted fields are Reserved too:\n\n - NUM == 0, SCALE == 0 and TTL == 0 together are a Reserved combination\n   and cause a CERROR_ILL.\n - NUM, SCALE and TTL turn RES0 when TG == 0.\n - An ATC_INV Size above 52, the invalidate-all span, is permitted to\n   raise a CERROR_ILL.\n\nReject these Reserved values the same way. In contrast, an out-of-range\naddress or ID value is defined as CONSTRAINED UNPREDICTABLE that would\nbe scoped to the guest itself, so it does not deserve a check.","status":"published","published":"2026-12-05T01:20:45.432Z","modified":"2026-12-05T03:01:04.85242864Z","updated_at":"2026-12-05T03:12:31.833315Z"}]}}
