Open strelok1111 opened 1 year ago
If I enable Legacy tray support and start skypeforlinux(with tray icon) and then hit super+L and try to login, gnome-shell(45) crashes. dmesg [ 132.154684] UBSAN: array-index-out-of-bounds in /var/lib/dkms/nvidia/535.129.03/build/nvidia-uvm/uvm_mmu.c:569:17 [ 132.154686] index 0 is out of range for type 'uvm_page_directory_t *[*]' [ 132.154687] CPU: 2 PID: 12862 Comm: gst-plugin-scan Tainted: P S OE 6.5.0-10-generic #10-Ubuntu [ 132.154688] Hardware name: Micro-Star International Co., Ltd. Stealth GS77 12UGS/MS-17P1, BIOS E17P1IMS.109 06/27/2022 [ 132.154689] Call Trace: [ 132.154690] <TASK> [ 132.154691] dump_stack_lvl+0x48/0x70 [ 132.154696] dump_stack+0x10/0x20 [ 132.154698] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 132.154700] uvm_page_tree_get_ptes_async+0x6a2/0xc30 [nvidia_uvm] [ 132.154731] ? __kmalloc+0x51/0x170 [ 132.154734] ? alloc_internal.part.0+0x2c/0x40 [nvidia_uvm] [ 132.154759] uvm_page_table_range_vec_init+0x191/0x2a0 [nvidia_uvm] [ 132.154785] uvm_va_range_map_rm_allocation+0x2ad/0x470 [nvidia_uvm] [ 132.154808] ? __pfx_entry_size_pascal+0x10/0x10 [nvidia_uvm] [ 132.154837] uvm_map_external_allocation_on_gpu+0x35f/0x4f0 [nvidia_uvm] [ 132.154860] ? uvm_map_external_allocation_on_gpu+0x35f/0x4f0 [nvidia_uvm] [ 132.154883] uvm_api_map_external_allocation+0x53f/0x7a0 [nvidia_uvm] [ 132.154905] ? alloc_internal.part.0+0x18/0x40 [nvidia_uvm] [ 132.154930] uvm_ioctl+0x18ff/0x1cd0 [nvidia_uvm] [ 132.154952] ? uvm_ioctl+0x18ff/0x1cd0 [nvidia_uvm] [ 132.154973] ? uvm_ioctl+0x491/0x1cd0 [nvidia_uvm] [ 132.154995] ? __mod_lruvec_state+0x36/0x50 [ 132.154997] ? page_add_file_rmap+0x16e/0x1d0 [ 132.154999] ? xas_find+0x74/0x1e0 [ 132.155000] ? filemap_map_pages+0x2b3/0x460 [ 132.155003] ? _raw_spin_lock_irqsave+0xe/0x20 [ 132.155005] ? thread_context_non_interrupt_add+0x13a/0x2c0 [nvidia_uvm] [ 132.155036] uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm] [ 132.155056] ? __handle_mm_fault+0x658/0x720 [ 132.155058] uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm] [ 132.155078] __x64_sys_ioctl+0xa0/0xf0 [ 132.155080] do_syscall_64+0x59/0x90 [ 132.155082] ? do_syscall_64+0x68/0x90 [ 132.155083] ? do_user_addr_fault+0x238/0x6b0 [ 132.155085] ? exit_to_user_mode_prepare+0x30/0xb0 [ 132.155087] ? irqentry_exit_to_user_mode+0x17/0x20 [ 132.155089] ? irqentry_exit+0x43/0x50 [ 132.155090] ? exc_page_fault+0x94/0x1b0 [ 132.155092] entry_SYSCALL_64_after_hwframe+0x6e/0xd8 [ 132.155094] RIP: 0033:0x7f8d60b238ef [ 132.155115] 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 [ 132.155115] RSP: 002b:00007ffece5cd080 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 132.155117] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f8d60b238ef [ 132.155117] RDX: 00007ffece5cd530 RSI: 0000000000000021 RDI: 0000000000000011 [ 132.155118] RBP: 00007ffece5cda10 R08: 00007f8d4acfe8f0 R09: 0000000000000000 [ 132.155119] R10: 0000000200000000 R11: 0000000000000246 R12: 00007ffece5cd0f0 [ 132.155119] R13: 00007ffece5cd548 R14: 00007f8d4acfe8f0 R15: 00007ffece5cd530 [ 132.155122] </TASK> [ 132.155128] ================================================================================ [ 132.155205] ================================================================================
[ 132.154684] UBSAN: array-index-out-of-bounds in /var/lib/dkms/nvidia/535.129.03/build/nvidia-uvm/uvm_mmu.c:569:17 [ 132.154686] index 0 is out of range for type 'uvm_page_directory_t *[*]' [ 132.154687] CPU: 2 PID: 12862 Comm: gst-plugin-scan Tainted: P S OE 6.5.0-10-generic #10-Ubuntu [ 132.154688] Hardware name: Micro-Star International Co., Ltd. Stealth GS77 12UGS/MS-17P1, BIOS E17P1IMS.109 06/27/2022 [ 132.154689] Call Trace: [ 132.154690] <TASK> [ 132.154691] dump_stack_lvl+0x48/0x70 [ 132.154696] dump_stack+0x10/0x20 [ 132.154698] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 132.154700] uvm_page_tree_get_ptes_async+0x6a2/0xc30 [nvidia_uvm] [ 132.154731] ? __kmalloc+0x51/0x170 [ 132.154734] ? alloc_internal.part.0+0x2c/0x40 [nvidia_uvm] [ 132.154759] uvm_page_table_range_vec_init+0x191/0x2a0 [nvidia_uvm] [ 132.154785] uvm_va_range_map_rm_allocation+0x2ad/0x470 [nvidia_uvm] [ 132.154808] ? __pfx_entry_size_pascal+0x10/0x10 [nvidia_uvm] [ 132.154837] uvm_map_external_allocation_on_gpu+0x35f/0x4f0 [nvidia_uvm] [ 132.154860] ? uvm_map_external_allocation_on_gpu+0x35f/0x4f0 [nvidia_uvm] [ 132.154883] uvm_api_map_external_allocation+0x53f/0x7a0 [nvidia_uvm] [ 132.154905] ? alloc_internal.part.0+0x18/0x40 [nvidia_uvm] [ 132.154930] uvm_ioctl+0x18ff/0x1cd0 [nvidia_uvm] [ 132.154952] ? uvm_ioctl+0x18ff/0x1cd0 [nvidia_uvm] [ 132.154973] ? uvm_ioctl+0x491/0x1cd0 [nvidia_uvm] [ 132.154995] ? __mod_lruvec_state+0x36/0x50 [ 132.154997] ? page_add_file_rmap+0x16e/0x1d0 [ 132.154999] ? xas_find+0x74/0x1e0 [ 132.155000] ? filemap_map_pages+0x2b3/0x460 [ 132.155003] ? _raw_spin_lock_irqsave+0xe/0x20 [ 132.155005] ? thread_context_non_interrupt_add+0x13a/0x2c0 [nvidia_uvm] [ 132.155036] uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm] [ 132.155056] ? __handle_mm_fault+0x658/0x720 [ 132.155058] uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm] [ 132.155078] __x64_sys_ioctl+0xa0/0xf0 [ 132.155080] do_syscall_64+0x59/0x90 [ 132.155082] ? do_syscall_64+0x68/0x90 [ 132.155083] ? do_user_addr_fault+0x238/0x6b0 [ 132.155085] ? exit_to_user_mode_prepare+0x30/0xb0 [ 132.155087] ? irqentry_exit_to_user_mode+0x17/0x20 [ 132.155089] ? irqentry_exit+0x43/0x50 [ 132.155090] ? exc_page_fault+0x94/0x1b0 [ 132.155092] entry_SYSCALL_64_after_hwframe+0x6e/0xd8 [ 132.155094] RIP: 0033:0x7f8d60b238ef [ 132.155115] 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 [ 132.155115] RSP: 002b:00007ffece5cd080 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 132.155117] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f8d60b238ef [ 132.155117] RDX: 00007ffece5cd530 RSI: 0000000000000021 RDI: 0000000000000011 [ 132.155118] RBP: 00007ffece5cda10 R08: 00007f8d4acfe8f0 R09: 0000000000000000 [ 132.155119] R10: 0000000200000000 R11: 0000000000000246 R12: 00007ffece5cd0f0 [ 132.155119] R13: 00007ffece5cd548 R14: 00007f8d4acfe8f0 R15: 00007ffece5cd530 [ 132.155122] </TASK> [ 132.155128] ================================================================================ [ 132.155205] ================================================================================
If I enable Legacy tray support and start skypeforlinux(with tray icon) and then hit super+L and try to login, gnome-shell(45) crashes. dmesg
[ 132.154684] UBSAN: array-index-out-of-bounds in /var/lib/dkms/nvidia/535.129.03/build/nvidia-uvm/uvm_mmu.c:569:17 [ 132.154686] index 0 is out of range for type 'uvm_page_directory_t *[*]' [ 132.154687] CPU: 2 PID: 12862 Comm: gst-plugin-scan Tainted: P S OE 6.5.0-10-generic #10-Ubuntu [ 132.154688] Hardware name: Micro-Star International Co., Ltd. Stealth GS77 12UGS/MS-17P1, BIOS E17P1IMS.109 06/27/2022 [ 132.154689] Call Trace: [ 132.154690] <TASK> [ 132.154691] dump_stack_lvl+0x48/0x70 [ 132.154696] dump_stack+0x10/0x20 [ 132.154698] __ubsan_handle_out_of_bounds+0xc6/0x110 [ 132.154700] uvm_page_tree_get_ptes_async+0x6a2/0xc30 [nvidia_uvm] [ 132.154731] ? __kmalloc+0x51/0x170 [ 132.154734] ? alloc_internal.part.0+0x2c/0x40 [nvidia_uvm] [ 132.154759] uvm_page_table_range_vec_init+0x191/0x2a0 [nvidia_uvm] [ 132.154785] uvm_va_range_map_rm_allocation+0x2ad/0x470 [nvidia_uvm] [ 132.154808] ? __pfx_entry_size_pascal+0x10/0x10 [nvidia_uvm] [ 132.154837] uvm_map_external_allocation_on_gpu+0x35f/0x4f0 [nvidia_uvm] [ 132.154860] ? uvm_map_external_allocation_on_gpu+0x35f/0x4f0 [nvidia_uvm] [ 132.154883] uvm_api_map_external_allocation+0x53f/0x7a0 [nvidia_uvm] [ 132.154905] ? alloc_internal.part.0+0x18/0x40 [nvidia_uvm] [ 132.154930] uvm_ioctl+0x18ff/0x1cd0 [nvidia_uvm] [ 132.154952] ? uvm_ioctl+0x18ff/0x1cd0 [nvidia_uvm] [ 132.154973] ? uvm_ioctl+0x491/0x1cd0 [nvidia_uvm] [ 132.154995] ? __mod_lruvec_state+0x36/0x50 [ 132.154997] ? page_add_file_rmap+0x16e/0x1d0 [ 132.154999] ? xas_find+0x74/0x1e0 [ 132.155000] ? filemap_map_pages+0x2b3/0x460 [ 132.155003] ? _raw_spin_lock_irqsave+0xe/0x20 [ 132.155005] ? thread_context_non_interrupt_add+0x13a/0x2c0 [nvidia_uvm] [ 132.155036] uvm_unlocked_ioctl_entry.part.0+0x7b/0xf0 [nvidia_uvm] [ 132.155056] ? __handle_mm_fault+0x658/0x720 [ 132.155058] uvm_unlocked_ioctl_entry+0x6b/0x90 [nvidia_uvm] [ 132.155078] __x64_sys_ioctl+0xa0/0xf0 [ 132.155080] do_syscall_64+0x59/0x90 [ 132.155082] ? do_syscall_64+0x68/0x90 [ 132.155083] ? do_user_addr_fault+0x238/0x6b0 [ 132.155085] ? exit_to_user_mode_prepare+0x30/0xb0 [ 132.155087] ? irqentry_exit_to_user_mode+0x17/0x20 [ 132.155089] ? irqentry_exit+0x43/0x50 [ 132.155090] ? exc_page_fault+0x94/0x1b0 [ 132.155092] entry_SYSCALL_64_after_hwframe+0x6e/0xd8 [ 132.155094] RIP: 0033:0x7f8d60b238ef [ 132.155115] 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 [ 132.155115] RSP: 002b:00007ffece5cd080 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 132.155117] RAX: ffffffffffffffda RBX: 0000000000000011 RCX: 00007f8d60b238ef [ 132.155117] RDX: 00007ffece5cd530 RSI: 0000000000000021 RDI: 0000000000000011 [ 132.155118] RBP: 00007ffece5cda10 R08: 00007f8d4acfe8f0 R09: 0000000000000000 [ 132.155119] R10: 0000000200000000 R11: 0000000000000246 R12: 00007ffece5cd0f0 [ 132.155119] R13: 00007ffece5cd548 R14: 00007f8d4acfe8f0 R15: 00007ffece5cd530 [ 132.155122] </TASK> [ 132.155128] ================================================================================ [ 132.155205] ================================================================================