{"schema_version":"1.9.0","id":"CVE-2022-49711","published":"2025-02-26T02:24:28.224Z","modified":"2026-08-12T03:51:39.062241257Z","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"],"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->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.","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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"5.10.248"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.49"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.18.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/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"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49711.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}