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

Kleber Souza kleber.souza at canonical.com
Wed Dec 15 13:16:11 UTC 2021


On 30.11.21 16:56, Andrea Righi wrote:
> 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.
>
>

Applied to impish:linux.

Thanks,
Kleber




More information about the kernel-team mailing list