{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2021-47361", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-05-21T14:58:30.809Z", "datePublished": "2024-05-21T15:03:29.882Z", "dateUpdated": "2026-05-11T13:53:13.268Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T13:53:13.268Z" }, "descriptions": [ { "lang": "en", "value": "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." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/mcb/mcb-core.c" ], "versions": [ { "version": "18d28819809909c3f24bb72183a901c5e332a63d", "lessThan": "8a558261fa57a6deefb0925ab1829f698b194aea", "status": "affected", "versionType": "git" }, { "version": "18d28819809909c3f24bb72183a901c5e332a63d", "lessThan": "115b07d9f47e3996430b8f2007edd9768e1f807f", "status": "affected", "versionType": "git" }, { "version": "18d28819809909c3f24bb72183a901c5e332a63d", "lessThan": "66f74ba9be9daf9c47fface6af3677f602774f6b", "status": "affected", "versionType": "git" }, { "version": "18d28819809909c3f24bb72183a901c5e332a63d", "lessThan": "7751f609eadf36b1f53712bae430019c53a16eb0", "status": "affected", "versionType": "git" }, { "version": "18d28819809909c3f24bb72183a901c5e332a63d", "lessThan": "91e4ad05bf18322b5921d1a6c9b603f6eb1694f0", "status": "affected", "versionType": "git" }, { "version": "18d28819809909c3f24bb72183a901c5e332a63d", "lessThan": "9fc198f415dee070a1de957bb5bf5921d8df3499", "status": "affected", "versionType": "git" }, { "version": "18d28819809909c3f24bb72183a901c5e332a63d", "lessThan": "25a1433216489de4abc889910f744e952cb6dbae", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "drivers/mcb/mcb-core.c" ], "versions": [ { "version": "4.7", "status": "affected" }, { "version": "0", "lessThan": "4.7", "status": "unaffected", "versionType": "semver" }, { "version": "4.9.285", "lessThanOrEqual": "4.9.*", "status": "unaffected", "versionType": "semver" }, { "version": "4.14.249", "lessThanOrEqual": "4.14.*", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.209", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.150", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.70", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.14.9", "lessThanOrEqual": "5.14.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.7", "versionEndExcluding": "4.9.285" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.7", "versionEndExcluding": "4.14.249" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.7", "versionEndExcluding": "4.19.209" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.7", "versionEndExcluding": "5.4.150" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.7", "versionEndExcluding": "5.10.70" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.7", "versionEndExcluding": "5.14.9" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.7", "versionEndExcluding": "5.15" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/8a558261fa57a6deefb0925ab1829f698b194aea" }, { "url": "https://git.kernel.org/stable/c/115b07d9f47e3996430b8f2007edd9768e1f807f" }, { "url": "https://git.kernel.org/stable/c/66f74ba9be9daf9c47fface6af3677f602774f6b" }, { "url": "https://git.kernel.org/stable/c/7751f609eadf36b1f53712bae430019c53a16eb0" }, { "url": "https://git.kernel.org/stable/c/91e4ad05bf18322b5921d1a6c9b603f6eb1694f0" }, { "url": "https://git.kernel.org/stable/c/9fc198f415dee070a1de957bb5bf5921d8df3499" }, { "url": "https://git.kernel.org/stable/c/25a1433216489de4abc889910f744e952cb6dbae" } ], "title": "mcb: fix error handling in mcb_alloc_bus()", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CISA ADP Vulnrichment", "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2021-47361", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-05-21T18:23:29.755480Z" } } } ], "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-04T17:13:52.235Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-04T05:32:08.591Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/8a558261fa57a6deefb0925ab1829f698b194aea", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/115b07d9f47e3996430b8f2007edd9768e1f807f", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/66f74ba9be9daf9c47fface6af3677f602774f6b", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/7751f609eadf36b1f53712bae430019c53a16eb0", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/91e4ad05bf18322b5921d1a6c9b603f6eb1694f0", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/9fc198f415dee070a1de957bb5bf5921d8df3499", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/25a1433216489de4abc889910f744e952cb6dbae", "tags": [ "x_transferred" ] } ] } ] } }