Comment 15 for bug 1956519

Revision history for this message
Matthew Ruffell (mruffell) wrote : Re: kernel panic after upgrading to kernel 5.13.0-23

Hi Vadik, Oliver, Iestyn,

The test kernel has just finished building, and is ready to test. It would be great if you could install it and let me know if it fixes the issue.

The kernel is 5.13.0-23-generic, with the following commit added:

commit 88a04049c08cd62e698bc1b1af2d09574b9e0aee
Author: Basavaraj Natikar <email address hidden>
Date: Thu Sep 23 17:59:27 2021 +0530
Subject: HID: amd_sfh: Fix potential NULL pointer dereference
Link: https://github.com/torvalds/linux/commit/88a04049c08cd62e698bc1b1af2d09574b9e0aee

Please note, these test packages are NOT SUPPORTED by Canonical and are for TEST PURPOSES ONLY. ONLY install in a dedicated test environment.

Instructions to install (on a Impish system):
1) sudo add-apt-repository ppa:mruffell/lp1956519-test
2) sudo apt update
3) sudo apt install linux-image-unsigned-5.13.0-23-generic linux-modules-5.13.0-23-generic linux-modules-extra-5.13.0-23-generic linux-headers-5.13.0-23-generic
4) sudo reboot
5) uname -rv
5.13.0-23-generic #23+TEST1956519v20220112b1-Ubuntu SMP Wed Jan 12 00:24:19 UTC 20

If you are asked to abort the current kernel removal, say no.

You may need to change your grub config to boot the correct kernel. You can follow these instructions to do that: https://paste.ubuntu.com/p/WGpCWTPyTj/

Please make sure the uname is correct on boot. Sometimes newer kernels get pulled in due to metapackage dependencies not liking the linux-image-unsigned package.

Let me know if the kernel boots correctly and you no longer have a stacktrace in "sudo dmesg". If it works, I will submit the patch for SRU into the next kernel update.

Thanks,
Matthew