]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
nl80211: fix validation of mesh path nexthop
authorMarkus Theil <markus.theil@tu-ilmenau.de>
Tue, 29 Oct 2019 09:30:03 +0000 (10:30 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 12 Nov 2019 17:47:15 +0000 (18:47 +0100)
commit9a96d2033c60b352e2997e86f5a38c758fb3f52e
tree58b8d62120f778e0de2f348968dd074d029bf1bc
parent1afe2a0d86c00ac2897308421e4603af62db279e
nl80211: fix validation of mesh path nexthop

BugLink: https://bugs.launchpad.net/bugs/1851550
commit 1fab1b89e2e8f01204a9c05a39fd0b6411a48593 upstream.

Mesh path nexthop should be a ethernet address, but current validation
checks against 4 byte integers.

Cc: stable@vger.kernel.org
Fixes: 2ec600d672e74 ("nl80211/cfg80211: support for mesh, sta dumping")
Signed-off-by: Markus Theil <markus.theil@tu-ilmenau.de>
Link: https://lore.kernel.org/r/20191029093003.10355-1-markus.theil@tu-ilmenau.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
net/wireless/nl80211.c