CVE-2023-54083
Description
From CVE.org
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.
Statement
A use-after-free flaw was found in the NVIDIA Tegra xUSB PHY driver (drivers/phy/tegra/xusb.c) of the Linux kernel. When a dual-role USB port is set up, the port device's driver is reused as the driver of the usb-phy device; when the port device is later destroyed, its driver is freed without clearing the reference still held by the usb-phy device, which can result in a use-after-free, as reported by KASAN. Red Hat assessed this flaw as having low impact: exploitation requires local access on a system using the affected Tegra xUSB dual-role port hardware, and the consequence is limited to system availability (CVSS 3.1: AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L, score 3.3). The upstream CVE record assigns a higher severity (7.8) using a generic vector that assumes full confidentiality, integrity, and availability impact; Red Hat's lower rating reflects the hardware-specific, availability-only nature of this defect. In Red Hat Enterprise Linux 9, the kernel and kernel-rt streams are marked affected with the fix deferred to a future update, consistent with the low assessed severity of the issue; the residual risk is considered limited because triggering the issue requires local access on affected Tegra xUSB hardware and the impact is restricted to availability. Red Hat Enterprise Linux 6, 7, 8, and 10, and Red Hat In-Vehicle OS 1.0 are not affected because the vulnerable code is not present in those offerings.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 3.3 | N/A | 7.8 |
| Attack Vector | Local | N/A | Local |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | Low | N/A | Low |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | High |
| Integrity Impact | None | N/A | High |
| Availability Impact | Low | N/A | High |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory
If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.
Availability
Technical Impact: DoS: Crash, Exit, or Restart
If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.
Integrity,Confidentiality,Availability
Technical Impact: Execute Unauthorized Code or Commands
If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.