CVE-2026-90427 (GCVE-0-2026-90427)

Vulnerability from cvelistv5 – Published: 2026-09-17 16:09 – Updated: 2026-09-18 17:55
VLAI
Title
iommu/tegra241-cmdqv: Don't fall back to a freed smmu after devm_krealloc()
Summary
In the Linux kernel, the following vulnerability has been resolved: iommu/tegra241-cmdqv: Don't fall back to a freed smmu after devm_krealloc() __tegra241_cmdqv_probe() uses devm_krealloc() to grow @smmu into the larger tegra241_cmdqv, which frees the original @smmu once it relocates. A failure after that returned NULL, and the caller then dereferenced the freed @smmu on its fallback path. Return an int and take @smmu by reference instead, then update *smmu to the reallocated pointer after devm_krealloc() succeeds, so the caller and its fallback path both use the live @smmu rather than the freed original.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 , < 86197679b293f0601c3331d545f99a70a7780aa9 (git)
Affected: 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 , < d4d05f55e9da646ec03adfa77260eb46f4163749 (git)
guessed Create a notification for this product.
Linux Linux Affected: 6.12
Unaffected: 0 , < 6.12 (semver)
Unaffected: 7.2.6 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "86197679b293f0601c3331d545f99a70a7780aa9",
              "status": "affected",
              "version": "918eb5c856f6ce4cf93b4b38e4b5e156905c5943",
              "versionType": "git"
            },
            {
              "lessThan": "d4d05f55e9da646ec03adfa77260eb46f4163749",
              "status": "affected",
              "version": "918eb5c856f6ce4cf93b4b38e4b5e156905c5943",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.12"
            },
            {
              "lessThan": "6.12",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/tegra241-cmdqv: Don\u0027t fall back to a freed smmu after devm_krealloc()\n\n__tegra241_cmdqv_probe() uses devm_krealloc() to grow @smmu into the larger\ntegra241_cmdqv, which frees the original @smmu once it relocates. A failure\nafter that returned NULL, and the caller then dereferenced the freed @smmu\non its fallback path.\n\nReturn an int and take @smmu by reference instead, then update *smmu to the\nreallocated pointer after devm_krealloc() succeeds, so the caller and its\nfallback path both use the live @smmu rather than the freed original."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.4,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The UAF is reached from arm_smmu_device_probe() \u2192 arm_smmu_impl_probe() \u2192 tegra241_cmdqv_probe() \u2192 __tegra241_cmdqv_probe() when ACPI IORT (acpi_iort_init()/iort_add_platform_device(\"arm-smmu-v3\")) or DT nvidia,tegra264-smmu binds the SMMU. No protocol message supplies the stale pointer; it is a local devm_krealloc() lifetime bug.\nAC:H - out_fallback uses the freed @smmu only if a relocating devm_krealloc() is followed by kzalloc_objs(cmdqv-\u003evintfs) or request_threaded_irq() failing. arm_smmu_driver sets suppress_bind_attrs, CONFIG_ARM_SMMU_V3=y, and this probe never returns -EPROBE_DEFER, so a local attacker cannot re-enter it or reliably force those GFP_KERNEL/IRQ failures.\nPR:N - arm_smmu_device_probe() has no capable() check; tegra241_cmdqv_probe() runs from the platform .probe in kernel_init once IORT creates the arm-smmu-v3 device or DT matches nvidia,tegra264-smmu. No OS account or user-namespace capability is required to be on that path.\nUI:N - tegra241_cmdqv_probe()\u2019s out_fallback dereference of the freed @smmu runs inside arm_smmu_device_probe() during automatic platform bind; no victim must mount a filesystem, open a device node, or load a module by hand.\nS:U - The use-after-free is of the host kernel arm_smmu_device that devm_krealloc() freed in __tegra241_cmdqv_probe(); out_fallback\u2019s smmu-\u003eoptions write and the rest of arm_smmu_device_probe() stay in that kernel. This is not leftover SMMU translation tables or a guest/DMA walk of attacker-controlled IOMMU page tables.\nC:H - After a relocating devm_krealloc(), tegra241_cmdqv_probe() returns ERR_PTR(-ENODEV) and arm_smmu_impl_probe() hands the freed @smmu back to arm_smmu_device_probe(). That use-after-free of the SMMU object can be reclaimed and, per kernel UAF guidance, enables arbitrary kernel memory disclosure.\nI:H - out_fallback writes smmu-\u003eoptions through the freed pointer, then arm_smmu_device_probe() continues with arm_smmu_device_hw_probe(), arm_smmu_init_structures(), and iommu_device_register() on the same dangling arm_smmu_device, a write-after-free that yields heap-spray write and control-flow hijack primitives.\nA:H - out_fallback dereferences smmu-\u003eimpl_dev and later SMMU probe/runtime uses the freed arm_smmu_device; that use-after-free oopses or panics the kernel even when not turned into a full exploit."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-18T17:55:21.334Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/86197679b293f0601c3331d545f99a70a7780aa9"
        },
        {
          "url": "https://git.kernel.org/stable/c/d4d05f55e9da646ec03adfa77260eb46f4163749"
        }
      ],
      "title": "iommu/tegra241-cmdqv: Don\u0027t fall back to a freed smmu after devm_krealloc()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90427",
    "datePublished": "2026-09-17T16:09:49.121Z",
    "dateReserved": "2026-09-11T19:38:34.814Z",
    "dateUpdated": "2026-09-18T17:55:21.334Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-90427",
      "date": "2026-09-29",
      "epss": "0.00154",
      "percentile": "0.03848"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "86197679b293f0601c3331d545f99a70a7780aa9",
                    "status": "affected",
                    "version": "918eb5c856f6ce4cf93b4b38e4b5e156905c5943",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "d4d05f55e9da646ec03adfa77260eb46f4163749",
                    "status": "affected",
                    "version": "918eb5c856f6ce4cf93b4b38e4b5e156905c5943",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "6.12"
                  },
                  {
                    "lessThan": "6.12",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.6",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc1",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niommu/tegra241-cmdqv: Don\u0027t fall back to a freed smmu after devm_krealloc()\n\n__tegra241_cmdqv_probe() uses devm_krealloc() to grow @smmu into the larger\ntegra241_cmdqv, which frees the original @smmu once it relocates. A failure\nafter that returned NULL, and the caller then dereferenced the freed @smmu\non its fallback path.\n\nReturn an int and take @smmu by reference instead, then update *smmu to the\nreallocated pointer after devm_krealloc() succeeds, so the caller and its\nfallback path both use the live @smmu rather than the freed original."
          }
        ],
        "id": "CVE-2026-90427",
        "lastModified": "2026-09-18T18:17:58.930",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.4,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.4,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-09-17T17:17:47.500",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/86197679b293f0601c3331d545f99a70a7780aa9"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/d4d05f55e9da646ec03adfa77260eb46f4163749"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-22T16:28:03Z",
      "cve": "CVE-2026-90427",
      "id": "CVE-2026-90427",
      "initial_release_date": "2026-09-22T16:28:03Z",
      "product_status:known_affected": "29",
      "product_status:known_not_affected": "318",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-90427",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-90427.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…