summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoseph Huang <Joseph.Huang@garmin.com>2024-08-19 19:52:50 -0400
committerJakub Kicinski <kuba@kernel.org>2024-08-20 16:53:21 -0700
commit528876d867a23b5198022baf2e388052ca67c952 (patch)
treec73801ce3c37b648acb1b5c22c01a49ed0017c2d /net
parent6efea5135417ae8194485d1d05ea79a21cf1a11c (diff)
net: dsa: mv88e6xxx: Fix out-of-bound access
If an ATU violation was caused by a CPU Load operation, the SPID could be larger than DSA_MAX_PORTS (the size of mv88e6xxx_chip.ports[] array). Fixes: 75c05a74e745 ("net: dsa: mv88e6xxx: Fix counting of ATU violations") Signed-off-by: Joseph Huang <Joseph.Huang@garmin.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Link: https://patch.msgid.link/20240819235251.1331763-1-Joseph.Huang@garmin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions