{"id":"CVE-2022-49385","published":"2025-02-26T02:11:20Z","modified":"2026-08-05T08:54:58Z","title":"driver: base: fix UAF when driver_attach failed","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndriver: base: fix UAF when driver_attach failed\n\nWhen driver_attach(drv); failed, the driver_private will be freed.\nBut it has been added to the bus, which caused a UAF.\n\nTo fix it, we need to delete it from the bus when failed.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00297,"percentile":0.22901,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/5d709f58c743166fe1c6914b9de0ae8868600d9b","tags":[]},{"url":"https://git.kernel.org/stable/c/823f24f2e329babd0330200d0b74882516fe57f4","tags":[]},{"url":"https://git.kernel.org/stable/c/cdf1a683a01583bca4b618dd16223cbd6e462e21","tags":[]},{"url":"https://git.kernel.org/stable/c/5389101257828d1913d713d9a40acbe14f5961df","tags":[]},{"url":"https://git.kernel.org/stable/c/c059665c84feab46b7173d3a1bf36c2fb7f9df86","tags":[]},{"url":"https://git.kernel.org/stable/c/310862e574001a97ad02272bac0fd13f75f42a27","tags":[]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":4.58},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 190888ac01d059e38ffe77a2291d44cafa9016fb, < 5d709f58c743166fe1c6914b9de0ae8868600d9b",">= 190888ac01d059e38ffe77a2291d44cafa9016fb, < 823f24f2e329babd0330200d0b74882516fe57f4",">= 190888ac01d059e38ffe77a2291d44cafa9016fb, < cdf1a683a01583bca4b618dd16223cbd6e462e21",">= 190888ac01d059e38ffe77a2291d44cafa9016fb, < 5389101257828d1913d713d9a40acbe14f5961df",">= 190888ac01d059e38ffe77a2291d44cafa9016fb, < c059665c84feab46b7173d3a1bf36c2fb7f9df86",">= 190888ac01d059e38ffe77a2291d44cafa9016fb, < 310862e574001a97ad02272bac0fd13f75f42a27"]},{"vendor":"Linux","product":"Linux","versions":["3.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-27T17:58:41.954887Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54844","exploited":false,"provenance":"source"}}