Thinkpad E14 Gen2: Kernel panic with trackpad and trackpoint enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Critical
|
Andrea Righi | ||
Impish |
Fix Released
|
Critical
|
Andrea Righi | ||
Jammy |
Fix Released
|
Critical
|
Andrea Righi |
Bug Description
[Impact]
On some thinkpads we may get a kernel panic at boot, because the elantech driver (trakcpad) can trigger out-of-bounds access in the stack.
[Test case]
Simply boot the kernel on one of the affected systems (e.g., Thinkpad E14 Gen2).
[Fix]
Prevent the stack out of bound access by applying the following upstream commit (from linux-next):
1d72d9f960cc ("Input: elantech - fix stack out of bound access in elantech_
[Regression potential]
The fix is touching the elantech driver, so we could only see regressions with this specific trackpad/mouse driver.
[Original bug report]
I installed the Ubuntu 21.10 beta and as soon as I boot I get the kernel panic that I am attaching.
I also installed Ubuntu 21.04 and upgraded, as soon as I boot with the 5.13 kernel I get the same problem, disabling the trackpad and trackpoint in the bios the problem disappears.
Everything works with the 5.11 kernel.
I remain available for further details and sorry for my lack of experience.
ProblemType: Bug
DistroRelease: Ubuntu 21.10
Package: linux-image-
ProcVersionSign
Uname: Linux 5.13.0-16-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu69
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 30 10:26:10 2021
InstallationDate: Installed on 2021-09-29 (0 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
MachineType: LENOVO 20TA0033IX
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=it_IT.UTF-8
SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.201
SourcePackage: linux
UpgradeStatus: Upgraded to impish on 2021-09-29 (0 days ago)
dmi.bios.date: 09/02/2021
dmi.bios.release: 1.43
dmi.bios.vendor: LENOVO
dmi.bios.version: R1EET43W(1.43 )
dmi.board.
dmi.board.name: 20TA0033IX
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40697 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad E14 Gen 2
dmi.product.name: 20TA0033IX
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
CVE References
no longer affects: | linux |
tags: | added: patch |
Changed in linux (Ubuntu): | |
assignee: | Andrea Righi (arighi) → Kenth K (kenth-kvien) |
assignee: | Kenth K (kenth-kvien) → nobody |
Changed in linux (Ubuntu Jammy): | |
assignee: | nobody → Andrea Righi (arighi) |
Changed in linux (Ubuntu Impish): | |
importance: | High → Critical |
Changed in linux (Ubuntu Jammy): | |
importance: | High → Critical |
description: | updated |
Changed in linux (Ubuntu Impish): | |
status: | Confirmed → Fix Committed |
Changed in linux (Ubuntu Impish): | |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu Impish): | |
status: | Fix Released → Fix Committed |
Changed in linux (Ubuntu Impish): | |
status: | Fix Committed → Fix Released |
Changed in linux (Ubuntu Impish): | |
status: | Fix Released → Fix Committed |
tags: |
added: verification-done-impish removed: verification-needed-impish |
This change was made by a bot.