aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/wireguard
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2025-06-04 14:32:52 +0300
committerJakub Kicinski <kuba@kernel.org>2025-06-05 08:03:17 -0700
commit7632fedb266d93ed0ed9f487133e6c6314a9b2d1 (patch)
tree99e2baa92bb667cf9d0f8d78ebb3517376564135 /drivers/net/wireguard
parentnet: prevent a NULL deref in rtnl_create_link() (diff)
downloadwireguard-linux-7632fedb266d93ed0ed9f487133e6c6314a9b2d1.tar.xz
wireguard-linux-7632fedb266d93ed0ed9f487133e6c6314a9b2d1.zip
seg6: Fix validation of nexthop addresses
The kernel currently validates that the length of the provided nexthop address does not exceed the specified length. This can lead to the kernel reading uninitialized memory if user space provided a shorter length than the specified one. Fix by validating that the provided length exactly matches the specified one. Fixes: d1df6fd8a1d2 ("ipv6: sr: define core operations for seg6local lightweight tunnel") Reviewed-by: Petr Machata <petrm@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: David Ahern <dsahern@kernel.org> Link: https://patch.msgid.link/20250604113252.371528-1-idosch@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/wireguard')
0 files changed, 0 insertions, 0 deletions