From: Zdenek Kabelac <zkabelac@redhat.com>
To: imre.deak@intel.com
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: UBSAN: shift-out-of-bounds in drivers/gpu/drm/display/drm_dp_mst_topology.c:4575:36
Date: Fri, 12 Dec 2025 19:55:12 +0100 [thread overview]
Message-ID: <072774ed-cb7b-4700-821b-b2c743b37222@redhat.com> (raw)
Hi
I've noticed this in my message log while suspending my P1 machine
(and unplugging it from my docking station).
----
kernel: UBSAN: shift-out-of-bounds in
drivers/gpu/drm/display/drm_dp_mst_topology.c:4575:36
kernel: shift exponent -1 is negative
kernel: CPU: 12 UID: 0 PID: 2972 Comm: Xorg Not tainted
6.18.0-0.rc7.58.fc44.x86_64 #1 PREEMPT(lazy)
kernel: Hardware name: LENOVO 21FFS02H22/21FFS02H22, BIOS N3VET59W (1.59 )
05/13/2025
kernel: Call Trace:
kernel: <TASK>
kernel: dump_stack_lvl+0x5d/0x80
kernel: ubsan_epilogue+0x5/0x2b
kernel: __ubsan_handle_shift_out_of_bounds.cold+0xd7/0x1ab
kernel: drm_dp_atomic_release_time_slots.cold+0x1c/0x90 [drm_display_helper]
kernel: drm_atomic_helper_check_modeset+0x2a9/0x690
pipewire-media-session[3089]: ms.mod.default-profile: device
'alsa_card.pci-0000_c4_00.1': can't restore profile: No such device
kernel: amdgpu_dm_atomic_check+0x64/0x1570 [amdgpu]
kernel: drm_atomic_check_only+0x180/0x3e0
kernel: ? __pfx_drm_mode_setcrtc+0x10/0x10
kernel: drm_atomic_commit+0x71/0xe0
kernel: ? __pfx___drm_printfn_info+0x10/0x10
kernel: drm_atomic_helper_set_config+0x7a/0xd0
kernel: drm_mode_setcrtc+0x37a/0x900
kernel: ? __wait_for_common+0x162/0x190
kernel: ? __pfx_drm_mode_setcrtc+0x10/0x10
kernel: drm_ioctl_kernel+0xae/0x100
kernel: drm_ioctl+0x2a8/0x550
kernel: ? __pfx_drm_mode_setcrtc+0x10/0x10
kernel: amdgpu_drm_ioctl+0x4a/0x90 [amdgpu]
kernel: __x64_sys_ioctl+0x97/0xe0
kernel: do_syscall_64+0x7e/0x7f0
kernel: ? __check_object_size.part.0+0x34/0xc0
kernel: ? drm_ioctl+0x2dd/0x550
kernel: ? __pfx_drm_mode_setcrtc+0x10/0x10
kernel: ? ktime_get_mono_fast_ns+0x35/0xe0
kernel: ? amdgpu_drm_ioctl+0x7b/0x90 [amdgpu]
kernel: ? syscall_exit_work+0x143/0x1b0
kernel: ? do_syscall_64+0xb6/0x7f0
kernel: ? do_syscall_64+0xb6/0x7f0
kernel: ? sched_clock+0x10/0x30
kernel: ? sched_clock_cpu+0xb/0x30
kernel: ? irqtime_account_irq+0x3c/0xc0
kernel: ? irqentry_exit_to_user_mode+0x2c/0x1c0
kernel: entry_SYSCALL_64_after_hwframe+0x76/0x7e
kernel: RIP: 0033:0x7f1280c2444d
kernel: 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
kernel: RSP: 002b:00007ffc601c14d0 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
kernel: RAX: ffffffffffffffda RBX: 000000001bc87f60 RCX: 00007f1280c2444d
kernel: RDX: 00007ffc601c1560 RSI: 00000000c06864a2 RDI: 000000000000000d
kernel: RBP: 00007ffc601c1520 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc601c1560
kernel: R13: 00000000c06864a2 R14: 000000000000000d R15: 0000000000000000
kernel: </TASK>
kernel: ---[ end trace ]---
boltd[1177]: probing: timeout, done: [2636501] (2000000)
kernel: Lockdown: systemd-logind: hibernation is restricted; see man
kernel_lockdown.7
kernel: Lockdown: systemd-logind: hibernation is restricted; see man
kernel_lockdown.7
systemd-logind[1183]: The system will suspend now!
-----
I'd have guess it didn't liked maybe unplug of cable - however the problem was
later on after resume - where the machine looked 'very slow' - first I've
suspected the latest version of Firefox got somehow slow - but after clean
reboot everything started to work fine & fast again.
But so far I don't see anything else suspicious in my system log to give some
hints why later on my Xorg session was running so slowly.
My laptop: ThinkPad P16v Gen 1, 64G RAM, 16 AMD Cores
Regards
Zdenek
next reply other threads:[~2025-12-12 18:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-12 18:55 Zdenek Kabelac [this message]
2025-12-12 19:14 ` Imre Deak
2025-12-13 20:18 ` Zdenek Kabelac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=072774ed-cb7b-4700-821b-b2c743b37222@redhat.com \
--to=zkabelac@redhat.com \
--cc=imre.deak@intel.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®