GHSA-MGJQ-WWGF-853F

Vulnerability from github – Published: 2025-05-01 15:31 – Updated: 2025-05-01 15:31
VLAI
Details

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

drm/amdkfd: Migrate in CPU page fault use current mm

migrate_vma_setup shows below warning because we don't hold another process mm mmap_lock. We should use current vmf->vma->vm_mm instead, the caller already hold current mmap lock inside CPU page fault handler.

WARNING: CPU: 10 PID: 3054 at include/linux/mmap_lock.h:155 find_vma Call Trace: walk_page_range+0x76/0x150 migrate_vma_setup+0x18a/0x640 svm_migrate_vram_to_ram+0x245/0xa10 [amdgpu] svm_migrate_to_ram+0x36f/0x470 [amdgpu] do_swap_page+0xcfe/0xec0 __handle_mm_fault+0x96b/0x15e0 handle_mm_fault+0x13f/0x3e0 do_user_addr_fault+0x1e7/0x690

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2022-49843"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2025-05-01T15:16:07Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdkfd: Migrate in CPU page fault use current mm\n\nmigrate_vma_setup shows below warning because we don\u0027t hold another\nprocess mm mmap_lock. We should use current vmf-\u003evma-\u003evm_mm instead, the\ncaller already hold current mmap lock inside CPU page fault handler.\n\n WARNING: CPU: 10 PID: 3054 at include/linux/mmap_lock.h:155 find_vma\n Call Trace:\n  walk_page_range+0x76/0x150\n  migrate_vma_setup+0x18a/0x640\n  svm_migrate_vram_to_ram+0x245/0xa10 [amdgpu]\n  svm_migrate_to_ram+0x36f/0x470 [amdgpu]\n  do_swap_page+0xcfe/0xec0\n  __handle_mm_fault+0x96b/0x15e0\n  handle_mm_fault+0x13f/0x3e0\n  do_user_addr_fault+0x1e7/0x690",
  "id": "GHSA-mgjq-wwgf-853f",
  "modified": "2025-05-01T15:31:49Z",
  "published": "2025-05-01T15:31:49Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49843"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/128e284c6cccf5875261569fa3bb07558870c17f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1dea25e25acd990d7657940ffcab8354c28fa292"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3a876060892ba52dd67d197c78b955e62657d906"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…