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 Kernel Packages, which is subscribed to linux-restricted-modules in Ubuntu. https://bugs.launchpad.net/bugs/2074120 Title: Hang after upgrading kernel+nvidia drivers Status in linux-restricted-modules package in Ubuntu: Confirmed Bug description: Machine hangs after upgrading kernel and drivers to linux-.*-6.8.0-39-generic After booting back into 6.8.0-36-generic I can see a kernel stack trace for the previous boot: 2024-07-25T22:27:14.214014+02:00 pirx kernel: UBSAN: array-index-out-of-bounds in build/nvidia/535.183.01/build/nvidia-uvm/uvm_pmm_gpu.c:2364:28 2024-07-25T22:27:14.214015+02:00 pirx kernel: index 0 is out of range for type 'uvm_gpu_chunk_t *[*]' 2024-07-25T22:27:14.214017+02:00 pirx kernel: CPU: 14 PID: 3306 Comm: boinc Tainted: P O 6.8.0-39-generic #39-Ubuntu 2024-07-25T22:27:14.214017+02:00 pirx kernel: Hardware name: LENOVO 20STCTO1WW/20STCTO1WW, BIOS N30ET54W (1.37 ) 03/06/2024 2024-07-25T22:27:14.214018+02:00 pirx kernel: Call Trace: 2024-07-25T22:27:14.214027+02:00 pirx kernel: <TASK> 2024-07-25T22:27:14.214028+02:00 pirx kernel: dump_stack_lvl+0x76/0xa0 2024-07-25T22:27:14.214028+02:00 pirx kernel: dump_stack+0x10/0x20 2024-07-25T22:27:14.214029+02:00 pirx kernel: __ubsan_handle_out_of_bounds+0xc6/0x110 2024-07-25T22:27:14.214030+02:00 pirx kernel: split_gpu_chunk+0x13f/0x410 [nvidia_uvm] 2024-07-25T22:27:14.214030+02:00 pirx kernel: uvm_pmm_gpu_alloc+0x2da/0x6d0 [nvidia_uvm] 2024-07-25T22:27:14.214031+02:00 pirx kernel: phys_mem_allocate+0xac/0x230 [nvidia_uvm] 2024-07-25T22:27:14.214032+02:00 pirx kernel: allocate_directory+0xb4/0x130 [nvidia_uvm] 2024-07-25T22:27:14.214032+02:00 pirx kernel: ? allocate_directory+0xb4/0x130 [nvidia_uvm] 2024-07-25T22:27:14.214033+02:00 pirx kernel: uvm_page_tree_init+0x133/0x450 [nvidia_uvm] 2024-07-25T22:27:14.214033+02:00 pirx kernel: uvm_gpu_retain_by_uuid+0x19df/0x2b80 [nvidia_uvm] 2024-07-25T22:27:14.214034+02:00 pirx kernel: uvm_va_space_register_gpu+0x47/0x740 [nvidia_uvm] 2024-07-25T22:27:14.214035+02:00 pirx kernel: ? __find_get_block+0x9d/0xc0 2024-07-25T22:27:14.214035+02:00 pirx kernel: uvm_api_register_gpu+0x5a/0x90 [nvidia_uvm] 2024-07-25T22:27:14.214036+02:00 pirx kernel: uvm_ioctl+0x1a26/0x1cd0 [nvidia_uvm] 2024-07-25T22:27:14.214036+02:00 pirx kernel: ? unlock_new_inode+0x55/0x70 2024-07-25T22:27:14.214037+02:00 pirx kernel: ? __ext4_iget+0x9ca/0x1120 2024-07-25T22:27:14.214037+02:00 pirx kernel: ? __d_add+0x118/0x1e0 2024-07-25T22:27:14.214037+02:00 pirx kernel: ? xa_load+0x87/0xf0 2024-07-25T22:27:14.214038+02:00 pirx kernel: ? ktime_get_with_offset+0x5f/0xf0 2024-07-25T22:27:14.214039+02:00 pirx kernel: ? _raw_spin_lock_irqsave+0xe/0x20 2024-07-25T22:27:14.214039+02:00 pirx kernel: ? thread_context_non_interrupt_add+0x13a/0x250 [nvidia_uvm] 2024-07-25T22:27:14.214040+02:00 pirx kernel: uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm] 2024-07-25T22:27:14.214041+02:00 pirx kernel: ? next_uptodate_folio+0xa9/0x320 2024-07-25T22:27:14.214041+02:00 pirx kernel: uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm] 2024-07-25T22:27:14.214042+02:00 pirx kernel: __x64_sys_ioctl+0xa0/0xf0 2024-07-25T22:27:14.214043+02:00 pirx kernel: x64_sys_call+0x143b/0x25c0 2024-07-25T22:27:14.214043+02:00 pirx kernel: do_syscall_64+0x7f/0x180 2024-07-25T22:27:14.214044+02:00 pirx kernel: ? do_read_fault+0x112/0x1d0 2024-07-25T22:27:14.214044+02:00 pirx kernel: ? do_fault+0x109/0x350 2024-07-25T22:27:14.214045+02:00 pirx kernel: ? handle_pte_fault+0x114/0x1d0 ProblemType: Bug DistroRelease: Ubuntu 24.04 Package: linux-modules-nvidia-535-generic-hwe-24.04 6.8.0-39.39 ProcVersionSignature: Ubuntu 6.8.0-36.36-generic 6.8.4 Uname: Linux 6.8.0-36-generic x86_64 NonfreeKernelModules: zfs nvidia_modeset nvidia ApportVersion: 2.28.1-0ubuntu3 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Thu Jul 25 22:48:23 2024 InstallationDate: Installed on 2024-05-27 (59 days ago) InstallationMedia: Ubuntu 24.04 LTS "Noble Numbat" - Release amd64 (20240424) SourcePackage: linux-restricted-modules UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/2074120/+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