Linux · Linux Kernel · CVE-2022-49385
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
A use-after-free (UAF) issue was found in the Linux kernel. The problem occurs when the `driver attach` function fails, causing the `driver private` to be freed while still being part of the bus. This results in a UAF condition.
**Recommendations**
To fix the issue, delete the driver from the bus when the `driver attach` function fails.