# Re: \[PATCH v2\] Input: elantech - Fix stack out of bound access in elantech\_change\_report\_id()

- From: Wolfram Sang \<wsa@kernel.org\>
- Date: 2021-11-16 10:30:34 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2021/11/1576080
- Thread: https://ratatoskr.run/linux-input/2021/11/1576045/t.md

```text
> 
> [    6.512374] BUG: KASAN: stack-out-of-bounds in __ps2_command+0x372/0x7e0
> [    6.512397] Read of size 1 at addr ffff8881024d77c2 by task kworker/2:1/118

I wonder if the KASAN trace could be shortened, but I leave this to
Dmitry.

I like the comment, thanks!

Reviewed-by: Wolfram Sang <wsa@kernel.org>

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-input/2021/11/1576080/attachment/0) (application/pgp-signature, 833 bytes)
