That's great news, Jarkko. Lets wait for a bit before we declare victory, but I'm glad that things are looking up.
By the way, the offending code has been refactored to use the kernel bitmap_zero/bitmap_set APIs in the current upstream version, per https://elixir.bootlin.com/linux/v6.13-rc1/source/drivers/gpu/drm/amd/amdkfd/kfd_device_queue_manager.c#L127 So, as of kernel v6.13, you should no longer experience this issue. For your reference, I've attached the patch for the kernel that I shared. ** Patch added: "0001-Test-build-for-LP1998285.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1998285/+attachment/5846621/+files/0001-Test-build-for-LP1998285.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1998285 Title: 5.15.0-53-UBSAN: shift-out-of-bounds in amdgpu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1998285/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs