** Information type changed from Proprietary to Public

** Project changed: nvidia => nvidia-graphics-drivers-535 (Ubuntu)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-535 in Ubuntu.
https://bugs.launchpad.net/bugs/2054701

Title:
  Stack traces in dmesg after booting 23.10 and loading 535.154.05
  driver

Status in nvidia-graphics-drivers-535 package in Ubuntu:
  New

Bug description:
  While investigating a different issue, I noticed several stack traces
  in dmesg that all seem to be array-index-out-of-bounds errors:

  [   20.697614] 
================================================================================
  [   20.697617] UBSAN: array-index-out-of-bounds in 
build/nvidia/535.154.05/build/nvidia-uvm/uvm_pmm_gpu.c:2364:28
  [   20.697619] index 0 is out of range for type 'uvm_gpu_chunk_t *[*]'
  [   20.697621] CPU: 7 PID: 5671 Comm: FAHClient Tainted: P           O       
6.5.0-17-generic #17-Ubuntu
  [   20.697623] Hardware name: Micro-Star International Co., Ltd. 
MS-7C83/B460M PRO-VDH WIFI (MS-7C83), BIOS 1.40 12/04/2020
  [   20.697624] Call Trace:
  [   20.697625]  <TASK>
  [   20.697627]  dump_stack_lvl+0x48/0x70
  [   20.697634]  dump_stack+0x10/0x20
  [   20.697635]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   20.697639]  split_gpu_chunk+0x13f/0x410 [nvidia_uvm]
  [   20.697680]  uvm_pmm_gpu_alloc+0x2da/0x6d0 [nvidia_uvm]
  [   20.697708]  phys_mem_allocate+0xac/0x230 [nvidia_uvm]
  [   20.697741]  allocate_directory+0xb4/0x130 [nvidia_uvm]
  [   20.697772]  ? allocate_directory+0xb4/0x130 [nvidia_uvm]
  [   20.697803]  uvm_page_tree_init+0x133/0x450 [nvidia_uvm]
  [   20.697835]  uvm_gpu_retain_by_uuid+0x19df/0x2b80 [nvidia_uvm]
  [   20.697859]  uvm_va_space_register_gpu+0x47/0x740 [nvidia_uvm]
  [   20.697883]  uvm_api_register_gpu+0x5a/0x90 [nvidia_uvm]
  [   20.697905]  uvm_ioctl+0x1a26/0x1cd0 [nvidia_uvm]
  [   20.697925]  ? __mod_memcg_lruvec_state+0x8c/0x120
  [   20.697928]  ? __do_sys_newuname+0xd5/0x140
  [   20.697931]  ? _raw_spin_lock_irqsave+0xe/0x20
  [   20.697933]  ? thread_context_non_interrupt_add+0x13a/0x2c0 [nvidia_uvm]
  [   20.697966]  uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm]
  [   20.697986]  uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm]
  [   20.698006]  __x64_sys_ioctl+0xa0/0xf0
  [   20.698008]  do_syscall_64+0x59/0x90
  [   20.698010]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   20.698012]  ? syscall_exit_to_user_mode+0x37/0x60
  [   20.698014]  ? do_syscall_64+0x68/0x90
  [   20.698015]  ? exc_page_fault+0x94/0x1b0
  [   20.698017]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   20.698019] RIP: 0033:0x7fe85592396f
  [   20.698041] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 
00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 
00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
  [   20.698042] RSP: 002b:00007ffcfde21ad0 EFLAGS: 00000246 ORIG_RAX: 
0000000000000010
  [   20.698044] RAX: ffffffffffffffda RBX: 00007fe84fcff860 RCX: 
00007fe85592396f
  [   20.698045] RDX: 00007ffcfde21b70 RSI: 0000000000000025 RDI: 
0000000000000004
  [   20.698045] RBP: 00007ffcfde21bd0 R08: 00007fe84fcff8f0 R09: 
0000000000000000
  [   20.698046] R10: 00007fe8558143c0 R11: 0000000000000246 R12: 
0000557f2e498956
  [   20.698047] R13: 00007fe84fcff8f0 R14: 00007ffcfde21b70 R15: 
0000000000000004
  [   20.698048]  </TASK>
  [   20.698049] 
================================================================================
  [   20.698051] 
================================================================================
  [   20.698052] UBSAN: array-index-out-of-bounds in 
build/nvidia/535.154.05/build/nvidia-uvm/uvm_pmm_gpu.c:2038:44
  [   20.698053] index 0 is out of range for type 'uvm_gpu_chunk_t *[*]'
  [   20.698054] CPU: 7 PID: 5671 Comm: FAHClient Tainted: P           O       
6.5.0-17-generic #17-Ubuntu
  [   20.698056] Hardware name: Micro-Star International Co., Ltd. 
MS-7C83/B460M PRO-VDH WIFI (MS-7C83), BIOS 1.40 12/04/2020
  [   20.698056] Call Trace:
  [   20.698057]  <TASK>
  [   20.698057]  dump_stack_lvl+0x48/0x70
  [   20.698060]  dump_stack+0x10/0x20
  [   20.698061]  __ubsan_handle_out_of_bounds+0xc6/0x110
  [   20.698063]  uvm_pmm_gpu_alloc+0x2f5/0x6d0 [nvidia_uvm]
  [   20.698092]  phys_mem_allocate+0xac/0x230 [nvidia_uvm]
  [   20.698125]  allocate_directory+0xb4/0x130 [nvidia_uvm]
  [   20.698155]  ? allocate_directory+0xb4/0x130 [nvidia_uvm]
  [   20.698186]  uvm_page_tree_init+0x133/0x450 [nvidia_uvm]
  [   20.698218]  uvm_gpu_retain_by_uuid+0x19df/0x2b80 [nvidia_uvm]
  [   20.698242]  uvm_va_space_register_gpu+0x47/0x740 [nvidia_uvm]
  [   20.698266]  uvm_api_register_gpu+0x5a/0x90 [nvidia_uvm]
  [   20.698288]  uvm_ioctl+0x1a26/0x1cd0 [nvidia_uvm]
  [   20.698308]  ? __mod_memcg_lruvec_state+0x8c/0x120
  [   20.698310]  ? __do_sys_newuname+0xd5/0x140
  [   20.698313]  ? _raw_spin_lock_irqsave+0xe/0x20
  [   20.698314]  ? thread_context_non_interrupt_add+0x13a/0x2c0 [nvidia_uvm]
  [   20.698346]  uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm]
  [   20.698367]  uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm]
  [   20.698387]  __x64_sys_ioctl+0xa0/0xf0
  [   20.698388]  do_syscall_64+0x59/0x90
  [   20.698390]  ? exit_to_user_mode_prepare+0x30/0xb0
  [   20.698392]  ? syscall_exit_to_user_mode+0x37/0x60
  [   20.698393]  ? do_syscall_64+0x68/0x90
  [   20.698394]  ? exc_page_fault+0x94/0x1b0
  [   20.698396]  entry_SYSCALL_64_after_hwframe+0x6e/0xd8
  [   20.698397] RIP: 0033:0x7fe85592396f
  [   20.698403] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 
00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 
00 f0 ff ff 77 18 48 8b 44 24 18 64 48 2b 04 25 28 00 00
  [   20.698404] RSP: 002b:00007ffcfde21ad0 EFLAGS: 00000246 ORIG_RAX: 
0000000000000010
  [   20.698405] RAX: ffffffffffffffda RBX: 00007fe84fcff860 RCX: 
00007fe85592396f
  [   20.698406] RDX: 00007ffcfde21b70 RSI: 0000000000000025 RDI: 
0000000000000004
  [   20.698406] RBP: 00007ffcfde21bd0 R08: 00007fe84fcff8f0 R09: 
0000000000000000
  [   20.698407] R10: 00007fe8558143c0 R11: 0000000000000246 R12: 
0000557f2e498956
  [   20.698408] R13: 00007fe84fcff8f0 R14: 00007ffcfde21b70 R15: 
0000000000000004
  [   20.698409]  </TASK>
  [   20.698410] 
================================================================================

  Those are the first two, I've attached the dmesg log with the full run
  of them.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2054701/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to