Skip to content

2026.09.1 and 2029.09 version cause traces in T14s Gen 7 Intel #213

Closed

Description

@bsmojver

Downstream Fedora bug:

Fedora 44 updates that were tested on this hardware:

Kernel trace:

[   12.408171] ------------[ cut here ]------------
[   12.408181] UBSAN: shift-out-of-bounds in sound/soc/sof/ipc4-topology.c:2365:13
[   12.408186] shift exponent 18446744069414584384 is too large for 64-bit type 'long unsigned int'
[   12.408191] CPU: 3 UID: 60578 PID: 1705 Comm: wireplumber Not tainted 7.2.7-200.fc44.x86_64 #1 PREEMPT(lazy) 
[   12.408196] Hardware name: LENOVO 21YUCTO1WW/21YUCTO1WW, BIOS N4UET24W (1.07 ) 07/20/2026
[   12.408199] Call Trace:
[   12.408204]  <TASK>
[   12.408212]  dump_stack_lvl+0x5d/0x80
[   12.408224]  ubsan_epilogue+0x5/0x2b
[   12.408231]  __ubsan_handle_shift_out_of_bounds.cold+0xd7/0x1ab
[   12.408242]  sof_ipc4_prepare_copier_module.cold+0xfd/0x13f [snd_sof]
[   12.408295]  ? dapm_invalidate_paths_ep+0xd5/0x1f0 [snd_soc_core]
[   12.408337]  ? __pfx_sof_ipc4_prepare_copier_module+0x10/0x10 [snd_sof]
[   12.408374]  sof_prepare_widgets_in_path+0x1c9/0x250 [snd_sof]
[   12.408413]  ? dapm_is_connected_input_ep.part.0+0xf9/0x1b0 [snd_soc_core]
[   12.408448]  sof_walk_widgets_in_order+0x19a/0x280 [snd_sof]
[   12.408489]  sof_pcm_hw_params+0x440/0x660 [snd_sof]
[   12.408523]  snd_soc_pcm_component_hw_params+0x6c/0x120 [snd_soc_core]
[   12.408561]  __soc_pcm_hw_params+0x349/0x420 [snd_soc_core]
[   12.408604]  dpcm_fe_dai_hw_params+0xd3/0x3b0 [snd_soc_core]
[   12.408642]  snd_pcm_hw_params+0x226/0x610 [snd_pcm]
[   12.408663]  snd_pcm_common_ioctl+0x82c/0xd10 [snd_pcm]
[   12.408677]  ? fixup_unreferenced_params+0x26b/0x3c0 [snd_pcm]
[   12.408690]  snd_pcm_ioctl+0x28/0x40 [snd_pcm]
[   12.408703]  __x64_sys_ioctl+0xb9/0x100
[   12.408708]  do_syscall_64+0xe2/0x570
[   12.408714]  ? __x64_sys_ioctl+0xd4/0x100
[   12.408718]  ? do_syscall_64+0x11f/0x570
[   12.408722]  ? __kmalloc_noprof+0x2e4/0x610
[   12.408725]  ? constrain_params_by_rules.isra.0+0x89/0x330 [snd_pcm]
[   12.408738]  ? constrain_params_by_rules.isra.0+0x20d/0x330 [snd_pcm]
[   12.408750]  ? avc_has_extended_perms+0x1f6/0x720
[   12.408756]  ? __kmalloc_noprof+0x2e4/0x610
[   12.408758]  ? constrain_params_by_rules.isra.0+0x89/0x330 [snd_pcm]
[   12.408770]  ? constrain_params_by_rules.isra.0+0x20d/0x330 [snd_pcm]
[   12.408783]  ? snd_pcm_lib_ioctl+0xe0/0x290 [snd_pcm]
[   12.408797]  ? fixup_unreferenced_params+0x26b/0x3c0 [snd_pcm]
[   12.408809]  ? snd_pcm_common_ioctl+0x22d/0xd10 [snd_pcm]
[   12.408822]  ? snd_pcm_ioctl+0x28/0x40 [snd_pcm]
[   12.408833]  ? __x64_sys_ioctl+0xd4/0x100
[   12.408838]  ? do_syscall_64+0x11f/0x570
[   12.408843]  ? __seccomp_filter+0x8a/0x3e0
[   12.408847]  ? snd_pcm_ioctl+0x28/0x40 [snd_pcm]
[   12.408862]  ? do_syscall_64+0x99/0x570
[   12.408867]  ? exc_page_fault+0x90/0x1e0
[   12.408873]  asm_fred_entrypoint_user+0x41/0x41
[   12.408878] RIP: 0033:0x7f0e4b59f2bd
[   12.408900] Code: 04 25 28 00 00 00 48 89 45 c8 31 c0 48 8d 45 10 c7 45 b0 10 00 00 00 48 89 45 b8 48 8d 45 d0 48 89 45 c0 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1a 48 8b 45 c8 64 48 2b 04 25 28 00 00 00
[   12.408902] RSP: 002b:00007ffc49d83ab0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[   12.408907] RAX: ffffffffffffffda RBX: 0000557ffd797dc0 RCX: 0000000000000000
[   12.408910] RDX: 00007ffc49d83c20 RSI: 00000000c2604111 RDI: 000000000000002b
[   12.408912] RBP: 00007ffc49d83b00 R08: 0000000000000000 R09: 0000000000000004
[   12.408913] R10: 0000000000000013 R11: 0000000000000001 R12: 00007ffc49d83c20
[   12.408915] R13: 0000557ffd776bb0 R14: 00007ffc49d83e90 R15: 00007ffc49d84258
[   12.408919]  </TASK>
[   12.408937] ---[ end trace ]---

Reverting to the previous version makes the trace go away.

Activity

  1. bardliao commented on Sep 27, 2026

    @bardliao
    Collaborator
  2. bsmojver commented on Sep 27, 2026

    @bsmojver
    Author

    @bsmojver Could you try thesofproject/linux#5930?

    I just asked Fedora maintainer to roll an update with this commit included. I'll keep you posted.

  3. mrhpearson commented on Sep 28, 2026

    @mrhpearson
    Contributor

    Just a note that I can repro the issue on my system too. Kernel build is running and will update once tested.

  4. mrhpearson commented on Sep 28, 2026

    @mrhpearson
    Contributor

    Confirmed that the sofproject 7.3.0-rc3+ kernel build worked and I don't get the out of bounds exception.

    I guess I should confirm that the single commit on the Fedora kernel is needed next. Will trigger another kernel build shortly

  5. mrhpearson commented on Sep 29, 2026

    @mrhpearson
    Contributor

    Confirmed just that patch on the Fedora 7.2 kernel fixes the problem.

    Submitted MR for Fedora kernel to pick up the fix: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/4765
    (though I just noticed it was tagged for stable so I probably didn't need to)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions