Skip to main content
Network Thinking Solutions Logo

CVE-2021-47361

In the Linux kernel, the following vulnerability has been resolved: mcb: fix error handling in mcb_alloc_bus() There are two bugs: 1) If ida_simple_get() fails then this code calls put_device(carrier) but we haven't yet called get_device(carrier) and probably that leads to a use after free.

All CVEs
CVE-2021-47361Published 5/21/2024

In the Linux kernel, the following vulnerability has been resolved: mcb: fix error handling in mcb_alloc_bus() There are two bugs: 1) If ida_simple_get() fails then this code calls put_device(carrier) but we haven't yet called get_device(carrier) and probably that leads to a use after free.

Vendor advisory
CVSS7.8High

Overview

In the Linux kernel, the following vulnerability has been resolved: mcb: fix error handling in mcb_alloc_bus() There are two bugs: 1) If ida_simple_get() fails then this code calls put_device(carrier) but we haven't yet called get_device(carrier) and probably that leads to a use after free. 2) After device_initialize() then we need to use put_device() to release the bus. This will free the internal resources tied to the device and call mcb_free_bus() which will free the rest.

Published
5/21/2024
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.7, < 4.9.285

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.249

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.209

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.150

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.70

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.14.9

Verify advisory

Source
linux kernel
linux
5.15

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 18d28819809909c3f24bb72183a901c5e332a63d, < 8a558261fa57a6deefb0925ab1829f698b194aea

Verify advisory

Source
Linux
Linux
≥ 18d28819809909c3f24bb72183a901c5e332a63d, < 115b07d9f47e3996430b8f2007edd9768e1f807f

Verify advisory

Source
Linux
Linux
≥ 18d28819809909c3f24bb72183a901c5e332a63d, < 66f74ba9be9daf9c47fface6af3677f602774f6b

Verify advisory

Source
Linux
Linux
≥ 18d28819809909c3f24bb72183a901c5e332a63d, < 7751f609eadf36b1f53712bae430019c53a16eb0

Verify advisory

Source
Linux
Linux
≥ 18d28819809909c3f24bb72183a901c5e332a63d, < 91e4ad05bf18322b5921d1a6c9b603f6eb1694f0

Verify advisory

Source
Linux
Linux
≥ 18d28819809909c3f24bb72183a901c5e332a63d, < 9fc198f415dee070a1de957bb5bf5921d8df3499

Verify advisory

Source
Linux
Linux
≥ 18d28819809909c3f24bb72183a901c5e332a63d, < 25a1433216489de4abc889910f744e952cb6dbae

Verify advisory

Source
Linux
Linux
4.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.