CVE-2026-90427 (GCVE-0-2026-90427)
Vulnerability from cvelistv5
Published
2026-09-17 16:09
Modified
2026-10-21 12:51
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
Linux Linux Version: 918eb5c856f6ce4cf93b4b38e4b5e156905c5943
Version: 918eb5c856f6ce4cf93b4b38e4b5e156905c5943
Version: 918eb5c856f6ce4cf93b4b38e4b5e156905c5943
Version: 918eb5c856f6ce4cf93b4b38e4b5e156905c5943
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": "ea2edb27ef2648d8687cd0fc3ec3ba1793436e7e",
              "status": "affected",
              "version": "918eb5c856f6ce4cf93b4b38e4b5e156905c5943",
              "versionType": "git"
            },
            {
              "lessThan": "268cbe3a36ae57a2ec09601f343b92f6f092d505",
              "status": "affected",
              "version": "918eb5c856f6ce4cf93b4b38e4b5e156905c5943",
              "versionType": "git"
            },
            {
              "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": "6.12.*",
              "status": "unaffected",
              "version": "6.12.114",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.57",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.114",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.57",
                  "versionStartIncluding": "6.12",
                  "vulnerable": true
                },
                {
                  "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",
                  "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-10-21T12:51:38.034Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ea2edb27ef2648d8687cd0fc3ec3ba1793436e7e"
        },
        {
          "url": "https://git.kernel.org/stable/c/268cbe3a36ae57a2ec09601f343b92f6f092d505"
        },
        {
          "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-10-21T12:51:38.034Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…