Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2023-53259

VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF

Description

In the Linux kernel, the following vulnerability has been resolved: VMCI: check context->notify_page after call to get_user_pages_fast() to avoid GPF The call to get_user_pages_fast() in vmci_host_setup_notify() can return NULL context->notify_page causing a GPF. To avoid GPF check if context->notify_page == NULL and return error if so. general protection fault, probably for non-canonical address 0xe0009d1000000060: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: maybe wild-memory-access in range [0x0005088000000300- 0x0005088000000307] CPU: 2 PID: 26180 Comm: repro_34802241 Not tainted 6.1.0-rc4 #1 Hardware name: Red Hat KVM, BIOS 1.15.0-2.module+el8.6.0 04/01/2014 RIP: 0010:vmci_ctx_check_signal_notify+0x91/0xe0 Call Trace: <TASK> vmci_host_unlocked_ioctl+0x362/0x1f40 __x64_sys_ioctl+0x1a1/0x230 do_syscall_64+0x3a/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a1d88436d53a75e950db15834b3d2f8c0c358fdc to < b4239bfb260d1e6837766c41a0b241d7670f1402affected
  • a1d88436d53a75e950db15834b3d2f8c0c358fdc to < d4198f67e7556b1507f14f60d81a72660e5560e4affected
  • a1d88436d53a75e950db15834b3d2f8c0c358fdc to < a3c89e8c69a58f62451c0a75b77fcab25979b897affected
  • a1d88436d53a75e950db15834b3d2f8c0c358fdc to < 055891397f530f9b1b22be38d7eca8b08382941faffected
  • a1d88436d53a75e950db15834b3d2f8c0c358fdc to < 91b8e4f61f8f4594ee65368c8d89e6fdc29d3fb1affected
  • a1d88436d53a75e950db15834b3d2f8c0c358fdc to < 1a726cb47fd204109c767409fa9ca15a96328f14affected

Linux Linux

Default version status: affected

  • 4.0affected
  • 0 to < 4.0unaffected
  • 5.4.296 to ≤ 5.4.*unaffected
  • 5.10.240 to ≤ 5.10.*unaffected
  • 5.15.99 to ≤ 5.15.*unaffected
  • 6.1.16 to ≤ 6.1.*unaffected
  • 6.2.3 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References