linux-stable/drivers/net
Sean Anderson 34fcac2621 net: dpaa: Pad packets to ETH_ZLEN
[ Upstream commit cbd7ec0834 ]

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: 9ad1a37493 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-18 19:24:09 +02:00
..
appletalk
arcnet
bonding bonding: change ipsec_lock from spin lock to mutex 2024-09-04 13:28:27 +02:00
caif
can can: mcp251xfd: rx: add workaround for erratum DS80000789E 6 of mcp2518fd 2024-09-12 11:11:43 +02:00
dsa net: dsa: felix: ignore pending status of TAS module when it's disabled 2024-09-18 19:24:09 +02:00
ethernet net: dpaa: Pad packets to ETH_ZLEN 2024-09-18 19:24:09 +02:00
fddi
fjes
hamradio
hippi
hyperv hv_netvsc: Don't free decrypted memory 2024-05-17 12:02:17 +02:00
ieee802154
ipa
ipvlan ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound 2024-06-12 11:12:59 +02:00
mctp net: mctp-serial: Fix missing escapes on transmit 2024-09-12 11:11:28 +02:00
mdio
netdevsim
pcs
phy net: phy: vitesse: repair vsc73xx autonegotiation 2024-09-18 19:24:05 +02:00
plip
ppp pppoe: Fix memory leak in pppoe_sendmsg() 2024-08-19 06:04:27 +02:00
pse-pd
slip
team
thunderbolt
usb usbnet: ipheth: fix carrier detection in modes 1 and 4 2024-09-18 19:24:05 +02:00
vmxnet3 vmxnet3: disable rx data ring on dma allocation failure 2024-06-21 14:38:15 +02:00
vxlan vxlan: Fix regression when dropping packets due to invalid src addresses 2024-06-21 14:38:17 +02:00
wan
wireguard wireguard: send: annotate intentional data race in checking empty queue 2024-07-18 13:21:23 +02:00
wireless wifi: mt76: mt7921: fix NULL pointer access in mt7921_ipv6_addr_change 2024-09-18 19:24:05 +02:00
wwan net: wwan: iosm: Fix tainted pointer delete is case of region creation fail 2024-06-21 14:38:18 +02:00
xen-netback kthread: add kthread_stop_put 2024-06-12 11:12:52 +02:00
amt.c
bareudp.c bareudp: Fix device stats updates. 2024-09-12 11:11:34 +02:00
dummy.c
eql.c
geneve.c geneve: Fix incorrect inner network header offset when innerprotoinherit is set 2024-06-21 14:38:33 +02:00
gtp.c gtp: fix a potential NULL pointer dereference 2024-09-04 13:28:27 +02:00
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c
macvlan.c
macvtap.c
Makefile net: Always descend into dsa/ folder with CONFIG_NET_DSA enabled 2024-06-12 11:12:46 +02:00
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c net: netconsole: Disable target before netpoll cleanup 2024-08-03 08:54:13 +02:00
nlmon.c
ntb_netdev.c net: ntb_netdev: Move ntb_netdev_rx_handler() to call netif_rx() from __netif_rx() 2024-07-11 12:49:13 +02:00
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c tap: add missing verification for short frame 2024-07-27 11:34:11 +02:00
tun.c tun: add missing verification for short frame 2024-07-27 11:34:10 +02:00
veth.c
virtio_net.c virtio_net: Fix napi_skb_cache_put warning 2024-09-08 07:54:49 +02:00
vrf.c
vsockmon.c
xen-netfront.c