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-02T16:15:23Z
Modified
2025-08-09T20:01:26Z
Summary
[none]
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.

References

Affected packages