CVE-2023-54083 (GCVE-0-2023-54083)
Vulnerability from cvelistv5
Published
2025-12-24 13:06
Modified
2026-08-05 09:17
Summary
In the Linux kernel, the following vulnerability has been resolved: phy: tegra: xusb: Clear the driver reference in usb-phy dev For the dual-role port, it will assign the phy dev to usb-phy dev and use the port dev driver as the dev driver of usb-phy. When we try to destroy the port dev, it will destroy its dev driver as well. But we did not remove the reference from usb-phy dev. This might cause the use-after-free issue in KASAN.
Impacted products
Vendor Product Version
Linux Linux Version: e8f7d2f409a15c519d5a6085777d85c1c4bab73a
Version: e8f7d2f409a15c519d5a6085777d85c1c4bab73a
Version: e8f7d2f409a15c519d5a6085777d85c1c4bab73a
Version: e8f7d2f409a15c519d5a6085777d85c1c4bab73a
Version: e8f7d2f409a15c519d5a6085777d85c1c4bab73a
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/phy/tegra/xusb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b6a107c52073496d2e5d2837915f59fb3103832f",
              "status": "affected",
              "version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
              "versionType": "git"
            },
            {
              "lessThan": "b84998a407a882991916b1a61d987c400d8a0ce6",
              "status": "affected",
              "version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
              "versionType": "git"
            },
            {
              "lessThan": "238edc04ddb9d272b38f5419bcd419ad3b92b91b",
              "status": "affected",
              "version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
              "versionType": "git"
            },
            {
              "lessThan": "82187460347ad58fd6b06d2883da73c3f2df9631",
              "status": "affected",
              "version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
              "versionType": "git"
            },
            {
              "lessThan": "c0c2fcb1325d0d4f3b322b5ee49385f8eca2560d",
              "status": "affected",
              "version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/phy/tegra/xusb.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.7"
            },
            {
              "lessThan": "5.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.188",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.121",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.188",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.121",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.39",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.4",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nphy: tegra: xusb: Clear the driver reference in usb-phy dev\n\nFor the dual-role port, it will assign the phy dev to usb-phy dev and\nuse the port dev driver as the dev driver of usb-phy.\n\nWhen we try to destroy the port dev, it will destroy its dev driver\nas well. But we did not remove the reference from usb-phy dev. This\nmight cause the use-after-free issue in KASAN."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reached through the tegra-xusb-padctl platform driver teardown/probe-failure path, which is driven from local system interfaces (sysfs unbind, module unload) and local process activity, not from any network or peer-supplied data. No physical device insertion is needed since the padctl is an on-SoC platform device.\nAC:L - The dangling `dev.driver` and its subsequent dereference occur deterministically in the same teardown sequence \u2014 `devres_release_all()` frees the fake `device_driver` in `device_del(\u0026port-\u003edev)` and `phy_destroy()` reads it moments later \u2014 with no race the attacker cannot influence. The freed object is a small kmalloc allocation that a local attacker can reliably groom.\nPR:L - Exploitation of the freed `struct device_driver` \u2014 spraying the slab so the driver core reads attacker-controlled `pm`/`name` fields \u2014 is performed by an ordinary unprivileged local process, and the same teardown also executes on the boot-time probe-failure path with no privilege at all. Consistent with prior scoring of driver-remove-path use-after-frees in this subsystem class, PR:L is the higher defensible value.\nUI:N - No victim action is required; the use-after-free occurs automatically within the driver removal/probe-failure sequence. The attacker only needs to have its heap spray in place.\nS:U - Both the freed object and the code dereferencing it live in the kernel\u0027s own security authority, with no crossing of a VM, IOMMU, or sandbox boundary. This is a standard in-kernel memory-safety defect.\nC:H - The stale pointer is read by `dev_driver_string()` (`drv-\u003ename` passed to printk) and by `device_pm_check_callbacks()`, so reallocated heap contents can be dereferenced and leaked into kernel logs. Per use-after-free guidance, control over the freed object\u0027s contents yields an arbitrary-read primitive.\nI:H - `__rpm_get_callback()` loads a function pointer out of `dev-\u003edriver-\u003epm` on the freed object and invokes it, giving a direct control-flow hijack primitive once the slab object is reallocated with attacker-controlled data. Use-after-free of a structure containing function pointers is treated as High integrity impact.\nA:H - The KASAN-reported use-after-free dereferences freed memory during device removal, producing an oops or panic even without deliberate exploitation. Any kernel crash is scored High."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:17:04.479Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b6a107c52073496d2e5d2837915f59fb3103832f"
        },
        {
          "url": "https://git.kernel.org/stable/c/b84998a407a882991916b1a61d987c400d8a0ce6"
        },
        {
          "url": "https://git.kernel.org/stable/c/238edc04ddb9d272b38f5419bcd419ad3b92b91b"
        },
        {
          "url": "https://git.kernel.org/stable/c/82187460347ad58fd6b06d2883da73c3f2df9631"
        },
        {
          "url": "https://git.kernel.org/stable/c/c0c2fcb1325d0d4f3b322b5ee49385f8eca2560d"
        }
      ],
      "title": "phy: tegra: xusb: Clear the driver reference in usb-phy dev",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54083",
    "datePublished": "2025-12-24T13:06:14.771Z",
    "dateReserved": "2025-12-24T13:02:52.515Z",
    "dateUpdated": "2026-08-05T09:17:04.479Z",
    "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…