bridge: cfm: reject invalid CCM interval at configuration time
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.212, Kernel 6.1.178, Kernel 6.18.40 and 10 more.
In the Linux kernel, the following vulnerability has been resolved: bridge: cfm: reject invalid CCM interval at configuration time ccm_tx_work_expired() re-arms itself via queue_delayed_work() using the configured exp_interval converted by interval_to_us(). When exp_interval is BR_CFM_CCM_INTERVAL_NONE or out of range, interval_to_us() returns 0, causing the worker to fire immediately in a tight loop that allocates skbs until OOM. Fix this by validating exp_interval at configuration time: - Constrain IFLA_BRIDGE_CFM_CC_CONFIG_EXP_INTERVAL to the valid range [BR_CFM_CCM_INTERVAL_3_3_MS, BR_CFM_CCM_INTERVAL_10_MIN] in the netlink policy so userspace cannot set an invalid value. - Reject starting CCM TX in br_cfm_cc_ccm_tx() when exp_interval has not yet been configured (defaults to 0 from kzalloc).
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.212, >=5.16 <6.1.178, >=6.13 <6.18.40, >=6.19 <7.1.5, >=6.2 <6.6.145, >=6.7 <6.12.97, >=2be665c3940d367e0a2a8128eb4985ce323f99a3 <53788b134519e995699ea3721969c96a08d64575, >=2be665c3940d367e0a2a8128eb4985ce323f99a3 <865643640b5b5c4579b32d7a55ac9ad648362eaa, >=2be665c3940d367e0a2a8128eb4985ce323f99a3 <a090880c1f544589427e5b7050c40fb211ccecb4, >=2be665c3940d367e0a2a8128eb4985ce323f99a3 <b42aeb58317f12024734759ff745856b53948873, >=2be665c3940d367e0a2a8128eb4985ce323f99a3 <f0f5eb59a97ece0d85de8cfa95dc18c609302a8b, >=2be665c3940d367e0a2a8128eb4985ce323f99a3 <f3e02edd8322b31b8e6517faa6ba053bf29d1e26, =5.11, >=2be665c3940d367e0a2a8128eb4985ce323f99a3 <2870056a78961e0fecd652362ee9d3fcfd24a8a6 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97, 53788b134519e995699ea3721969c96a08d64575, 865643640b5b5c4579b32d7a55ac9ad648362eaa, a090880c1f544589427e5b7050c40fb211ccecb4, b42aeb58317f12024734759ff745856b53948873, f0f5eb59a97ece0d85de8cfa95dc18c609302a8b, f3e02edd8322b31b8e6517faa6ba053bf29d1e26, 2870056a78961e0fecd652362ee9d3fcfd24a8a6 |
| 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 | 5.15.212, 6.1.178, 6.18.40, 7.1.5, 6.6.145, 6.12.97 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket