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

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Wed Dec 1 10:46:36 UTC 2021


On 30/11/2021 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.
> 
> 

Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>

Best regards,
Krzysztof



More information about the kernel-team mailing list