UBSAN excerpt from dmesg (plus a few lines before that): [ 55.506132] wl: loading out-of-tree module taints kernel. [ 55.506147] wl: module license 'MIXED/Proprietary' taints kernel. [ 55.506149] Disabling lock debugging due to kernel taint [ 55.516025] wl: module verification failed: signature and/or required key missing - tainting kernel [ 56.017067] sof-audio-acpi-intel-byt 808622A8:00: Firmware info: version 1:6:0-e9637 [ 56.017082] sof-audio-acpi-intel-byt 808622A8:00: Firmware: ABI 3:17:0 Kernel ABI 3:18:0 [ 56.346079] intel_rapl_common: Found RAPL domain package [ 56.346087] intel_rapl_common: Found RAPL domain core [ 56.443742] input: gpio-keys as /devices/platform/ACPI0011:00/gpio-keys.1.auto/input/input11 [ 56.464522] input: gpio-keys as /devices/platform/ACPI0011:00/gpio-keys.2.auto/input/input12 [ 56.817561] brcmfmac 0000:01:00.0 wlp1s0: renamed from wlan0 [ 56.897941] sof-audio-acpi-intel-byt 808622A8:00: Topology: ABI 3:17:0 Kernel ABI 3:18:0 [ 56.908253] sof-audio-acpi-intel-byt 808622A8:00: ASoC: Parent card not yet available, widget card binding deferred [ 56.917561] ================================================================================ [ 56.920605] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-jemPrJ/linux-hwe-5.15-5.15.0/sound/soc/soc-dapm.c:815:15 [ 56.923682] shift exponent 16384 is too large for 32-bit type 'unsigned int' [ 56.926763] CPU: 0 PID: 444 Comm: systemd-udevd Tainted: P OE 5.15.0-56-generic #62~20.04.1-Ubuntu [ 56.926769] Hardware name: Default string Default string/Default string, BIOS 5.11 08/07/2017 [ 56.926773] Call Trace: [ 56.926777] [ 56.926804] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e [ 56.926809] ? __cond_resched+0x19/0x40 [ 56.926817] snd_soc_dapm_add_path.cold+0x87/0x135 [snd_soc_core] [ 56.926864] snd_soc_dapm_add_route+0xfb/0x320 [snd_soc_core] [ 56.926896] ? __snd_ctl_add_replace+0x175/0x1e0 [snd] [ 56.926916] ? snd_ctl_add_replace+0x53/0xa0 [snd] [ 56.926929] snd_soc_dapm_add_routes+0x50/0x90 [snd_soc_core] [ 56.926961] soc_probe_component+0x21a/0x2a0 [snd_soc_core] [ 56.926990] snd_soc_bind_card+0x52e/0x8b0 [snd_soc_core] [ 56.927020] snd_soc_register_card+0x154/0x170 [snd_soc_core] [ 56.927049] devm_snd_soc_register_card+0x48/0x90 [snd_soc_core] [ 56.927081] snd_cht_mc_probe+0x45c/0x610 [snd_soc_sst_cht_bsw_rt5645] [ 56.927089] ? kernfs_add_one+0xe6/0x130 [ 56.927096] ? acpi_dev_pm_attach+0x25/0xd0 [ 56.927102] platform_probe+0x49/0xd0 [ 56.927108] really_probe.part.0+0xcb/0x380 [ 56.927113] really_probe+0x40/0x80 [ 56.927117] __driver_probe_device+0x119/0x190 [ 56.927120] driver_probe_device+0x23/0xb0 [ 56.927124] __driver_attach+0xbd/0x170 [ 56.927128] ? __device_attach_driver+0x120/0x120 [ 56.927131] bus_for_each_dev+0x7e/0xd0 [ 56.927137] driver_attach+0x1e/0x30 [ 56.927140] bus_add_driver+0x178/0x220 [ 56.927144] driver_register+0x74/0xe0 [ 56.927148] ? 0xffffffffc0f05000 [ 56.927151] __platform_driver_register+0x1e/0x30 [ 56.927155] snd_cht_mc_driver_init+0x1c/0x1000 [snd_soc_sst_cht_bsw_rt5645] [ 56.927161] do_one_initcall+0x48/0x1e0 [ 56.927168] ? __cond_resched+0x19/0x40 [ 56.927172] ? kmem_cache_alloc_trace+0x15a/0x420 [ 56.927177] do_init_module+0x52/0x230 [ 56.927183] load_module+0x138d/0x1610 [ 56.927190] __do_sys_finit_module+0xbf/0x120 [ 56.927194] ? __do_sys_finit_module+0xbf/0x120 [ 56.927200] __x64_sys_finit_module+0x1a/0x20 [ 56.927204] do_syscall_64+0x5c/0xc0 [ 56.927208] ? do_syscall_64+0x69/0xc0 [ 56.927212] ? exit_to_user_mode_prepare+0x3d/0x1c0 [ 56.927218] ? syscall_exit_to_user_mode+0x27/0x50 [ 56.927222] ? __x64_sys_newfstat+0x16/0x20 [ 56.927229] ? do_syscall_64+0x69/0xc0 [ 56.927233] ? __x64_sys_lseek+0x1a/0x20 [ 56.927236] ? do_syscall_64+0x69/0xc0 [ 56.927240] ? sysvec_apic_timer_interrupt+0x4e/0x90 [ 56.927244] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 56.927249] RIP: 0033:0x7f7169c2c73d [ 56.927254] Code: 00 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 23 37 0d 00 f7 d8 64 89 01 48 [ 56.927258] RSP: 002b:00007ffc408ab548 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 56.927263] RAX: ffffffffffffffda RBX: 0000560f4dee8690 RCX: 00007f7169c2c73d [ 56.927266] RDX: 0000000000000000 RSI: 00007f7169b0cded RDI: 0000000000000006 [ 56.927268] RBP: 0000000000020000 R08: 0000000000000000 R09: 0000000000000000 [ 56.927270] R10: 0000000000000006 R11: 0000000000000246 R12: 00007f7169b0cded [ 56.927273] R13: 0000000000000000 R14: 0000560f4dee2a90 R15: 0000560f4dee8690 [ 56.927277] [ 56.927278] ================================================================================ [ 56.993998] input: sof-bytcht rt5645 Headset as /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card0/input13 [ 57.120547] ================================================================================ [ 57.123728] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-jemPrJ/linux-hwe-5.15-5.15.0/sound/soc/soc-dapm.c:3411:13 [ 57.126912] shift exponent 16384 is too large for 32-bit type 'unsigned int' [ 57.130115] CPU: 2 PID: 636 Comm: alsactl Tainted: P OE 5.15.0-56-generic #62~20.04.1-Ubuntu [ 57.130123] Hardware name: Default string Default string/Default string, BIOS 5.11 08/07/2017 [ 57.130126] Call Trace: [ 57.130130] [ 57.130136] dump_stack_lvl+0x4a/0x63 [ 57.130152] dump_stack+0x10/0x16 [ 57.130156] ubsan_epilogue+0x9/0x49 [ 57.130161] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e [ 57.130166] ? __wake_up_common_lock+0x8a/0xc0 [ 57.130174] snd_soc_dapm_put_volsw.cold+0x9e/0x15d [snd_soc_core] [ 57.130226] snd_ctl_elem_write+0x116/0x1e0 [snd] [ 57.130244] snd_ctl_ioctl+0x127/0x7f0 [snd] [ 57.130258] __x64_sys_ioctl+0x95/0xd0 [ 57.130264] do_syscall_64+0x5c/0xc0 [ 57.130271] ? exit_to_user_mode_prepare+0x3d/0x1c0 [ 57.130276] ? syscall_exit_to_user_mode+0x27/0x50 [ 57.130281] ? do_syscall_64+0x69/0xc0 [ 57.130284] ? do_syscall_64+0x69/0xc0 [ 57.130288] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 57.130293] RIP: 0033:0x7fbb78bb93ab [ 57.130299] Code: 0f 1e fa 48 8b 05 e5 7a 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b5 7a 0d 00 f7 d8 64 89 01 48 [ 57.130302] RSP: 002b:00007ffcf9a9edf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.130308] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbb78bb93ab [ 57.130311] RDX: 00007ffcf9a9ef30 RSI: 00000000c4c85513 RDI: 0000000000000003 [ 57.130313] RBP: 00007ffcf9a9f4d0 R08: 000055f5e196389e R09: 0000000000000000 [ 57.130316] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 [ 57.130318] R13: 0000000000000001 R14: 0000000000000002 R15: 0000000000000000 [ 57.130322] [ 57.130324] ================================================================================ [ 57.133582] ================================================================================ [ 57.136794] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-jemPrJ/linux-hwe-5.15-5.15.0/sound/soc/soc-dapm.c:3412:15 [ 57.140085] shift exponent 16384 is too large for 32-bit type 'unsigned int' [ 57.143403] CPU: 2 PID: 636 Comm: alsactl Tainted: P OE 5.15.0-56-generic #62~20.04.1-Ubuntu [ 57.143409] Hardware name: Default string Default string/Default string, BIOS 5.11 08/07/2017 [ 57.143412] Call Trace: [ 57.143415] [ 57.143419] dump_stack_lvl+0x4a/0x63 [ 57.143431] dump_stack+0x10/0x16 [ 57.143436] ubsan_epilogue+0x9/0x49 [ 57.143440] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e [ 57.143445] ? __wake_up_common_lock+0x8a/0xc0 [ 57.143452] snd_soc_dapm_put_volsw.cold+0x118/0x15d [snd_soc_core] [ 57.143502] snd_ctl_elem_write+0x116/0x1e0 [snd] [ 57.143520] snd_ctl_ioctl+0x127/0x7f0 [snd] [ 57.143534] __x64_sys_ioctl+0x95/0xd0 [ 57.143541] do_syscall_64+0x5c/0xc0 [ 57.143547] ? exit_to_user_mode_prepare+0x3d/0x1c0 [ 57.143553] ? syscall_exit_to_user_mode+0x27/0x50 [ 57.143557] ? do_syscall_64+0x69/0xc0 [ 57.143560] ? do_syscall_64+0x69/0xc0 [ 57.143564] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 57.143569] RIP: 0033:0x7fbb78bb93ab [ 57.143574] Code: 0f 1e fa 48 8b 05 e5 7a 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b5 7a 0d 00 f7 d8 64 89 01 48 [ 57.143578] RSP: 002b:00007ffcf9a9edf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.143583] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbb78bb93ab [ 57.143586] RDX: 00007ffcf9a9ef30 RSI: 00000000c4c85513 RDI: 0000000000000003 [ 57.143588] RBP: 00007ffcf9a9f4d0 R08: 000055f5e196389e R09: 0000000000000000 [ 57.143590] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 [ 57.143592] R13: 0000000000000001 R14: 0000000000000002 R15: 0000000000000000 [ 57.143596] [ 57.143598] ================================================================================ [ 57.146997] ================================================================================ [ 57.150370] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-jemPrJ/linux-hwe-5.15-5.15.0/sound/soc/soc-dapm.c:3414:51 [ 57.153819] shift exponent 16384 is too large for 32-bit type 'unsigned int' [ 57.157279] CPU: 2 PID: 636 Comm: alsactl Tainted: P OE 5.15.0-56-generic #62~20.04.1-Ubuntu [ 57.157285] Hardware name: Default string Default string/Default string, BIOS 5.11 08/07/2017 [ 57.157288] Call Trace: [ 57.157291] [ 57.157294] dump_stack_lvl+0x4a/0x63 [ 57.157303] dump_stack+0x10/0x16 [ 57.157307] ubsan_epilogue+0x9/0x49 [ 57.157312] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e [ 57.157317] ? __wake_up_common_lock+0x8a/0xc0 [ 57.157322] snd_soc_dapm_put_volsw.cold+0xc2/0x15d [snd_soc_core] [ 57.157363] snd_ctl_elem_write+0x116/0x1e0 [snd] [ 57.157380] snd_ctl_ioctl+0x127/0x7f0 [snd] [ 57.157394] __x64_sys_ioctl+0x95/0xd0 [ 57.157400] do_syscall_64+0x5c/0xc0 [ 57.157406] ? exit_to_user_mode_prepare+0x3d/0x1c0 [ 57.157411] ? syscall_exit_to_user_mode+0x27/0x50 [ 57.157415] ? do_syscall_64+0x69/0xc0 [ 57.157419] ? do_syscall_64+0x69/0xc0 [ 57.157423] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 57.157428] RIP: 0033:0x7fbb78bb93ab [ 57.157432] Code: 0f 1e fa 48 8b 05 e5 7a 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b5 7a 0d 00 f7 d8 64 89 01 48 [ 57.157435] RSP: 002b:00007ffcf9a9edf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.157439] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbb78bb93ab [ 57.157442] RDX: 00007ffcf9a9ef30 RSI: 00000000c4c85513 RDI: 0000000000000003 [ 57.157444] RBP: 00007ffcf9a9f4d0 R08: 000055f5e196389e R09: 0000000000000000 [ 57.157447] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 [ 57.157449] R13: 0000000000000001 R14: 0000000000000002 R15: 0000000000000000 [ 57.157452] [ 57.157454] ================================================================================ [ 57.161024] ================================================================================ [ 57.164465] UBSAN: shift-out-of-bounds in /build/linux-hwe-5.15-jemPrJ/linux-hwe-5.15-5.15.0/sound/soc/soc-dapm.c:3432:23 [ 57.167970] shift exponent 16384 is too large for 32-bit type 'unsigned int' [ 57.171517] CPU: 3 PID: 636 Comm: alsactl Tainted: P OE 5.15.0-56-generic #62~20.04.1-Ubuntu [ 57.171525] Hardware name: Default string Default string/Default string, BIOS 5.11 08/07/2017 [ 57.171528] Call Trace: [ 57.171532] [ 57.171536] dump_stack_lvl+0x4a/0x63 [ 57.171552] dump_stack+0x10/0x16 [ 57.171556] ubsan_epilogue+0x9/0x49 [ 57.171561] __ubsan_handle_shift_out_of_bounds.cold+0x61/0x10e [ 57.171566] ? soc_component_read_no_lock+0x3d/0xa0 [snd_soc_core] [ 57.171611] ? __cond_resched+0x26/0x40 [ 57.171617] ? snd_soc_component_read+0x3a/0x50 [snd_soc_core] [ 57.171650] snd_soc_dapm_put_volsw.cold+0x61/0x15d [snd_soc_core] [ 57.171684] snd_ctl_elem_write+0x116/0x1e0 [snd] [ 57.171701] snd_ctl_ioctl+0x127/0x7f0 [snd] [ 57.171715] __x64_sys_ioctl+0x95/0xd0 [ 57.171721] do_syscall_64+0x5c/0xc0 [ 57.171727] ? exit_to_user_mode_prepare+0x3d/0x1c0 [ 57.171732] ? syscall_exit_to_user_mode+0x27/0x50 [ 57.171737] ? do_syscall_64+0x69/0xc0 [ 57.171740] ? do_syscall_64+0x69/0xc0 [ 57.171744] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 57.171749] RIP: 0033:0x7fbb78bb93ab [ 57.171754] Code: 0f 1e fa 48 8b 05 e5 7a 0d 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d b5 7a 0d 00 f7 d8 64 89 0 1 48 [ 57.171758] RSP: 002b:00007ffcf9a9edf8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 [ 57.171764] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fbb78bb93ab [ 57.171766] RDX: 00007ffcf9a9ef30 RSI: 00000000c4c85513 RDI: 0000000000000003 [ 57.171769] RBP: 00007ffcf9a9f4d0 R08: 000055f5e196389e R09: 0000000000000000 [ 57.171771] R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000001 [ 57.171773] R13: 0000000000000001 R14: 0000000000000002 R15: 0000000000000000 [ 57.171777] [ 57.171779] ================================================================================