aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorStefan Wahren <[email protected]>2025-04-30 13:30:42 +0000
committerJakub Kicinski <[email protected]>2025-05-01 14:24:05 +0000
commitd4dda902dac194e3231a1ed0f76c6c3b6340ba8a (patch)
treecf9d0787b85df02ecc1028353a70aa234e7b4dd9 /net/unix/af_unix.c
parentnet: vertexcom: mse102x: Fix LEN_MASK (diff)
downloadkernel-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