Files
linux-stable-mirror/include/net
Eric DumazetandGreg Kroah-Hartman 1a4adfbeb4 ipv6: guard against possible NULL deref in __in6_dev_stats_get()
[ Upstream commit 507541c2a8 ]

dev_get_by_index_rcu() could return NULL if the original physical
device is unregistered.

Found by Sashiko.

Fixes: e1ae5c2ea4 ("vrf: Increment Icmp6InMsgs on the original netdev")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Stephen Suryaputra <ssuryaextr@gmail.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Link: https://patch.msgid.link/20260526145529.3587126-2-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-07-24 15:54:36 +02:00
..
2025-02-21 13:49:02 +01:00
2026-01-11 15:18:59 +01:00
2024-01-31 16:17:04 -08:00
2024-12-19 18:08:53 +01:00
2025-02-21 13:50:06 +01:00
2023-10-10 22:00:46 +02:00
2023-06-14 11:15:20 +02:00
2025-03-07 16:56:37 +01:00
2023-08-11 12:08:17 +02:00