net/sched: cake: reject overhead values that underflow length
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f511dd7bf6077aa7afbe72914520553fedaacbb4, Kernel 297f459865360b46a887667cbf3aac6a6f013841, Kernel 336c1e414fc0e9844d445174e8ada2a7dd8d1c4b and 12 more.
In the Linux kernel, the following vulnerability has been resolved: net/sched: cake: reject overhead values that underflow length CAKE accepts signed overhead values and stores them in an s16, but the adjusted packet length calculation uses unsigned arithmetic. A negative effective length can therefore wrap to a large value. Such configurations make rate accounting depend on integer wraparound rather than on the packet size userspace intended to model. A static netlink lower bound is not enough because packets reaching CAKE can be smaller than any reasonable manual-overhead allowance. Fold the signed overhead adjustment into the existing datapath MPU clamp so negative adjusted lengths are clamped before link-layer framing adjustments.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a729b7f0bd5bf4919306556aed614438f5174537 <f511dd7bf6077aa7afbe72914520553fedaacbb4, >=a729b7f0bd5bf4919306556aed614438f5174537 <297f459865360b46a887667cbf3aac6a6f013841, >=a729b7f0bd5bf4919306556aed614438f5174537 <336c1e414fc0e9844d445174e8ada2a7dd8d1c4b, >=a729b7f0bd5bf4919306556aed614438f5174537 <7aa0e64fea778a9e3df73e64da95367ff8ad2ea5, >=a729b7f0bd5bf4919306556aed614438f5174537 <b7f97cae7ec1b6c3c32843c42be218690d310467, >=a729b7f0bd5bf4919306556aed614438f5174537 <bcdf3a3664f7d2c4e37e155f30f72ef33f041804, >=a729b7f0bd5bf4919306556aed614438f5174537 <e1df6cff03aad8c96e55a8b2a991e505c7a3ff6f, >=a729b7f0bd5bf4919306556aed614438f5174537 <f1e7807df5bf2d42a40266430e9f82f37633cdcf, =4.19 | f511dd7bf6077aa7afbe72914520553fedaacbb4, 297f459865360b46a887667cbf3aac6a6f013841, 336c1e414fc0e9844d445174e8ada2a7dd8d1c4b, 7aa0e64fea778a9e3df73e64da95367ff8ad2ea5, b7f97cae7ec1b6c3c32843c42be218690d310467, bcdf3a3664f7d2c4e37e155f30f72ef33f041804, e1df6cff03aad8c96e55a8b2a991e505c7a3ff6f, f1e7807df5bf2d42a40266430e9f82f37633cdcf |
| linux-kernel: Kernel | >=5.11.0 <5.15.212, >=5.16.0 <6.1.178, >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97, >=4.19.0 <5.10.261 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 5.10.261 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket