diff options
author | Stefan Wahren <wahrenst@gmx.net> | 2025-04-30 16:30:42 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-01 17:24:05 +0300 |
commit | d4dda902dac194e3231a1ed0f76c6c3b6340ba8a (patch) | |
tree | cf9d0787b85df02ecc1028353a70aa234e7b4dd9 /tools/testing/radix-tree/generated/autoconf.h | |
parent | 74987089ec678b4018dba0a609e9f4bf6ef7f4ad (diff) | |
download | linux-d4dda902dac194e3231a1ed0f76c6c3b6340ba8a.tar.xz |
net: vertexcom: mse102x: Add range check for CMD_RTS
Since there is no protection in the SPI protocol against electrical
interferences, the driver shouldn't blindly trust the length payload
of CMD_RTS. So introduce a bounds check for incoming frames.
Fixes: 2f207cbf0dd4 ("net: vertexcom: Add MSE102x SPI support")
Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250430133043.7722-4-wahrenst@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/radix-tree/generated/autoconf.h')
0 files changed, 0 insertions, 0 deletions