ghsa-x3f2-q3jq-26fv
Vulnerability from github
Published
2024-02-27 09:31
Modified
2024-02-27 09:31
Details

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

KVM: VMX: Don't use vcpu->run->internal.ndata as an array index

__vmx_handle_exit() uses vcpu->run->internal.ndata as an index for an array access. Since vcpu->run is (can be) mapped to a user address space with a writer permission, the 'ndata' could be updated by the user process at anytime (the user process can set it to outside the bounds of the array). So, it is not safe that __vmx_handle_exit() uses the 'ndata' that way.

Show details on source website


{
  "affected": [],
  "aliases": [
    "CVE-2021-46907"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2024-02-27T07:15:06Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: VMX: Don\u0027t use vcpu-\u003erun-\u003einternal.ndata as an array index\n\n__vmx_handle_exit() uses vcpu-\u003erun-\u003einternal.ndata as an index for\nan array access.  Since vcpu-\u003erun is (can be) mapped to a user address\nspace with a writer permission, the \u0027ndata\u0027 could be updated by the\nuser process at anytime (the user process can set it to outside the\nbounds of the array).\nSo, it is not safe that __vmx_handle_exit() uses the \u0027ndata\u0027 that way.",
  "id": "GHSA-x3f2-q3jq-26fv",
  "modified": "2024-02-27T09:31:15Z",
  "published": "2024-02-27T09:31:15Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46907"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/04c4f2ee3f68c9a4bf1653d15f1a9a435ae33f7a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7f64753835a78c7d2cc2932a5808ef3b7fd4c050"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ce541d7b59566a0d94c7c99bfb5d34b050e6af70"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.