Commit d8ea396
committed
net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
jira LE-1907
cve CVE-2024-36979
Rebuild_History Non-Buildable kernel-4.18.0-553.16.1.el8_10
commit-author Nikolay Aleksandrov <[email protected]>
commit 546ceb1
I converted br_mst_set_state to RCU to avoid a vlan use-after-free
but forgot to change the vlan group dereference helper. Switch to vlan
group RCU deref helper to fix the suspicious rcu usage warning.
Fixes: 3a7c166 ("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]>
(cherry picked from commit 546ceb1)
Signed-off-by: Jonathan Maple <[email protected]>1 parent 00d4b1e commit d8ea396
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments