Stanislav Fomichev
423778c85b
vrf: Drop existing dst reference in vrf_ip6_input_dst
[ Upstream commit f388f807eca1de9e6e70f9ffb1a573c3811c4215 ]
Commit ff3fbcdd4724 ("selftests: tc: Add generic erspan_opts matching support
for tc-flower") started triggering the following kmemleak warning:
unreferenced object 0xffff888015fb0e00 (size 512):
comm "softirq", pid 0, jiffies 4294679065
hex dump (first 32 bytes):
00 00 00 00 00 00 00 00 40 d2 85 9e ff ff ff ff ........@.......
41 69 59 9d ff ff ff ff 00 00 00 00 00 00 00 00 AiY.............
backtrace (crc 30b71e8b):
__kmalloc_noprof+0x359/0x460
metadata_dst_alloc+0x28/0x490
erspan_rcv+0x4f1/0x1160 [ip_gre]
gre_rcv+0x217/0x240 [ip_gre]
gre_rcv+0x1b8/0x400 [gre]
ip_protocol_deliver_rcu+0x31d/0x3a0
ip_local_deliver_finish+0x37d/0x620
ip_local_deliver+0x174/0x460
ip_rcv+0x52b/0x6b0
__netif_receive_skb_one_core+0x149/0x1a0
process_backlog+0x3c8/0x1390
__napi_poll.constprop.0+0xa1/0x390
net_rx_action+0x59b/0xe00
handle_softirqs+0x22b/0x630
do_softirq+0xb1/0xf0
__local_bh_enable_ip+0x115/0x150
vrf_ip6_input_dst unconditionally sets skb dst entry, add a call to
skb_dst_drop to drop any existing entry.
Cc: David Ahern <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Fixes: 9ff7438460 ("net: vrf: Handle ipv6 multicast and link-local addresses")
Signed-off-by: Stanislav Fomichev <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
|
2025-08-28 16:21:20 +02:00 |
| .. |
|
appletalk
|
|
|
|
arcnet
|
arcnet: Add NULL check in com20020pci_probe()
|
2025-04-10 14:29:43 +02:00 |
|
bonding
|
bonding: report duplicate MAC address in all situations
|
2025-06-04 14:32:32 +02:00 |
|
caif
|
caif_virtio: fix wrong pointer check in cfv_probe()
|
2025-03-13 12:43:29 +01:00 |
|
can
|
can: kvaser_usb: Assign netdev.dev_port based on device channel index
|
2025-08-28 16:21:20 +02:00 |
|
dsa
|
net: dsa: sja1105: discard incoming frames in BR_STATE_LISTENING
|
2025-06-04 14:32:28 +02:00 |
|
ethernet
|
ethernet: intel: fix building with large NR_CPUS
|
2025-08-28 16:21:18 +02:00 |
|
fddi
|
|
|
|
fjes
|
fjes: fix memleaks in fjes_hw_setup
|
2024-02-23 08:24:51 +01:00 |
|
hamradio
|
|
|
|
hippi
|
|
|
|
hyperv
|
hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event
|
2024-11-08 16:20:51 +01:00 |
|
ieee802154
|
ieee802154: ca8210: Use proper setters and getters for bitwise types
|
2025-06-04 14:32:31 +02:00 |
|
ipvlan
|
ipvlan: Dont Use skb->sk in ipvlan_process_v{4,6}_outbound
|
2024-06-16 13:28:48 +02:00 |
|
netdevsim
|
|
|
|
phy
|
net: phy: microchip: limit 100M workaround to link-down events on LAN88xx
|
2025-07-17 18:25:04 +02:00 |
|
plip
|
|
|
|
ppp
|
net: ppp: Add bound checking for skb data on ppp_sync_txmung
|
2025-05-02 07:39:09 +02:00 |
|
slip
|
slip: make slhc_remember() more robust against malicious packets
|
2024-11-08 16:20:46 +01:00 |
|
team
|
team: better TEAM_OPTION_TYPE_STRING validation
|
2025-03-13 12:43:12 +01:00 |
|
usb
|
usb: net: sierra: check for no status endpoint
|
2025-08-28 16:21:16 +02:00 |
|
vmxnet3
|
|
|
|
wan
|
net: remove unneeded break
|
2024-02-23 08:25:04 +01:00 |
|
wimax
|
|
|
|
wireless
|
wifi: brcmfmac: fix P2P discovery failure in P2P peer due to missing P2P IE
|
2025-08-28 16:21:20 +02:00 |
|
xen-netback
|
net/xen-netback: prevent UAF in xenvif_flush_hash()
|
2025-02-01 18:18:53 +01:00 |
|
dummy.c
|
|
|
|
eql.c
|
|
|
|
geneve.c
|
geneve: Suppress list corruption splat in geneve_destroy_tunnels().
|
2025-03-13 12:43:22 +01:00 |
|
gtp.c
|
gtp: Suppress list corruption splat in gtp_net_exit_batch_rtnl().
|
2025-03-13 12:43:22 +01:00 |
|
ifb.c
|
|
|
|
Kconfig
|
drivers: net: Fix Kconfig indentation, continued
|
2024-11-08 16:20:35 +01:00 |
|
LICENSE.SRC
|
|
|
|
loopback.c
|
net: loopback: Avoid sending IP packets without an Ethernet header
|
2025-03-13 12:43:24 +01:00 |
|
macsec.c
|
macsec: don't increment counters for an unrelated SA
|
2024-11-08 16:20:49 +01:00 |
|
macvlan.c
|
|
|
|
macvtap.c
|
|
|
|
Makefile
|
|
|
|
mdio.c
|
|
|
|
mii.c
|
|
|
|
net_failover.c
|
|
|
|
netconsole.c
|
net: netconsole: Disable target before netpoll cleanup
|
2024-08-19 05:33:35 +02:00 |
|
nlmon.c
|
|
|
|
ntb_netdev.c
|
|
|
|
rionet.c
|
|
|
|
sb1000.c
|
|
|
|
Space.c
|
|
|
|
sungem_phy.c
|
|
|
|
tap.c
|
tap: add missing verification for short frame
|
2024-07-27 10:38:33 +02:00 |
|
thunderbolt.c
|
|
|
|
tun.c
|
tun: revert fix group permission check
|
2025-03-13 12:43:06 +01:00 |
|
veth.c
|
|
|
|
virtio_net.c
|
virtio-net: ensure the received length does not exceed allocated size
|
2025-08-28 16:21:16 +02:00 |
|
vrf.c
|
vrf: Drop existing dst reference in vrf_ip6_input_dst
|
2025-08-28 16:21:20 +02:00 |
|
vsockmon.c
|
|
|
|
vxlan.c
|
vxlan: Do not treat dst cache initialization errors as fatal
|
2025-06-27 11:02:55 +01:00 |
|
xen-netfront.c
|
xen/netfront: fix crash when removing device
|
2024-12-19 18:05:05 +01:00 |