CVE-2021-47361

High

Description

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedMay 21, 2024
First seenMay 21, 2024

How to fix

Update
  • linux linux_kernel4.9.285, 4.14.249, 4.19.209, 5.4.150, 5.10.70, 5.14.9 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel4.7 ≤ v < 4.9.285, 4.10 ≤ v < 4.14.249, 4.15 ≤ v < 4.19.209, 4.20 ≤ v < 5.4.150, 5.5 ≤ v < 5.10.70, 5.11 ≤ v < 5.14.9, 5.154.9.285, 4.14.249, 4.19.209, 5.4.150, 5.10.70, 5.14.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.