{"id":"CVE-2022-49711","published":"2025-02-26T02:24:28Z","modified":"2026-05-11T19:05:19Z","title":"bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()\n\nIn fsl_mc_bus_remove(), mc->root_mc_bus_dev->mc_io is passed to\nfsl_destroy_mc_io(). However, mc->root_mc_bus_dev is already freed in\nfsl_mc_device_remove(). Then reference to mc->root_mc_bus_dev->mc_io\ntriggers KASAN use-after-free. To avoid the use-after-free, keep the\nreference to mc->root_mc_bus_dev->mc_io in a local variable and pass to\nfsl_destroy_mc_io().\n\nThis patch needs rework to apply to kernels older than v5.15.","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":"CISA ADP Vulnrichment"},"epss":{"score":0.00275,"percentile":0.20362,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/720ab105df7bf3eee62d2bddd41526b29d07d045","tags":[]},{"url":"https://git.kernel.org/stable/c/ccd1751092341ac120a961835211f9f2e3735963","tags":[]},{"url":"https://git.kernel.org/stable/c/161b68b0a728377aaa10a8e14c70e7734f3c9ff7","tags":[]},{"url":"https://git.kernel.org/stable/c/928ea98252ad75118950941683893cf904541da9","tags":[]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.07},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= f93627146f0e371093966ed3d44c065aa077cfb1, < 720ab105df7bf3eee62d2bddd41526b29d07d045",">= f93627146f0e371093966ed3d44c065aa077cfb1, < ccd1751092341ac120a961835211f9f2e3735963",">= f93627146f0e371093966ed3d44c065aa077cfb1, < 161b68b0a728377aaa10a8e14c70e7734f3c9ff7",">= f93627146f0e371093966ed3d44c065aa077cfb1, < 928ea98252ad75118950941683893cf904541da9"]},{"vendor":"Linux","product":"Linux","versions":["4.8"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-02-27T18:14:53.258258Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54524","exploited":false,"provenance":"source"}}