Public bug reported: [Impact] UBSAN complains shift-out-of-bounds: [ 13.875276] UBSAN: shift-out-of-bounds in drivers/edac/skx_common.c:369:16 [ 13.875279] shift exponent -66 is negative
[Fix] Skip the absent memory controllers so ~0 won't be used. [Test] Boot system with patch applied, no more UBSAN error in dmesg. [Where problems could occur] The fix itself is trivial, however the dependency patches may bring behavioural changes as new platform support is also added. ** Affects: hwe-next Importance: Undecided Status: New ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Affects: linux-oem-6.1 (Ubuntu) Importance: Undecided Status: Invalid ** Affects: linux (Ubuntu Jammy) Importance: Undecided Status: Won't Fix ** Affects: linux-oem-6.1 (Ubuntu Jammy) Importance: Low Status: Confirmed ** Affects: linux (Ubuntu Lunar) Importance: Low Status: Confirmed ** Affects: linux-oem-6.1 (Ubuntu Lunar) Importance: Undecided Status: Invalid ** Tags: oem-priority originate-from-1990358 somerville ** Also affects: linux (Ubuntu Lunar) Importance: Undecided Status: New ** Also affects: linux (Ubuntu Jammy) Importance: Undecided Status: New ** Changed in: linux (Ubuntu Jammy) Status: New => Won't Fix ** Changed in: linux (Ubuntu Lunar) Status: New => Confirmed ** Also affects: linux-oem-6.1 (Ubuntu) Importance: Undecided Status: New ** Changed in: linux-oem-6.1 (Ubuntu) Status: New => Invalid ** Changed in: linux-oem-6.1 (Ubuntu Jammy) Status: New => Confirmed ** Changed in: linux-oem-6.1 (Ubuntu Lunar) Status: New => Invalid ** Changed in: linux-oem-6.1 (Ubuntu Jammy) Importance: Undecided => Low ** Changed in: linux (Ubuntu Lunar) Importance: Undecided => Low -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2028746 Title: Fix UBSAN in Intel EDAC driver Status in HWE Next: New Status in linux package in Ubuntu: New Status in linux-oem-6.1 package in Ubuntu: Invalid Status in linux source package in Jammy: Won't Fix Status in linux-oem-6.1 source package in Jammy: Confirmed Status in linux source package in Lunar: Confirmed Status in linux-oem-6.1 source package in Lunar: Invalid Bug description: [Impact] UBSAN complains shift-out-of-bounds: [ 13.875276] UBSAN: shift-out-of-bounds in drivers/edac/skx_common.c:369:16 [ 13.875279] shift exponent -66 is negative [Fix] Skip the absent memory controllers so ~0 won't be used. [Test] Boot system with patch applied, no more UBSAN error in dmesg. [Where problems could occur] The fix itself is trivial, however the dependency patches may bring behavioural changes as new platform support is also added. To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/2028746/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp