CVE-2026-90402 (GCVE-0-2026-90402)
Vulnerability from cvelistv5
Published
2026-09-17 16:09
Modified
2026-10-19 09:03
Summary
In the Linux kernel, the following vulnerability has been resolved: bus: mhi: host: Fix controller cleanup on EDL sysfs failure mhi_register_controller() adds the controller device before creating the optional trigger_edl sysfs file. If sysfs_create_file() fails, the error path only drops the device reference and leaves the device registered. Hence, call device_del() in the error path before put_device().
Impacted products
Vendor Product Version
Linux Linux Version: 17553ba8e19dee8770b3dcc597d49dcc3418f3b0
Version: 17553ba8e19dee8770b3dcc597d49dcc3418f3b0
Version: 17553ba8e19dee8770b3dcc597d49dcc3418f3b0
Version: 17553ba8e19dee8770b3dcc597d49dcc3418f3b0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/bus/mhi/host/init.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "7943dc67250fad6ceac0dd089c6ad5776e4be71d",
              "status": "affected",
              "version": "17553ba8e19dee8770b3dcc597d49dcc3418f3b0",
              "versionType": "git"
            },
            {
              "lessThan": "4fb17a7c437f145353e93e6a9791f6db70e1cc63",
              "status": "affected",
              "version": "17553ba8e19dee8770b3dcc597d49dcc3418f3b0",
              "versionType": "git"
            },
            {
              "lessThan": "4743959aa8d876b5b456a62e8a62eb770db7afe9",
              "status": "affected",
              "version": "17553ba8e19dee8770b3dcc597d49dcc3418f3b0",
              "versionType": "git"
            },
            {
              "lessThan": "0d5b9e66591d4e2a4376ac82c8cda889a29ba3ee",
              "status": "affected",
              "version": "17553ba8e19dee8770b3dcc597d49dcc3418f3b0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/bus/mhi/host/init.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.52",
              "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.110",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.52",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.6",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbus: mhi: host: Fix controller cleanup on EDL sysfs failure\n\nmhi_register_controller() adds the controller device before creating the\noptional trigger_edl sysfs file. If sysfs_create_file() fails, the error\npath only drops the device reference and leaves the device registered.\n\nHence, call device_del() in the error path before put_device()."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The missing device_del() is in mhi_register_controller() after device_add(), reached from mhi_pci_probe() for EDL-capable PCI WWAN controllers that set edl_trigger (Qualcomm SDX/QDU). The leftover mhi_dev is then opened via local sysfs; sysfs_create_file(trigger_edl) is not fed by a remote protocol message.\nAC:H - The broken err_release_dev path runs only when sysfs_create_file(\u0026mhi_dev-\u003edev.kobj, \u0026dev_attr_trigger_edl.attr) fails after device_add() succeeded. That helper fails on kernfs errors such as -ENOMEM; a later mhi_pci_probe retries device_add(\"mhi%d\") and gets -EEXIST instead, so the attacker cannot reliably re-enter this exact failure.\nPR:L - device_add() installs mhi_dev_groups before trigger_edl is created, so serial_number and oem_pk_hash exist as DEVICE_ATTR_RO (0444) on /sys/bus/mhi/devices/mhiN/. After probe failure those files remain; an unprivileged local user can read them with no CAP_SYS_ADMIN and no user-namespace capability.\nUI:N - The attacker reads the leftover /sys/bus/mhi/devices/mhiN/serial_number or oem_pk_hash (or writes soc_reset) themselves. No second user must plug the WWAN card, mount media, or confirm a prompt.\nS:U - On the failed mhi_pci_probe(), device_unbind_cleanup() frees mhi_pdev via devres_release_all() while the still-registered mhi_dev stays a child of the PCI device. That is a host-kernel use-after-free of struct mhi_controller, not a VM, IOMMU, or sandbox escape.\nC:H - Without device_del(), mhi_dev remains in sysfs with mhi_dev-\u003emhi_cntrl pointing at mhi_pdev freed on probe failure. serial_number_show reads mhi_cntrl-\u003eserial_number from that freed object, and oem_pk_hash_show calls mhi_read_reg() on it, disclosing kernel memory.\nI:H - oem_pk_hash_show calls mhi_read_reg(), which invokes the freed mhi_cntrl-\u003eread_reg function pointer; soc_reset_store calls mhi_soc_reset() which uses mhi_cntrl-\u003ewrite_reg/reset. Replacing the freed struct mhi_controller yields an arbitrary call/write primitive for control-flow hijack.\nA:H - serial_number_show, oem_pk_hash_show, and soc_reset_store dereference the dangling mhi_cntrl and oops or panic. The leaked device also keeps the mhiN name while ida_free() reuses the index, so a later mhi_register_controller() device_add() fails until reboot."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-19T09:03:06.272Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/7943dc67250fad6ceac0dd089c6ad5776e4be71d"
        },
        {
          "url": "https://git.kernel.org/stable/c/4fb17a7c437f145353e93e6a9791f6db70e1cc63"
        },
        {
          "url": "https://git.kernel.org/stable/c/4743959aa8d876b5b456a62e8a62eb770db7afe9"
        },
        {
          "url": "https://git.kernel.org/stable/c/0d5b9e66591d4e2a4376ac82c8cda889a29ba3ee"
        }
      ],
      "title": "bus: mhi: host: Fix controller cleanup on EDL sysfs failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-90402",
    "datePublished": "2026-09-17T16:09:32.194Z",
    "dateReserved": "2026-09-11T19:38:34.811Z",
    "dateUpdated": "2026-10-19T09:03:06.272Z",
    "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…