usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
Summary
| CVE | CVE-2023-53049 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-05-02 16:15:23 UTC |
| Updated | 2026-11-05 21:17:09 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved: usb: ucsi: Fix NULL pointer deref in ucsi_connector_change() When ucsi_init() fails, ucsi->connector is NULL, yet in case of ucsi_acpi we may still get events which cause the ucs_acpi code to call ucsi_connector_change(), which then derefs the NULL ucsi->connector pointer. Fix this by not setting ucsi->ntfy inside ucsi_init() until ucsi_init() has succeeded, so that ucsi_connector_change() ignores the events because UCSI_ENABLE_NTFY_CONNECTOR_CHANGE is not set in the ntfy mask. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-476
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected bdc62f2bae8fb0e8e99574de5232f0a3c54a27df a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0 git | Not specified |
| CNA | Linux | Linux | affected bdc62f2bae8fb0e8e99574de5232f0a3c54a27df 7dd27aed9c456670b3882877ef17a48195f21693 git | Not specified |
| CNA | Linux | Linux | affected bdc62f2bae8fb0e8e99574de5232f0a3c54a27df 1c5abcb13491da8c049f20462189c12c753ba978 git | Not specified |
| CNA | Linux | Linux | affected bdc62f2bae8fb0e8e99574de5232f0a3c54a27df 7ef0423e43f877a328454059d46763043ce3da44 git | Not specified |
| CNA | Linux | Linux | affected bdc62f2bae8fb0e8e99574de5232f0a3c54a27df f87fb985452ab2083967103ac00bfd68fb182764 git | Not specified |
| CNA | Linux | Linux | affected 5.5 | Not specified |
| CNA | Linux | Linux | unaffected 5.5 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.177 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.105 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.22 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.2.9 6.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/f87fb985452ab2083967103ac00bfd68fb182764 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/1c5abcb13491da8c049f20462189c12c753ba978 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7ef0423e43f877a328454059d46763043ce3da44 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/7dd27aed9c456670b3882877ef17a48195f21693 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.