Recently I have been have an intermittent issues on my system. I have only seen this while playing POE2 and originally thought that it was crashing amdgpu - but I did not see any messages related to that in the journal.
This has happened about twice so far. While playing the game the video will lock up, then my screens will turn off. I tried to switch ttys but was unable to do so, so I had to hard reset my machine.
I ran dmesg and saw this:
[ 9.707708] UBSAN: array-index-out-of-bounds in sound/pci/ctxfi/ctamixer.c:347:48
[ 9.707710] index 8 is out of range for type ‘unsigned char [8]’
[ 9.707713] CPU: 6 UID: 0 PID: 854 Comm: (udev-worker) Not tainted 6.17.12-300.fc43.x86_64 #1 PREEMPT(lazy)
[ 9.707714] Hardware name: Gigabyte Technology Co., Ltd. X670 GAMING X AX V2/X670 GAMING X AX V2, BIOS F33b 02/21/2025
[ 9.707715] Call Trace:
[ 9.707717]
[ 9.707719] dump_stack_lvl+0x5d/0x80
[ 9.707723] ? __pfx_amixer_set_x+0x10/0x10 [snd_ctxfi]
[ 9.707730] ubsan_epilogue+0x5/0x2b
[ 9.707733] __ubsan_handle_out_of_bounds.cold+0x54/0x59
[ 9.707735] sum_output_slot+0x44/0x70 [snd_ctxfi]
[ 9.707741] amixer_set_input+0x4b/0x80 [snd_ctxfi]
[ 9.707745] amixer_setup+0x1b/0x50 [snd_ctxfi]
[ 9.707749] ct_mixer_topology_build.isra.0+0x2f/0x3d0 [snd_ctxfi]
[ 9.707754] ct_mixer_create+0x125/0x160 [snd_ctxfi]
[ 9.707758] ct_atc_create+0x3e7/0x550 [snd_ctxfi]
[ 9.707763] ct_card_probe+0x104/0x2c0 [snd_ctxfi]
[ 9.707768] local_pci_probe+0x3f/0x90
[ 9.707771] pci_call_probe+0x5b/0x190
[ 9.707773] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707774] ? kernfs_create_link+0x61/0xb0
[ 9.707778] pci_device_probe+0x95/0x140
[ 9.707780] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707781] really_probe+0xdb/0x340
[ 9.707783] ? pm_runtime_barrier+0x55/0x90
[ 9.707786] __driver_probe_device+0x78/0x140
[ 9.707787] driver_probe_device+0x1f/0xa0
[ 9.707789] ? __pfx___driver_attach+0x10/0x10
[ 9.707790] __driver_attach+0xcb/0x1e0
[ 9.707792] bus_for_each_dev+0x82/0xd0
[ 9.707794] bus_add_driver+0x12f/0x210
[ 9.707796] ? __pfx_ct_driver_init+0x10/0x10 [snd_ctxfi]
[ 9.707801] driver_register+0x75/0xe0
[ 9.707803] do_one_initcall+0x58/0x300
[ 9.707806] do_init_module+0x84/0x280
[ 9.707809] init_module_from_file+0x8a/0xe0
[ 9.707812] idempotent_init_module+0x114/0x310
[ 9.707815] __x64_sys_finit_module+0x6d/0xd0
[ 9.707816] ? syscall_trace_enter+0x108/0x1d0
[ 9.707818] do_syscall_64+0x7e/0x250
[ 9.707821] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707822] ? do_syscall_64+0xb6/0x250
[ 9.707825] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707826] ? syscall_exit_work+0x143/0x1b0
[ 9.707827] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707828] ? do_syscall_64+0xb6/0x250
[ 9.707830] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707831] ? syscall_exit_work+0x143/0x1b0
[ 9.707832] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707833] ? do_syscall_64+0xb6/0x250
[ 9.707834] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707835] ? do_user_addr_fault+0x21a/0x690
[ 9.707838] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707839] ? srso_alias_return_thunk+0x5/0xfbef5
[ 9.707840] ? irqentry_exit_to_user_mode+0x2c/0x1c0
[ 9.707842] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 9.707843] RIP: 0033:0x7f078390034d
[ 9.707852] Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 83 5a 0f 00 f7 d8 64 89 01 48
[ 9.707853] RSP: 002b:00007ffc4886d4b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139
[ 9.707855] RAX: ffffffffffffffda RBX: 000055dbc99465a0 RCX: 00007f078390034d
[ 9.707855] RDX: 0000000000000004 RSI: 00007f07821f95e1 RDI: 0000000000000055
[ 9.707856] RBP: 00007ffc4886d550 R08: 0000000000000000 R09: 00000000695bd2f5
[ 9.707857] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f07821f95e1
[ 9.707857] R13: 0000000000020000 R14: 000055dbc963be80 R15: 0000000000000000
[ 9.707860]
While searching for the initial message I did come across a message chain with a similar issue here, linux-kernel - Re: Bug#1121535: UBSAN: array-index-out-of-bounds in [...]sound/pci/ctxfi/ctamixer.c:347:48
My system info:
Operating System: Fedora Linux 43
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Kernel Version: 6.17.12-300.fc43.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X3D 12-Core Processor
Memory: 64 GiB of RAM (62.4 GiB usable)
Graphics Processor: AMD Radeon RX 9070 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X670 GAMING X AX V2
System Version: Default string-WCP
Because the issue is intermittent I do not have steps to reproduce the crash. I am using an older Soundblaster X-Fi. I first noticed this issue a couple weeks ago.
Any advice on what to test or check?