CVE-2024-46691: usb: typec: ucsi: Move unregister out of atomic section

Published Sep 13, 2024
·
Updated

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 ucsiunregister() 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. pmicglinksend() 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

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=6.10<6.10.8
Linux Linux kernel=6.11-rc1
Linux Linux kernel=6.11-rc2
Linux Linux kernel=6.11-rc3
Linux Linux kernel=6.11-rc4
Linux Linux kernel=6.11-rc5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Sep 13, 2024
CVE Published
via MITRE·05:29 AM
Data Sourced
via MITRE·05:29 AM
Description
Data Sourced
via NVD·06:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 9, 2025
Data Sourced
via Ubuntu·06:31 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46691?

CVE-2024-46691 is classified with a moderate severity level.

2

How do I fix CVE-2024-46691?

To fix CVE-2024-46691, update your Linux kernel to a version that includes the resolution, such as 6.1.123-1 and above.

3

Which Linux kernel versions are affected by CVE-2024-46691?

CVE-2024-46691 affects Linux kernel versions from 6.10 to 6.11-rc5.

4

Is CVE-2024-46691 a local or remote vulnerability?

CVE-2024-46691 is considered a local vulnerability, requiring local access to exploit.

5

What components are impacted by CVE-2024-46691?

CVE-2024-46691 impacts the USB Type-C component of the Linux kernel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203