CVE-2021-47361: mcb: fix error handling in mcb_alloc_bus()
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.
Security readout for executives and security teams
Plain-English summary
CVE-2021-47361 is a Linux kernel flaw in error handling for the MCB bus allocation path. The issue may cause incorrect device reference cleanup and a possible use-after-free in specific failure conditions. The supplied sources do not define an attack vector, business impact, or active exploitation.
Executive priority
Treat as a kernel hygiene item unless local context shows MCB usage on sensitive systems. There is no supplied evidence of exploitation or broad remote exposure, but kernel memory-safety bugs should be remediated through normal patch cycles.
Technical view
The kernel fix addresses two mcb_alloc_bus() cleanup bugs: calling put_device(carrier) before get_device(carrier) if ida_simple_get() fails, and failing to use put_device() after device_initialize() to release bus resources through mcb_free_bus(). The record lists affected Linux kernel versions and multiple stable fix commits.
Likely exposure
Exposure appears limited to Linux systems running affected kernel versions where the MCB subsystem and mcb_alloc_bus() path are present. The source bundle does not identify affected distributions, default configurations, remote reachability, or required privileges.
Exploitation context
The supplied sources do not show KEV listing, active exploitation, public exploit use, or a proof of concept. The bug is described as an error-path memory lifecycle issue, but triggering conditions and security impact are not fully documented in the bundle.
Researcher notes
Key uncertainty is impact. The record describes a possible use-after-free from reference-counting cleanup mistakes, but no CVSS, CWE, exploitability analysis, or privilege boundary is provided. Research should focus on reachable callers, kernel configuration, and vendor backport status.
Mitigation direction
Update affected Linux kernels using vendor-supported packages containing the stable fixes.
Check distribution advisories for CVE-2021-47361 or the referenced commit IDs.
Prioritize systems that load or depend on the Linux MCB subsystem.
Avoid unsupported kernel builds where stable fixes cannot be verified.
Validation and detection
Inventory Linux kernel versions across servers, appliances, and embedded systems.
Check whether kernel packages include the referenced stable commits or vendor backports.
Review running kernel configuration and modules for MCB subsystem presence.
Confirm vulnerability scanner findings against actual kernel build metadata.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47361 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.