Vulnerabilities · 2022 · Linux
CVE-2022-49385
Linux Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: driver: base: fix UAF when driver_attach failed When driver_attach(drv); failed, the driver_private will be freed. But it has been added to the bus, which caused a UAF. To fix it, we need to delete it from the bus when failed.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27 · Patch
- git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961df · Patch
- git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9b · Patch
- git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4 · Patch
- git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86 · Patch
- git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21 · Patch
- nvd.nist.gov/vuln/detail/CVE-2022-49385
- cve.org/CVERecord?id=CVE-2022-49385
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.