summaryrefslogtreecommitdiff
path: root/drivers/dpll
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2024-02-22 15:17:47 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-26 14:56:23 +0300
commit10bfd453da64a057bcfd1a49fb6b271c48653cdb (patch)
treec2e9d1e810ca54d41998a0ea1f7bcea3aa5be0bb /drivers/dpll
parent1a825e4cdf457b7aef7ebbc2f1206654f5beb150 (diff)
downloadlinux-10bfd453da64a057bcfd1a49fb6b271c48653cdb.tar.xz
ipv6: fix potential "struct net" leak in inet6_rtm_getaddr()
It seems that if userspace provides a correct IFA_TARGET_NETNSID value but no IFA_ADDRESS and IFA_LOCAL attributes, inet6_rtm_getaddr() returns -EINVAL with an elevated "struct net" refcount. Fixes: 6ecf4c37eb3e ("ipv6: enable IFA_TARGET_NETNSID for RTM_GETADDR") Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Christian Brauner <brauner@kernel.org> Cc: David Ahern <dsahern@kernel.org> Reviewed-by: David Ahern <dsahern@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dpll')
0 files changed, 0 insertions, 0 deletions