{"id":"CVE-2022-49711","summary":"bus: fsl-mc-bus: fix KASAN use-after-free in fsl_mc_bus_remove()","details":"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-\u003eroot_mc_bus_dev-\u003emc_io is passed to\nfsl_destroy_mc_io(). However, mc-\u003eroot_mc_bus_dev is already freed in\nfsl_mc_device_remove(). Then reference to mc-\u003eroot_mc_bus_dev-\u003emc_io\ntriggers KASAN use-after-free. To avoid the use-after-free, keep the\nreference to mc-\u003eroot_mc_bus_dev-\u003emc_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.","modified":"2026-04-02T08:27:51.187014Z","published":"2025-02-26T02:24:28.224Z","related":["SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49711.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/161b68b0a728377aaa10a8e14c70e7734f3c9ff7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/720ab105df7bf3eee62d2bddd41526b29d07d045"},{"type":"WEB","url":"https://git.kernel.org/stable/c/928ea98252ad75118950941683893cf904541da9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ccd1751092341ac120a961835211f9f2e3735963"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49711.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49711"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"f93627146f0e371093966ed3d44c065aa077cfb1"},{"fixed":"720ab105df7bf3eee62d2bddd41526b29d07d045"},{"fixed":"ccd1751092341ac120a961835211f9f2e3735963"},{"fixed":"161b68b0a728377aaa10a8e14c70e7734f3c9ff7"},{"fixed":"928ea98252ad75118950941683893cf904541da9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49711.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}