CVE-2024-46691

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-46691
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-46691.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-46691
Downstream
Related
Published
2024-09-13T05:29:20.991Z
Modified
2025-11-28T02:34:40.152980Z
Summary
usb: typec: ucsi: Move unregister out of atomic section
Details

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

usb: typec: ucsi: Move unregister out of atomic section

Commit '9329933699b3 ("soc: qcom: pmicglink: Make client-lock non-sleeping")' moved the pmicglink client list under a spinlock, as it is accessed by the rpmsg/glink callback, which in turn is invoked from IRQ context.

This means that ucsi_unregister() is now called from atomic context, which isn't feasible as it's expecting a sleepable context. An effort is under way to get GLINK to invoke its callbacks in a sleepable context, but until then lets schedule the unregistration.

A side effect of this is that ucsiunregister() can now happen after the remote processor, and thereby the communication link with it, is gone. pmicglink_send() is amended with a check to avoid the resulting NULL pointer dereference. This does however result in the user being informed about this error by the following entry in the kernel log:

ucsiglink.pmicglinkucsi pmicglink.ucsi.0: failed to send UCSI write request: -5

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46691.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
9329933699b32d467a99befa20415c4b2172389a
Fixed
095b0001aefddcd9361097c971b7debc84e72714
Fixed
11bb2ffb679399f99041540cf662409905179e3a
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
fbadcde1572f6b00e1e343d8b24ec8bf7f3ec08d
Last affected
8d62ab7d89a4906385ea8c11a4b2475578bec0f0
Last affected
bd54d7c8e76d235b4a70be3a545eb13f5ac531e4

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.8