aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSzymon Heidrich <[email protected]>2023-03-13 23:00:45 +0100
committerDavid S. Miller <[email protected]>2023-03-15 08:52:53 +0000
commitd8b228318935044dafe3a5bc07ee71a1f1424b8d (patch)
treec705010af6c28753981e5db7a8598b3625a0f309 /scripts/generate_rust_analyzer.py
parentfd6ad75f8c008925e279576dc749ad12aa3fb64b (diff)
net: usb: smsc75xx: Limit packet length to skb->len
Packet length retrieved from skb data may be larger than the actual socket buffer length (up to 9026 bytes). In such case the cloned skb passed up the network stack will leak kernel memory contents. Fixes: d0cad871703b ("smsc75xx: SMSC LAN75xx USB gigabit ethernet adapter driver") Signed-off-by: Szymon Heidrich <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions