net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
| No fix yet |
In the Linux kernel, the following vulnerability has been resolved:
net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
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.
From the CVE record · Linux
The Linux kernel bridge MST function br_mst_set_state uses the wrong helper to dereference a VLAN group under RCU, producing a suspicious RCU usage warning. The change was intended to avoid a VLAN use-after-free; the input does not establish an attacker action or specify access or user-interaction requirements.
Engineers running Linux kernels with bridge MST should check whether their kernel includes the fix; affected versions are not specified.