[SRU][I][PATCH 0/1] Fix kernel panic at boot on Thinkpad E14 Gen2 (elantech driver)

Andrea Righi andrea.righi at canonical.com
Tue Nov 30 15:56:52 UTC 2021


BugLink: https://bugs.launchpad.net/bugs/1945590

[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_change_report_id()")

[Regression potential]

The fix is touching the elantech driver, so we could only see
regressions with this specific trackpad/mouse driver.




More information about the kernel-team mailing list