Re: Ubuntu RT2X00 WIFI USB Driver Kernel NULL pointer Dereference&Use-After-Free Vulnerability

Alan Stern
2024-08-06T13:38:49Z

On Tue, Aug 06, 2024 at 09:59:04AM +0800, LidongLI wrote:
>
> Dear Greg,
>
> Thank you, Greg!
>
>
> Yes, as you mentioned, it requires users to create their own udev
> rules, which is not common among Ubuntu personal users. However, in
> some non-personal user scenarios, they must pre-add udev rules to meet
> their needs. A simple example: in some Ubuntu embedded Linux
> scenarios, we found that when starting a wireless hotspot, developers
> must configure udev rules to ensure a stable connection, enable
> auto-loading of drivers, or auto-run or write USB-based
> auto-configuration scripts.
>
> Alright, thank you for your fix. We will proceed to the email you
> specified to request a CVE.

LidongLI, are you able to test patches?

It looks like the driver does not properly shut down its async queues
when it unbinds. The best person to address this problem is the
driver's maintainer, Stanislaw Gruszka. Nevertheless, I can help by
suggesting things to test.

Alan Stern