CVE-2021-47361: Linux Kernel
High severity, CVSS 7.8. EPSS: 0.2% chance of exploitation in the next 30 days.
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.
Affected products
- Linux Linux Kernel: from 4.7, before 4.9.285 (fixed in 4.9.285); from 4.10, before 4.14.249 (fixed in 4.14.249); from 4.15, before 4.19.209 (fixed in 4.19.209); from 4.20, before 5.4.150 (fixed in 5.4.150); from 5.5, before 5.10.70 (fixed in 5.10.70); from 5.11, before 5.14.9 (fixed in 5.14.9); …
Published 2024-05-21. Last modified 2026-06-17.