CVE-2023-53049

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-53049
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53049.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-53049
Downstream
Related
Published
2025-05-02T15:55:05.568Z
Modified
2025-11-26T19:34:47.780443Z
Summary
usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: ucsi: Fix NULL pointer deref in ucsiconnectorchange()

When ucsiinit() fails, ucsi->connector is NULL, yet in case of ucsiacpi we may still get events which cause the ucsacpi code to call ucsiconnector_change(), which then derefs the NULL ucsi->connector pointer.

Fix this by not setting ucsi->ntfy inside ucsiinit() until ucsiinit() has succeeded, so that ucsiconnectorchange() ignores the events because UCSIENABLENTFYCONNECTORCHANGE is not set in the ntfy mask.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/blob/9c3874e559580d6c6ec8d449812ac11277724770/cves/2023/53xxx/CVE-2023-53049.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bdc62f2bae8fb0e8e99574de5232f0a3c54a27df
Fixed
a6adfe9bbd6ac11e398b54ccd99a0f8eea09f3c0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bdc62f2bae8fb0e8e99574de5232f0a3c54a27df
Fixed
7dd27aed9c456670b3882877ef17a48195f21693
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bdc62f2bae8fb0e8e99574de5232f0a3c54a27df
Fixed
1c5abcb13491da8c049f20462189c12c753ba978
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bdc62f2bae8fb0e8e99574de5232f0a3c54a27df
Fixed
7ef0423e43f877a328454059d46763043ce3da44
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
bdc62f2bae8fb0e8e99574de5232f0a3c54a27df
Fixed
f87fb985452ab2083967103ac00bfd68fb182764

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.177
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.105
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.22
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.9