diff options
author | Nikolay Aleksandrov <[email protected]> | 2024-06-09 13:36:53 +0300 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-06-12 18:24:24 -0700 |
commit | 36c92936e868601fa1f43da6758cf55805043509 (patch) | |
tree | acc9e7274eb8968851aeca33c093645fcc5ac13b /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 14a20e5b4ad998793c5f43b0330d9e1388446cf3 (diff) |
net: bridge: mst: pass vlan group directly to br_mst_vlan_set_state
Pass the already obtained vlan group pointer to br_mst_vlan_set_state()
instead of dereferencing it again. Each caller has already correctly
dereferenced it for their context. This change is required for the
following suspicious RCU dereference fix. No functional changes
intended.
Fixes: 3a7c1661ae13 ("net: bridge: mst: fix vlan use-after-free")
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=9bbe2de1bc9d470eb5fe
Signed-off-by: Nikolay Aleksandrov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions