{
  "cveId": "CVE-2021-46927",
  "url": "https://patchblox.com/security/cve/CVE-2021-46927",
  "summary": "CVE-2021-46927 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-46927, released February 27, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "linux: In the Linux kernel, the following vulnerability has been resolved:  nitro_enclaves: Use get_user_pages_unlocked() ca...",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  nitro_enclaves: Use get_user_pages_unlocked() call to handle mmap assert  After commit 5b78ed24e8ec (\u0022mm/pagemap: add mmap_assert_locked() annotations to find_vma*()\u0022), the call to get_user_pages() will trigger the mmap assert.  static inline void mmap_assert_locked(struct mm_struct *mm) { \tlockdep_assert_held(\u0026mm-\u003Emmap_lock); \tVM_BUG_ON_MM(!rwsem_is_locked(\u0026mm-\u003Emmap_lock), mm); }  [   62.521410] kernel BUG at include/linux/mmap_lock.h:156! ........................................................... [   62.538938] RIP: 0010:find_vma\u002B0x32/0x80 ........................................................... [   62.605889] Call Trace: [   62.608502]  \u003CTASK\u003E [   62.610956]  ? lock_timer_base\u002B0x61/0x80 [   62.614106]  find_extend_vma\u002B0x19/0x80 [   62.617195]  __get_user_pages\u002B0x9b/0x6a0 [   62.620356]  __gup_longterm_locked\u002B0x42d/0x450 [   62.623721]  ? finish_wait\u002B0x41/0x80 [   62.626748]  ? __kmalloc\u002B0x178/0x2f0 [   62.629768]  ne_set_user_memory_region_ioctl.isra.0\u002B0x225/0x6a0 [nitro_enclaves] [   62.635776]  ne_enclave_ioctl\u002B0x1cf/0x6d7 [nitro_enclaves] [   62.639541]  __x64_sys_ioctl\u002B0x82/0xb0 [   62.642620]  do_syscall_64\u002B0x3b/0x90 [   62.645642]  entry_SYSCALL_64_after_hwframe\u002B0x44/0xae  Use get_user_pages_unlocked() when setting the enclave memory regions. That\u0027s a similar pattern as mmap_read_lock() used together with get_user_pages().",
  "published": "2024-02-27T10:15:07Z",
  "severity": "medium",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.0015,
  "epssPercentile": 0.04184,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.15.15-1",
      "fix": "DEBIAN-CVE-2021-46927",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-46927",
      "released": "2024-02-27T10:15:07Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.15.15-1",
      "fix": "DEBIAN-CVE-2021-46927",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-46927",
      "released": "2024-02-27T10:15:07Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "5.15.15-1",
      "fix": "DEBIAN-CVE-2021-46927",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-46927",
      "released": "2024-02-27T10:15:07Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-09T13:31:49Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}