Hi everyone,
On Wednesday January 10th, 2024 I upgraded through KDE Discover my current 22.04 LTS release to kernel 6.5 (suggested update by KDE Discover).
The upgrade bricked my system.
I got this error while booting:
UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-q7NZ0T/linux-hwe-6.5-6.5.0/include/linux/ieee80211.h:4304:28
index 9 is out of range for type 'u8 [1]'
I was able to start the system pressing several times the SHIFT key after the BIOS boot logo, selecting "Advanced options for Kubuntu" in the GRUB menu and then "Kubuntu, with Linux 6.2.0-39-generic".
Then, after a lot of research, I found the problematic update in /var/log/apt/history.log:
Start-Date: 2024-01-10 19:02:51
Commandline: packagekit role='update-packages'
Requested-By: goodkubuntuman (1000)
Install: linux-modules-extra-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic), linux-hwe-6.5-headers-6.5.0-14:amd64 (6.5.0-14.14~22.04.1, automatic), linux-modules-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic), linux-image-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic), linux-headers-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic)
Upgrade: linux-image-generic-hwe-22.04:amd64 (6.2.0.39.40~22.04.16, 6.5.0.14.14~22.04.7), libc6:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc6:i386 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), locales:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), linux-headers-generic-hwe-22.04:amd64 (6.2.0.39.40~22.04.16, 6.5.0.14.14~22.04.7), linux-generic-hwe-22.04:amd64 (6.2.0.39.40~22.04.16, 6.5.0.14.14~22.04.7), libc-dev-bin:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc-bin:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc-devtools:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc6-dbg:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc6-dev:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6)
End-Date: 2024-01-10 19:04:49
And a way to revert the upgrade using these commands:
Then I rebooted the computer and everything seems fine again (with kernel 6.2).
Needless to say, I have lost total confidence in Kubuntu (probably I will be stuck forerver in kernel 6.2, no confidence in updating my system to newer kernel releases).
I have posted this message here to help other people with the same problem.
Regards
On Wednesday January 10th, 2024 I upgraded through KDE Discover my current 22.04 LTS release to kernel 6.5 (suggested update by KDE Discover).
The upgrade bricked my system.
I got this error while booting:
UBSAN: array-index-out-of-bounds in /build/linux-hwe-6.5-q7NZ0T/linux-hwe-6.5-6.5.0/include/linux/ieee80211.h:4304:28
index 9 is out of range for type 'u8 [1]'
I was able to start the system pressing several times the SHIFT key after the BIOS boot logo, selecting "Advanced options for Kubuntu" in the GRUB menu and then "Kubuntu, with Linux 6.2.0-39-generic".
Then, after a lot of research, I found the problematic update in /var/log/apt/history.log:
Start-Date: 2024-01-10 19:02:51
Commandline: packagekit role='update-packages'
Requested-By: goodkubuntuman (1000)
Install: linux-modules-extra-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic), linux-hwe-6.5-headers-6.5.0-14:amd64 (6.5.0-14.14~22.04.1, automatic), linux-modules-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic), linux-image-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic), linux-headers-6.5.0-14-generic:amd64 (6.5.0-14.14~22.04.1, automatic)
Upgrade: linux-image-generic-hwe-22.04:amd64 (6.2.0.39.40~22.04.16, 6.5.0.14.14~22.04.7), libc6:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc6:i386 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), locales:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), linux-headers-generic-hwe-22.04:amd64 (6.2.0.39.40~22.04.16, 6.5.0.14.14~22.04.7), linux-generic-hwe-22.04:amd64 (6.2.0.39.40~22.04.16, 6.5.0.14.14~22.04.7), libc-dev-bin:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc-bin:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc-devtools:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc6-dbg:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6), libc6-dev:amd64 (2.35-0ubuntu3.5, 2.35-0ubuntu3.6)
End-Date: 2024-01-10 19:04:49
And a way to revert the upgrade using these commands:
Code:
sudo apt remove --purge linux-modules-6.5.0-14-generic linux-image-6.5.0-14-generic linux-headers-6.5.0-14-generic linux-modules-extra-6.5.0-14-generic
Code:
sudo apt remove --purge linux-image-generic-hwe-22.04 linux-headers-generic-hwe-22.04 linux-generic-hwe-22.04
Code:
sudo apt update
Needless to say, I have lost total confidence in Kubuntu (probably I will be stuck forerver in kernel 6.2, no confidence in updating my system to newer kernel releases).
I have posted this message here to help other people with the same problem.
Regards
Comment