diff options
| author | Stefan Wahren <[email protected]> | 2025-04-30 13:30:42 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-01 14:24:05 +0000 |
| commit | d4dda902dac194e3231a1ed0f76c6c3b6340ba8a (patch) | |
| tree | cf9d0787b85df02ecc1028353a70aa234e7b4dd9 /net/unix/af_unix.c | |
| parent | net: vertexcom: mse102x: Fix LEN_MASK (diff) | |
| download | kernel-d4dda902dac194e3231a1ed0f76c6c3b6340ba8a.tar.gz kernel-d4dda902dac194e3231a1ed0f76c6c3b6340ba8a.zip | |
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 <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
