Kernel Panic for Ubuntu 21.10, kernel 5.13.0.19.30 and Thinkpad E14 AMD

Bug #1947623 reported by as
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Can't boot computer after upgrade to Ubuntu 21.10, with kernel 5.13.0.19.30, because of Kernel Panic Error.

It seems to be a problem with:
 ETPS/2 Elantech TrackPoint
 ETPS/2 Elantech Touchpad

Kernel 5.11.0-38 seems to work ok.

Erorr:

-------------
[ 1.722420] psmouse serio1: elantech: assuming hardware version 4 (with firmware version 0x5f3001)
      1.738396] psmouse serio1: elantech: Synaptics capabilities query result 0x90, 0x18, 0xOd.
[ 1.753308] psmouse serio1: elantech: Elan sample query result 00, Od, a7
      1.768372] psmouse serio1: elantech: Elan is body: 0x11, current fw version: 0x4
[ 1.770839] usb 3-3: New USB device found, idVendor=27c6, idProduct=55a4, bcdDevice= 1.00
[ 1.773016] usb 3-3: Neu USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1.775165] usb 3-3: Product: Goodix FingerPrint Device
[ 1.777283] usb 3-3: Manufacturer: Generic
[ 1.783924] usb 1-3: New USB device found, idVendor=13d3, idProduct=56fb, bcdDevice=20.01
[ 1.786078] usb 1-3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[ 1.788191] usb 1-3: Product: Integrated Camera
[ 1.790293] usb 1-3: Manufacturer: Azuremaue
[ 1.792379] usb 1-3: SerialNuMber:
[ 1.824961] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: elantech_change_report_id+0x1bf/0x1c4 [psmouse]
[ 1.827125] CPU: 5 PID: 150 Comm: kworker/5:2 Not tainted 5.13.0-19-generic #19 -Ubuntu
      1.828936] Hardware name: LENOVO 20T6000TPB/20T6000TPB, BIOS R1AET4OW (1.16 ) 09/06/2021
[ 1.828936] Workqueue: events long serio handle_event
[ 1.828936] Call Trace:
[ 1.828936] show stack+0x52/0x58
[ 1.828936] dump stack+0x7d/0x9c
[ 1.828936] panic+0x101/0x2e3
[ 1.828936] ? elantech change repurt id+0x1bf/0x1c4 [psmouse]
[ 1.828936] __stack_chk_fail+0x14/0x20
[ 1.828936] elantech change report id+0x1bf/0x1c4 [psmouse]
[ 1.828936] elantech_query_info.cold+0X316/0x594 [psmouse]
[ 1.828936] elantech_init*0x34/0x160 [psmouse]
[ 1.828936] ? synaptics send cmd*0x60/0x60 Ipsmousel
[ 1.828936] psmouse_extensions+0x4b6/0x520 kpsmouse]
[ 1.828936] psmouse switch_protocol+0x144/0x190 [psmouse]
[ 1.828936] psmouse_connect+0xI85/0x3a0 [psmouse]
[ 1.828936] seriodriver_probe+0x86/0x50
[ 1.828936] really_probe+0x245/0x4c0
[ 1.828936] driver_probe device+0xf0/0x160
[ 1.828936] device_driver attach+0xab/0xbO
[ 1.828936] __driver_attach+0xbZ/0x140
[ 1.828936] ? device_driver_attach+0xbO/0xbO
[ 1.828936] bus_foreachdeu+0x7e/0xc0
[ 1.828936] driver_attach+0xle/0x20
[ 1.828936] serio_handle_event+0xl0f/0x290
[ 1.828936] process_one_work+0x220/0x3c0
[ 1.828936] worker_thread+0x53/0x420
[ 1.828936] kthread+0xl1f/0x140
[ 1.828936] ? process_one_work+0x3c0/0x3c0
[ 1.828936] ? set_kthread_struct+0x50/0x50
[ 1.828936] ret_from_fork+0x22/0x30
[ 1.828936] Kernel Offset: 0x2d000000 from 0xffffffff81000000 (relocation range: 0xffffffff0000000-0xffffffffbfffffff)
[ 1.828936] - - -[ end Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: elantech_change_report_id+0x1bf/0x1c4 [psmouse] ]---
-------------------

Computer:
-------------------------------------------------------------
Computer
********

Summary
-------

-Computer-
Processor : AMD Ryzen 5 4500U with Radeon Graphics
Memory : 23817MB (6094MB used)
Machine Type : Notebook
Operating System : Ubuntu 21.10
Date/Time : pon, 18 Oct 2021, 20:41:12
-Display-
Resolution : 2560x1440 pixels
OpenGL Renderer : AMD RENOIR (DRM 3.40.0, 5.11.0-38-generic, LLVM 12.0.1)
X11 Vendor : The X.Org Foundation
-Audio Devices-
Audio Adapter : HDA-Intel - HD-Audio Generic
Audio Adapter : HDA-Intel - HD-Audio Generic
Audio Adapter : USB-Audio - ThinkPad USB-C Dock Gen2 USB Au
-Input Devices-
 Power Button
 Lid Switch
 Sleep Button
 Power Button
 AT Translated Set 2 keyboard
 Video Bus
 ETPS/2 Elantech TrackPoint
 ETPS/2 Elantech Touchpad
 HD-Audio Generic HDMI/DP,pcm:3
 HD-Audio Generic HDMI/DP,pcm:7
 HD-Audio Generic HDMI/DP,pcm:8
 ThinkPad Extra Buttons
 HD-Audio Generic Mic
 HD-Audio Generic Headphone
 Integrated Camera: Integrated C
 Integrated Camera: Integrated I
 Compx 2.4G Wireless Receiver
 Compx 2.4G Wireless Receiver Mouse
 Compx 2.4G Wireless Receiver
 Compx 2.4G Wireless Receiver Keyboard
 Compx 2.4G Wireless Receiver Consumer Control
 Compx 2.4G Wireless Receiver System Control
 Dell Computer Corp Dell Universal Receiver
 Dell Computer Corp Dell Universal Receiver Mouse
 Dell Computer Corp Dell Universal Receiver Consumer Control
 Dell Computer Corp Dell Universal Receiver System Control
 Lenovo ThinkPad USB-C Dock Gen2 USB Audio
-Printers (CUPS)-
HP-LaserJet-Pro-M12w
HP_LaserJet_Pro_M12w : <i>Default</i>

Operating System
----------------

-Version-
Kernel : Linux 5.11.0-38-generic (x86_64)
Version : #42-Ubuntu SMP Fri Sep 24 14:03:54 UTC 2021
C Library : GNU C Library / (Ubuntu GLIBC 2.34-0ubuntu3) 2.34
Distribution : Ubuntu 21.10
-Current Session-
Computer Name : as-e14
User Name : as (as)
Language : LC_CTYPE=en_US.UTF-8;LC_NUMERIC=pl_PL.UTF-8;LC_TIME=pl_PL.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=pl_PL.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=pl_PL.UTF-8;LC_NAME=pl_PL.UTF-8;LC_ADDRESS=pl_PL.UTF-8;LC_TELEPHONE=pl_PL.UTF-8;LC_MEASUREMENT=pl_PL.UTF-8;LC_IDENTIFICATION=pl_PL.UTF-8 (en_US.UTF-8)
Home Directory : /home/as
-Misc-
Uptime : 45 minutes
Load Average : 0,11, 0,26, 0,48
Available entropy in /dev/random : 3652 bits (healthy)

Kernel Modules
--------------

-Loaded Modules-
snd_usb_audio : USB Audio
snd_usbmidi_lib : USB Audio/MIDI helper module
cdc_ether : USB CDC Ethernet devices
usbnet : USB network driver framework
r8152 : Realtek RTL8152/RTL8153 Based USB Ethernet Adapters
mii : MII hardware support library
hid_generic : HID generic driver
usbhid : USB HID core driver
rfcomm : Bluetooth RFCOMM ver 1.11
xt_conntrack : Xtables: connection tracking state match
xt_MASQUERADE : Xtables: automatic-address SNAT
nf_conntrack_netlink
xfrm_user
xfrm_algo
xt_addrtype : Xtables: address type match
br_netfilter : Linux ethernet netfilter firewall bridge
bridge
stp
llc : LLC IEEE 802.2 core support
ccm : Counter with CBC MAC
nfnetlink_queue : netfilter packet queue handler
ip6t_REJECT : Xtables: packet &quot;rejection&quot; target for IPv6
nf_reject_ipv6
nft_chain_nat
xt_nat : SNAT and DNAT targets support
nf_nat
ipt_REJECT : Xtables: packet &quot;rejection&quot; target for IPv4
nf_reject_ipv4
xt_NFQUEUE : Xtables: packet forwarding to netlink
xt_mark : Xtables: packet mark operations
nft_counter : nftables counter rule support
xt_connmark : Xtables: connection mark operations
nf_conntrack
nf_defrag_ipv6
nf_defrag_ipv4
nft_compat : x_tables over nftables support
nf_tables
libcrc32c : CRC32c (Castagnoli) calculations
nfnetlink : Netfilter messages via netlink socket
uhid : User-space I/O driver support for HID subsystem
hid
cmac : CMAC keyed hash algorithm
overlay : Overlay filesystem
algif_hash
algif_skcipher
af_alg
bnep : Bluetooth BNEP ver 1.3
binfmt_misc
btusb : Generic Bluetooth USB driver ver 0.8
btrtl : Bluetooth support for Realtek devices ver 0.1
btbcm : Bluetooth support for Broadcom devices ver 0.1
uvcvideo : USB Video Class driver
btintel : Bluetooth support for Intel devices ver 0.1
videobuf2_vmalloc : vmalloc memory handling routines for videobuf2
videobuf2_memops : common memory handling routines for videobuf2
videobuf2_v4l2 : Driver helper framework for Video for Linux 2
bluetooth : Bluetooth Core ver 2.22
videobuf2_common : Media buffer core framework
intel_rapl_msr : Driver for Intel RAPL (Running Average Power Limit) control via MSR interface
videodev : Video4Linux2 core driver
ecdh_generic : ECDH generic algorithm
mc : Device node registration for media drivers
ecc
intel_rapl_common : Intel Runtime Average Power Limit (RAPL) common code
edac_mce_amd : AMD MCE decoder
kvm_amd
kvm
crct10dif_pclmul : T10 DIF CRC calculation accelerated with PCLMULQDQ.
ghash_clmulni_intel : GHASH hash function, accelerated by PCLMULQDQ-NI
aesni_intel : Rijndael (AES) Cipher Algorithm, Intel AES-NI instructions optimized
crypto_simd
nls_iso8859_1
cryptd : Software async crypto daemon
glue_helper
rapl
snd_hda_codec_realtek : Realtek HD-audio codec
snd_hda_codec_generic : Generic HD-audio codec parser
snd_hda_codec_hdmi : HDMI HD-audio codec
snd_hda_intel : Intel HDA driver
snd_intel_dspcfg : Intel DSP config driver
iwlmvm : The new Intel(R) wireless AGN driver for Linux
soundwire_intel : Intel Soundwire Master Driver
soundwire_generic_allocation : SoundWire Generic Bandwidth Allocation
soundwire_cadence : Cadence Soundwire Library
snd_hda_codec : HDA codec core
mac80211 : IEEE 802.11 subsystem
snd_hda_core : HD-audio bus
snd_hwdep : Hardware dependent layer
soundwire_bus : SoundWire bus
libarc4
joydev : Joystick device interfaces
amdgpu : AMD GPU
input_leds : Input -&gt; LEDs Bridge
snd_seq_midi : Advanced Linux Sound Architecture sequencer MIDI synth.
snd_soc_core : ALSA SoC Core
snd_seq_midi_event : MIDI byte &lt;-&gt; sequencer event coder
snd_compress : ALSA Compressed offload framework
iwlwifi : Intel(R) Wireless WiFi driver for Linux
ac97_bus
iommu_v2
snd_pcm_dmaengine
snd_rawmidi : Midlevel RawMidi code for ALSA.
gpu_sched : DRM GPU scheduler
serio_raw : Raw serio driver
thinkpad_acpi : ThinkPad ACPI Extras
drm_ttm_helper : DRM gem ttm helpers
wmi_bmof : WMI embedded Binary MOF driver
efi_pstore : EFI variable backend for pstore
ttm : TTM memory manager subsystem (for DRM device)
nvram
snd_pcm : Midlevel PCM code for ALSA.
k10temp : AMD Family 10h+ CPU core temperature monitor
ledtrig_audio : LED trigger for audio mute control
cfg80211 : wireless configuration support
drm_kms_helper : DRM KMS helper
snd_seq : Advanced Linux Sound Architecture sequencer.
snd_rn_pci_acp3x : AMD ACP Renoir PCI driver
snd_seq_device : ALSA sequencer device management
snd_pci_acp3x : AMD ACP3x PCI driver
snd_timer : ALSA timer interface
cec : Device node registration for cec drivers
rc_core
ccp : AMD Secure Processor driver
i2c_algo_bit : I2C-Bus bit-banging algorithm
snd : Advanced Linux Sound Architecture driver for soundcards.
fb_sys_fops : Generic file read (fb in system RAM)
syscopyarea : Generic copyarea (sys-to-sys)
sysfillrect : Generic fill rectangle (sys-to-sys)
sysimgblt : 1-bit/8-bit to 1-32 bit color expansion (sys-to-sys)
soundcore : Core sound module
ucsi_acpi : UCSI ACPI driver
typec_ucsi : USB Type-C Connector System Software Interface driver
typec : USB Type-C Connector Class
mac_hid
sch_fq_codel : Fair Queue CoDel discipline
msr : x86 generic MSR driver
parport_pc : PC-style parallel port driver
ppdev
lp
parport
drm : DRM shared core routines
sunrpc
ip_tables : IPv4 packet filter
x_tables : {ip,ip6,arp,eb}_tables backend module
autofs4
nvme
psmouse : PS/2 mouse driver
crc32_pclmul
nvme_core
r8169 : RealTek RTL-8169 Gigabit Ethernet driver
xhci_pci : xHCI PCI Host Controller Driver
realtek : Realtek PHY driver
xhci_pci_renesas
i2c_piix4 : PIIX4 SMBus driver
wmi : ACPI-WMI Mapping Driver
video : ACPI Video Driver
i2c_scmi : ACPI SMBus CMI driver

Boots
-----

-Boots-
Mon Oct 18 19:55 : 5.11.0-38-generi
[...]

Display
-------

-Display-
Resolution : 2560x1440 pixels
Vendor : The X.Org Foundation
Version : 1.20.13
Current Display Name : :0
-Monitors-
Monitor 0 : 2560x1440 pixels
-OpenGL-
Vendor : AMD
Renderer : AMD RENOIR (DRM 3.40.0, 5.11.0-38-generic, LLVM 12.0.1)
Version : 4.6 (Compatibility Profile) Mesa 21.2.2
Direct Rendering : Yes
-Extensions-
Composite
DAMAGE
DOUBLE-BUFFER
DPMS
DRI2
DRI3
GLX
Generic Event Extension
MIT-SCREEN-SAVER
MIT-SHM
Present
RANDR
RECORD
RENDER
SECURITY
SHAPE
SYNC
X-Resource
XC-MISC
XFIXES
XFree86-DGA
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
---------------------------------------------------------------------
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu70
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: as 2913 F.... pulseaudio
 /dev/snd/controlC0: as 2913 F.... pulseaudio
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 21.10
InstallationDate: Installed on 2020-12-06 (317 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
MachineType: LENOVO 20T6000TPB
Package: linux (not installed)
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.11.0-38-generic root=UUID=a5796f3d-37a8-428b-aa28-c160ea77bc9b ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.11.0-38.42-generic 5.11.22
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-38-generic N/A
 linux-backports-modules-5.11.0-38-generic N/A
 linux-firmware 1.201
Tags: impish
Uname: Linux 5.11.0-38-generic x86_64
UpgradeStatus: Upgraded to impish on 2021-10-18 (1 days ago)
UserGroups: adm cdrom dip docker lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 09/06/2021
dmi.bios.release: 1.16
dmi.bios.vendor: LENOVO
dmi.bios.version: R1AET40W (1.16 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20T6000TPB
dmi.board.vendor: LENOVO
dmi.board.version: Not Defined
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: None
dmi.ec.firmware.release: 1.16
dmi.modalias: dmi:bvnLENOVO:bvrR1AET40W(1.16):bd09/06/2021:br1.16:efr1.16:svnLENOVO:pn20T6000TPB:pvrThinkPadE14Gen2:skuLENOVO_MT_20T6_BU_Think_FM_ThinkPadE14Gen2:rvnLENOVO:rn20T6000TPB:rvrNotDefined:cvnLENOVO:ct10:cvrNone:
dmi.product.family: ThinkPad E14 Gen 2
dmi.product.name: 20T6000TPB
dmi.product.sku: LENOVO_MT_20T6_BU_Think_FM_ThinkPad E14 Gen 2
dmi.product.version: ThinkPad E14 Gen 2
dmi.sys.vendor: LENOVO

Revision history for this message
as (ip413as3) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1947623/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1947623

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: impish
Revision history for this message
as (ip413as3) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
as (ip413as3) wrote : CRDA.txt

apport information

Revision history for this message
as (ip413as3) wrote : CurrentDmesg.txt

apport information

Revision history for this message
as (ip413as3) wrote : IwConfig.txt

apport information

Revision history for this message
as (ip413as3) wrote : Lspci.txt

apport information

Revision history for this message
as (ip413as3) wrote : Lspci-vt.txt

apport information

Revision history for this message
as (ip413as3) wrote : Lsusb.txt

apport information

Revision history for this message
as (ip413as3) wrote : Lsusb-t.txt

apport information

Revision history for this message
as (ip413as3) wrote : Lsusb-v.txt

apport information

Revision history for this message
as (ip413as3) wrote : PaInfo.txt

apport information

Revision history for this message
as (ip413as3) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
as (ip413as3) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
as (ip413as3) wrote : ProcEnviron.txt

apport information

Revision history for this message
as (ip413as3) wrote : ProcInterrupts.txt

apport information

Revision history for this message
as (ip413as3) wrote : ProcModules.txt

apport information

Revision history for this message
as (ip413as3) wrote : PulseList.txt

apport information

Revision history for this message
as (ip413as3) wrote : RfKill.txt

apport information

Revision history for this message
as (ip413as3) wrote : UdevDb.txt

apport information

Revision history for this message
as (ip413as3) wrote : WifiSyslog.txt

apport information

Revision history for this message
as (ip413as3) wrote : acpidump.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Diana (dianaraz) wrote (last edit ):

I have a Lenovo ThinkPad T15 with AMD Ryzen 4500 with Radeon graphics too, and got the same issue.

This happened to me:
- I bought the laptop brand new with no OS installed (per my request)
- When I got it, I created a bootable USB stick with Kubuntu 2021.10 (Image that I got from the official page)
 - Kubuntu never started (I did get the menu from the USB stick though), and I tried both USB ports.
- I try to boot with the recovering/safe mode and I see that error.
- So I instead format the USB stick to have the bootable version 2021.04 of Kubuntu.
- Kubuntu started and I was able to "Try Kubuntu" and install it.
- Once the installation was done, I update all available updates and upgrade Kubuntu to 2021.10 from the console.
- After restart, Kubuntu never started: recover mode showed the same error I got with the USB (which is the one reported here).

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.