diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-09-29 11:23:47 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2023-10-05 22:34:13 +0300 |
commit | 6411959c10fe917288cbb1038886999148560057 (patch) | |
tree | 5569cd7fa8f9cbce1ae030fd35508c46f60c1e1a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f0e0c809c0be05fe865b9ac128ef3ee35c276021 (diff) | |
download | linux-6411959c10fe917288cbb1038886999148560057.tar.xz |
can: dev: can_put_echo_skb(): don't crash kernel if can_priv::echo_skb is accessed out of bounds
If the "struct can_priv::echoo_skb" is accessed out of bounds, this
would cause a kernel crash. Instead, issue a meaningful warning
message and return with an error.
Fixes: a6e4bc530403 ("can: make the number of echo skb's configurable")
Link: https://lore.kernel.org/all/20231005-can-dev-fix-can-restart-v2-5-91b5c1fd922c@pengutronix.de
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions