diff options
author | 2024-09-10 10:31:44 -0400 | |
---|---|---|
committer | 2024-09-11 16:01:25 -0700 | |
commit | cbd7ec083413c6a2e0c326d49e24ec7d12c7a9e0 (patch) | |
tree | 5f80b68e9558f1f4c0e175f02d611ad312318fbb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | mptcp: pm: Fix uaf in __timer_delete_sync (diff) | |
download | wireguard-linux-cbd7ec083413c6a2e0c326d49e24ec7d12c7a9e0.tar.xz wireguard-linux-cbd7ec083413c6a2e0c326d49e24ec7d12c7a9e0.zip |
net: dpaa: Pad packets to ETH_ZLEN
When sending packets under 60 bytes, up to three bytes of the buffer
following the data may be leaked. Avoid this by extending all packets to
ETH_ZLEN, ensuring nothing is leaked in the padding. This bug can be
reproduced by running
$ ping -s 11 destination
Fixes: 9ad1a3749333 ("dpaa_eth: add support for DPAA Ethernet")
Suggested-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Sean Anderson <sean.anderson@linux.dev>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20240910143144.1439910-1-sean.anderson@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions