** Changed in: linux-nvidia-6.11 (Ubuntu Noble)
Status: New => Fix Committed
** Changed in: linux-nvidia-6.14 (Ubuntu Noble)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-nvidia-6.11 in Ubuntu.
https://bugs.launchpad.net/bugs/2110750
Title:
UBSAN: shift-out-of-bounds arm-smmu-v3.c
Status in linux-nvidia-6.11 package in Ubuntu:
Invalid
Status in linux-nvidia-6.14 package in Ubuntu:
Invalid
Status in linux-nvidia-6.11 source package in Noble:
Fix Committed
Status in linux-nvidia-6.14 source package in Noble:
Fix Committed
Bug description:
UBSAN: shift-out-bounds in drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c
When running cuda test that exercise SVA it is possible to see this
stack trace:
[ 7825.373952] ------------[ cut here ]------------
[ 7825.373960] UBSAN: shift-out-of-bounds in
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:2213:20
[ 7825.382443] shift exponent 76 is too large for 64-bit type 'long unsigned
int'
[ 7825.389619] CPU: 5 UID: 0 PID: 96250 Comm: ats_memory_acce Tainted: P
[ 7825.389624] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE,
[E]=UNSIGNED_MODULE
[ 7825.389626] Hardware name: Nvidia
[ 7825.389628] Call trace:
[ 7825.389630] show_stack+0x20/0x48 (C)
[ 7825.389639] dump_stack_lvl+0x80/0x130
[ 7825.389647] dump_stack+0x18/0x30
[ 7825.389650] __ubsan_handle_shift_out_of_bounds+0x144/0x250
[ 7825.389658] __arm_smmu_tlb_inv_range+0x240/0x268
[ 7825.389665] arm_smmu_tlb_inv_range_asid+0x6c/0xd0
[ 7825.389669] arm_smmu_mm_arch_invalidate_secondary_tlbs+0xb8/0xc8
[ 7825.389674] __mmu_notifier_arch_invalidate_secondary_tlbs+0x70/0xd0
[ 7825.389683] ptep_clear_flush+0x16c/0x180
[ 7825.389689] do_wp_page+0x4f0/0xfe8
[ 7825.389692] __handle_mm_fault+0x580/0xa60
[ 7825.389694] handle_mm_fault+0xf4/0x340
[ 7825.389697] do_page_fault+0x11c/0x678
[ 7825.389701] do_mem_abort+0x4c/0xc8
[ 7825.389704] el0_da+0x48/0x180
[ 7825.389707] el0t_64_sync_handler+0x154/0x188
[ 7825.389709] el0t_64_sync+0x1b0/0x1b8
[ 7825.389712] ---[ end trace ]---
The patch o fix this issue:
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/patch/drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c?id=12f78021973ae422564b234136c702a305932d73
We will want this patch for 6.11 and 6.14 kernel.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-nvidia-6.11/+bug/2110750/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp