{"id":"CVE-2021-47361","published":"2024-05-21T15:03:29Z","modified":"2026-05-11T13:53:13Z","title":"mcb: fix error handling in mcb_alloc_bus()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmcb: fix error handling in mcb_alloc_bus()\n\nThere are two bugs:\n1) If ida_simple_get() fails then this code calls put_device(carrier)\n   but we haven't yet called get_device(carrier) and probably that\n   leads to a use after free.\n2) After device_initialize() then we need to use put_device() to\n   release the bus.  This will free the internal resources tied to the\n   device and call mcb_free_bus() which will free the rest.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00318,"percentile":0.17177,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/8a558261fa57a6deefb0925ab1829f698b194aea","tags":[]},{"url":"https://git.kernel.org/stable/c/115b07d9f47e3996430b8f2007edd9768e1f807f","tags":[]},{"url":"https://git.kernel.org/stable/c/66f74ba9be9daf9c47fface6af3677f602774f6b","tags":[]},{"url":"https://git.kernel.org/stable/c/7751f609eadf36b1f53712bae430019c53a16eb0","tags":[]},{"url":"https://git.kernel.org/stable/c/91e4ad05bf18322b5921d1a6c9b603f6eb1694f0","tags":[]},{"url":"https://git.kernel.org/stable/c/9fc198f415dee070a1de957bb5bf5921d8df3499","tags":[]},{"url":"https://git.kernel.org/stable/c/25a1433216489de4abc889910f744e952cb6dbae","tags":[]}],"priority":{"score":3.4,"factors":[{"name":"EPSS percentile","points":3.44}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 18d28819809909c3f24bb72183a901c5e332a63d, < 8a558261fa57a6deefb0925ab1829f698b194aea",">= 18d28819809909c3f24bb72183a901c5e332a63d, < 115b07d9f47e3996430b8f2007edd9768e1f807f",">= 18d28819809909c3f24bb72183a901c5e332a63d, < 66f74ba9be9daf9c47fface6af3677f602774f6b",">= 18d28819809909c3f24bb72183a901c5e332a63d, < 7751f609eadf36b1f53712bae430019c53a16eb0",">= 18d28819809909c3f24bb72183a901c5e332a63d, < 91e4ad05bf18322b5921d1a6c9b603f6eb1694f0",">= 18d28819809909c3f24bb72183a901c5e332a63d, < 9fc198f415dee070a1de957bb5bf5921d8df3499",">= 18d28819809909c3f24bb72183a901c5e332a63d, < 25a1433216489de4abc889910f744e952cb6dbae"]},{"vendor":"Linux","product":"Linux","versions":["4.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-21T18:23:29.755480Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-34366","exploited":false,"provenance":"source"}}