A vulnerability was found in Linux Kernel up to 5.4.197/5.10.121/5.15.46/5.17.14/5.18.3 and classified as critical. Affected by this issue is the function driver_attach. The manipulation of the argument drv leads to use after free.

This vulnerability is handled as CVE-2022-49385. The attack needs to be initiated within the local network. There is no exploit available.

It is recommended to upgrade the affected component.