Files
vuln-cve/data/2023/54xxx/CVE-2023-54083.json
T

201 lines
11 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2023-54083",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2025-12-24T13:02:52.515Z",
"datePublished": "2025-12-24T13:06:14.771Z",
"dateUpdated": "2026-08-05T09:17:04.479Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T09:17:04.479Z"
},
"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": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 7.8,
"baseSeverity": "HIGH"
},
"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 — `devres_release_all()` frees the fake `device_driver` in `device_del(&port->dev)` and `phy_destroy()` reads it moments later — 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` — spraying the slab so the driver core reads attacker-controlled `pm`/`name` fields — 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's 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->name` 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's contents yields an arbitrary-read primitive.\nI:H - `__rpm_get_callback()` loads a function pointer out of `dev->driver->pm` 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."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/phy/tegra/xusb.c"
],
"versions": [
{
"version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
"lessThan": "b6a107c52073496d2e5d2837915f59fb3103832f",
"status": "affected",
"versionType": "git"
},
{
"version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
"lessThan": "b84998a407a882991916b1a61d987c400d8a0ce6",
"status": "affected",
"versionType": "git"
},
{
"version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
"lessThan": "238edc04ddb9d272b38f5419bcd419ad3b92b91b",
"status": "affected",
"versionType": "git"
},
{
"version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
"lessThan": "82187460347ad58fd6b06d2883da73c3f2df9631",
"status": "affected",
"versionType": "git"
},
{
"version": "e8f7d2f409a15c519d5a6085777d85c1c4bab73a",
"lessThan": "c0c2fcb1325d0d4f3b322b5ee49385f8eca2560d",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"drivers/phy/tegra/xusb.c"
],
"versions": [
{
"version": "5.7",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.7",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.188",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.121",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.39",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.4.4",
"lessThanOrEqual": "6.4.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.5",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "5.10.188"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "5.15.121"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "6.1.39"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "6.4.4"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "5.7",
"versionEndExcluding": "6.5"
}
]
}
]
}
],
"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"
}
}
}
}