net: shaper: reject duplicate leaves in GROUP request
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.34, Kernel 7.0.11, Kernel 5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75 and 2 more.
In the Linux kernel, the following vulnerability has been resolved: net: shaper: reject duplicate leaves in GROUP request net_shaper_nl_group_doit() does not deduplicate NET_SHAPER_A_LEAVES entries. When userspace supplies the same leaf handle twice, the same old-parent pointer lands twice in old_nodes[]. The cleanup loop double frees the parent. Of course the same parent may still be in old_nodes[] twice if we are moving multiple of its leaves. Note that this patch also implicitly fixes the fact that the i >= leaves_count path forgets to set ret.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.34, >=6.19 <7.0.11, =7.1, >=5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e <5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75, >=5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e <a9a2fa1da619f276580b0d4c5d12efac89e8642b, =6.13, >=5d5d4700e75d861e83bf18eb6bf66ff90f85fe4e <31767bf852b59f05125b58a17007e4cd1ea9eb2e | 6.18.34, 7.0.11, 5098b223f0f0c5c18a3884a8b0ea5bd4a0c7bd75, a9a2fa1da619f276580b0d4c5d12efac89e8642b, 31767bf852b59f05125b58a17007e4cd1ea9eb2e |
| linux-kernel: Kernel | >=6.13.0 <6.18.34, >=6.19.0 <7.0.11 | 6.18.34, 7.0.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket