CVE-2024-46760: wifi: rtw88: usb: schedule rx work after everything is set up

Published Sep 18, 2024
·
Updated

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

wifi: rtw88: usb: schedule rx work after everything is set up

Right now it's possible to hit NULL pointer dereference in rtwrxfillrxstatus on hw object and/or its fields because initialization routine can start getting USB replies before rtwdev is fully setup.

The stack trace looks like this:

rtwrxfillrxstatus rtw8821cqueryrxdesc rtwusbrxhandler ... queuework rtwusbreadportcomplete ... usbsubmiturb rtwusbrxresubmit rtwusbinitrx rtwusbprobe

So while we do the async stuff rtwusbprobe continues and calls rtwregisterhw, which does all kinds of initialization (e.g. via ieee80211registerhw) that rtwrxfillrxstatus relies on.

Fix this by moving the first usbsubmiturb after everything is set up.

For me, this bug manifested as: [ 8.893177] rtw8821cu 1-1:1.2: band wrong, packet dropped [ 8.910904] rtw8821cu 1-1:1.2: hw->conf.chandef.chan NULL in rtwrxfillrxstatus because I'm using Larry's backport of rtw88 driver with the NULL checks in rtwrxfillrxstatus.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

5 affected componentsFixes available
Linux Linux kernel<6.6.51
Linux Linux kernel>=6.7<6.10.10
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.25-16.12.27-1
Microsoft azl3 kernel 6.6.51.1-5
Microsoft azl3 kernel 6.6.47.1-1

Event History

Sep 18, 2024
CVE Published
via MITRE·07:12 AM
Data Sourced
via MITRE·07:12 AM
Description
Oct 16, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Dec 12, 2024
Data Sourced
via Launchpad·06:25 PM
Description
Jan 13, 2025
Data Sourced
via Ubuntu·06:31 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46760?

The severity of CVE-2024-46760 is high due to the potential NULL pointer dereference.

2

How do I fix CVE-2024-46760?

To fix CVE-2024-46760, upgrade to Linux Kernel version 6.12.11-1 or later.

3

Which versions of the Linux Kernel are affected by CVE-2024-46760?

CVE-2024-46760 affects Linux Kernel versions prior to 6.6.51 and between 6.7 and 6.10.10.

4

What components are involved in CVE-2024-46760?

CVE-2024-46760 involves the wifi driver rtw88 and its initialization routine.

5

Is CVE-2024-46760 present in Debian Linux distributions?

Yes, CVE-2024-46760 is present in certain versions of Debian Linux prior to the recommended updates.

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