net: shaper: protect late read accesses to the hierarchy
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0f9ea7141f365b4f27226898e62220fb98ef8dc6, Kernel 348758ba74e6a348299965b16a97cfb817545cc0 and Kernel 581eee0890a8bde44f1fb78ad3e70502a897d583.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.13, >=4b623f9f0f59652ea71fcb27d60b4c3b65126dbb <0f9ea7141f365b4f27226898e62220fb98ef8dc6, >=4b623f9f0f59652ea71fcb27d60b4c3b65126dbb <348758ba74e6a348299965b16a97cfb817545cc0, >=4b623f9f0f59652ea71fcb27d60b4c3b65126dbb <581eee0890a8bde44f1fb78ad3e70502a897d583 | 0f9ea7141f365b4f27226898e62220fb98ef8dc6, 348758ba74e6a348299965b16a97cfb817545cc0, 581eee0890a8bde44f1fb78ad3e70502a897d583 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket