Announcement
Collapse
No announcement yet.
Kubuntu UBSAN array-index-out-of-bounds error bricked my system (update to kernel 6.5)
Collapse
This topic is closed.
X
X
-
Sorry, but the frequency of upgrades does not break systems. However, the quality of the updated drivers and other software can break a system.Originally posted by dejjanku View PostAs stated previously, too frequent updates are breaking systems...
My laptop is on kernel 6.5, I've installed every update since Day 1, zero problems. The BIG difference, my laptop does not have Nvidia graphics.
Quite often - probably not always - a user will just install some latest Nvidia driver just because it's the latest and end up with a brick. Use the recommended Linux driver for each specific Nvidia card and what Kubuntu driver manager recommends.
- Top
- Bottom
- Likes 1
Leave a comment:
-
As stated previously, too frequent updates are breaking systems...
- Top
- Bottom
Leave a comment:
-
What has to do IEEE 802.11 with NVIDIA? They do not appear to have any relation at all. By the way, the NVIDIA driver I am using is version 390.157, which is quite old (release date: November 22th, 2022).
I do not know whose fault is it but it is unacceptable that an upgrade breaks your system. I almost had a heart attack when my system did not boot; I could have lost a ton of work. I am pretty sure that this bug is affecting thousands of users worldwide (and a lot of them do not have the necessary knowledge to solve this issue). Why the update to kernel 6.5 is suggested and shown in KDE Discover? Not even a simple warning message alerting that it can be a risky upgrade!
I have lost total confidence in Linux.
- Top
- Bottom
Leave a comment:
-
I have an AMD Vega 56 and also can't use this kernel, it boots with the above error but any use of the desktop causes it to freeze and revert to the log in screen. Using kernel 6.2.0-39 in the meantime.
- Top
- Bottom
Leave a comment:
-
Maybe because the first website in a google search of the error is actually ON nvidia's forum website?Originally posted by sodgian View PostHow do you know that the cause of the problem is the NVIDIA driver?
https://forums.developer.nvidia.com/...kernels/271705
- Top
- Bottom
Leave a comment:
-
Because the vast majority, if not all the people having this problem seem to have nvidia cards, using the proprietary drivers. It is not uncommon historically speaking, for the necessary driver shim between the kernel and the closed source code to fail to build for the new kernel, for example. No idea if this is the case here or not. But bugs like this are not at all unusual with these driver in Linux.Originally posted by sodgian View PostHow do you know that the cause of the problem is the NVIDIA driver?
And to second oshunluvr here, Kubuntu isn't a separate distro at all. Kubuntu is the Ubuntu team that packages and maintains Plasma in Ubuntu. They do not handle things with drivers and kernels.Last edited by oshunluvr; Jan 13, 2024, 12:21 PM.
- Top
- Bottom
Leave a comment:
-
How do you know that the cause of the problem is the NVIDIA driver?
- Top
- Bottom
Leave a comment:
-
Several of us have had issues of one form or another with kernel 6.5 and LOTS of people have issues with nvidia and it's CLOSED SOURCE drivers.
I'm not sure how that's Kubuntus fault since the Kubuntu team are not responsible for either of these. Did you need the 6.5 kernel for something? Lots of folks have given up on nvidia and all the breakages they cause. My AMD card works great.
- Top
- Bottom
Leave a comment:
-
Kubuntu UBSAN array-index-out-of-bounds error bricked my system (update to kernel 6.5)
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:
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
Then I rebooted the computer and everything seems fine again (with kernel 6.2).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.
RegardsTags: None
- Top
- Bottom
Users Viewing This Topic
Collapse
There are 0 users viewing this topic.
Leave a comment: