I'm seeing the same kernel log UBSAN:

[   17.137073] kernel: ------------[ cut here ]------------
[   17.137075] kernel: UBSAN: array-index-out-of-bounds in 
build/nvidia/535.183.01/build/nvidia-uvm/uvm_pmm_gpu.c:2364:28
[   17.137078] kernel: index 0 is out of range for type 'uvm_gpu_chunk_t *[*]'
[   17.137079] kernel: CPU: 4 PID: 2886 Comm: gnome-remote-de Tainted: P        
   O       6.8.0-40-generic #40-Ubuntu
[   17.137080] kernel: Hardware name: Intel(R) Client Systems 
NUC13RNGi9/NUC13SBBi9, BIOS SBRPL579.0056.2023.0204.0233 02/04/2023
[   17.137081] kernel: Call Trace:
[   17.137082] kernel:  <TASK>
[   17.137084] kernel:  dump_stack_lvl+0x76/0xa0
[   17.137089] kernel:  dump_stack+0x10/0x20
[   17.137090] kernel:  __ubsan_handle_out_of_bounds+0xc6/0x110
[   17.137093] kernel:  split_gpu_chunk+0x13f/0x410 [nvidia_uvm]
[   17.137124] kernel:  uvm_pmm_gpu_alloc+0x2da/0x6d0 [nvidia_uvm]
[   17.137144] kernel:  phys_mem_allocate+0xac/0x230 [nvidia_uvm]
[   17.137168] kernel:  allocate_directory+0xb4/0x130 [nvidia_uvm]
[   17.137191] kernel:  ? allocate_directory+0xb4/0x130 [nvidia_uvm]
[   17.137214] kernel:  uvm_page_tree_init+0x133/0x450 [nvidia_uvm]
[   17.137238] kernel:  uvm_gpu_retain_by_uuid+0x19df/0x2b80 [nvidia_uvm]
[   17.137254] kernel:  uvm_va_space_register_gpu+0x47/0x740 [nvidia_uvm]
[   17.137270] kernel:  ? __mod_memcg_lruvec_state+0xd6/0x1a0
[   17.137273] kernel:  uvm_api_register_gpu+0x5a/0x90 [nvidia_uvm]
[   17.137288] kernel:  uvm_ioctl+0x1a26/0x1cd0 [nvidia_uvm]
[   17.137301] kernel:  ? next_uptodate_folio+0xa9/0x320
[   17.137303] kernel:  ? filemap_map_pages+0x2fe/0x4c0
[   17.137304] kernel:  ? _raw_spin_lock_irqsave+0xe/0x20
[   17.137306] kernel:  ? thread_context_non_interrupt_add+0x13a/0x250 
[nvidia_uvm]
[   17.137330] kernel:  uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm]
[   17.137347] kernel:  ? __handle_mm_fault+0x653/0x790
[   17.137350] kernel:  uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm]
[   17.137367] kernel:  __x64_sys_ioctl+0xa0/0xf0
[   17.137369] kernel:  x64_sys_call+0x143b/0x25c0
[   17.137370] kernel:  do_syscall_64+0x7f/0x180
[   17.137372] kernel:  ? do_user_addr_fault+0x32c/0x670
[   17.137373] kernel:  ? irqentry_exit_to_user_mode+0x7e/0x260
[   17.137375] kernel:  ? irqentry_exit+0x43/0x50
[   17.137376] kernel:  ? exc_page_fault+0x94/0x1b0
[   17.137377] kernel:  entry_SYSCALL_64_after_hwframe+0x78/0x80

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2074120

Title:
  Hang after upgrading kernel+nvidia drivers

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/2074120/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to