Bug 1227781 (CVE-2024-40920) - VUL-0: CVE-2024-40920: kernel: net: bridge: mst: fix suspicious rcu usage in br_mst_set_state
Summary: VUL-0: CVE-2024-40920: kernel: net: bridge: mst: fix suspicious rcu usage in ...
Status: NEW
Alias: CVE-2024-40920
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Michal Kubeček
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/413847/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-40920:5.5:(AV:...
Keywords:
Depends on: CVE-2024-36979
Blocks:
  Show dependency treegraph
 
Reported: 2024-07-15 11:15 UTC by SMASH SMASH
Modified: 2024-07-16 12:34 UTC (History)
2 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-15 11:15:39 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-40920
https://www.cve.org/CVERecord?id=CVE-2024-40920
https://git.kernel.org/stable/c/406bfc04b01ee47e4c626f77ecc7d9f85135b166
https://git.kernel.org/stable/c/546ceb1dfdac866648ec959cbc71d9525bd73462
https://git.kernel.org/stable/c/7caefa2771722e65496d85b62e1dc4442b7d1345
https://git.kernel.org/stable/c/caaa2129784a04dcade0ea92c12e6ff90bbd23d8
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-40920.mbox