2084AI 安全观察

CVE

CVE-2021-47060

CVE-2021-47060HIGH 7.8EPSS 15%

CNA 原文 · 原文(英文)

In the Linux kernel, the following vulnerability has been resolved: KVM: Stop looking for coalesced MMIO zones if the bus is destroyed Abort the walk of coalesced MMIO zones if kvm_io_bus_unregister_dev() fails to allocate memory for the new instance of the bus. If it can't instantiate a new bus, unregister_dev() destroys all devices _except_ the target device. But, it doesn't tell the caller that it obliterated the bus and invoked the destructor for all devices that were on the bus. In the coalesced MMIO case, this can result in a deleted list entry dereference due to attempting to continue iterating on coalesced_zones after future entries (in the walk) have been deleted. Opportunistically add curly braces to the for-loop, which encompasses many lines but sneaks by without braces due to the guts being a single if statement.

受影响版本

Linux kernel 的全部漏洞 →

  • ≥ 5.12, < 5.12.4修复版本 5.12.4
  • ≥ 5.11, < 5.11.21修复版本 5.11.21
  • ≥ 5.9, < 5.10.37修复版本 5.10.37
  • ≥ 5.4.66, < 5.4.119修复版本 5.4.119

发行版软件包(Debian、Ubuntu、Red Hat 等)会回移补丁而不改上游版本号,请同时查看所用发行版的安全公告。

公告与补丁

数据来源:NVD(公有领域)、CISA KEV(CC0)、FIRST EPSS、OSV.dev / GitHub Advisory Database(CC-BY 4.0) · 本库只列受影响版本与修复版本,不托管、不链接任何利用代码。