net: shaper: protect late read accesses to the hierarchy
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.20, 6.19.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: net: shaper: protect late read accesses to the hierarchy We look up a netdev during prep of Netlink ops (pre- callbacks) and take a ref to it. Then later in the body of the callback we take its lock or RCU which are the actual protections. This is not proper, a conversion from a ref to a locked netdev must include a liveness check (a check if the netdev hasn't been unregistered already). Fix the read cases (those under RCU). Writes needs a separate change to protect from creating the hierarchy after flush has already run.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb · fixed in 581eee0890a8bde44f1fb78ad3e70502a897d583; From 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb · fixed in 348758ba74e6a348299965b16a97cfb817545cc0; From 4b623f9f0f59652ea71fcb27d60b4c3b65126dbb · fixed in 0f9ea7141f365b4f27226898e62220fb98ef8dc6
- Linux Linux
6.13
- KernelLinux
From 6.13.0 · fixed in 6.18.20; From 6.19.0 · fixed in 6.19.10