Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47061
HistoryFeb 29, 2024 - 10:37 p.m.

CVE-2021-47061 KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU

2024-02-2922:37:35
Linux
github.com
8
linux kernel
kvm
vulnerability

AI Score

6.5

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

In the Linux kernel, the following vulnerability has been resolved:

KVM: Destroy I/O bus devices on unregister failure after sync’ing SRCU

If allocating a new instance of an I/O bus fails when unregistering a
device, wait to destroy the device until after all readers are guaranteed
to see the new null bus. Destroying devices before the bus is nullified
could lead to use-after-free since readers expect the devices on their
reference of the bus to remain valid.

CNA Affected

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "f65886606c2d",
        "lessThan": "03c6cccedd39",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f65886606c2d",
        "lessThan": "4e899ca84863",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f65886606c2d",
        "lessThan": "30f46c699373",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "f65886606c2d",
        "lessThan": "2ee3757424be",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "virt/kvm/kvm_main.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "5.9"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "5.9",
        "versionType": "custom"
      },
      {
        "status": "unaffected",
        "version": "5.10.37",
        "versionType": "custom",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.11.21",
        "versionType": "custom",
        "lessThanOrEqual": "5.11.*"
      },
      {
        "status": "unaffected",
        "version": "5.12.4",
        "versionType": "custom",
        "lessThanOrEqual": "5.12.*"
      },
      {
        "status": "unaffected",
        "version": "5.13",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "virt/kvm/kvm_main.c"
    ],
    "defaultStatus": "affected"
  }
]

AI Score

6.5

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial