CVE-2026-64537
Beschrijving NL
In de Linux kernel is de volgende kwetsbaarheid verholpen:
bridge: cfm: ongeldig CCM-interval op configuratietijd afwijzen
ccm_tx_work_expired() bewapent zich opnieuw via queue_delayed_work() met
het geconfigureerde exp_interval geconverteerd door interval_to_us(). Wanneer
exp_interval is BR_CFM_CCM_INTERVAL_NONE of buiten bereik,
interval_to_us() geeft 0 terug, waardoor de werknemer onmiddellijk in
een strakke lus die skbs toewijst tot oom. Los dit op door EXP_interval tijdens de configuratie te valideren:
- Beperk IFLA_BRIDGE_CFM_CC_CONFIG_EXP_INTERVAL tot het geldige bereik
[BR_CFM_CCM_INTERVAL_3_3_MS, BR_CFM_CCM_INTERVAL_10_MIN] in de
netlink-beleid, zodat gebruikersruimte geen ongeldige waarde kan instellen. - Weiger het starten van CCM TX in br_cfm_cc_ccm_tx() wanneer exp_interval
nog niet geconfigureerd (standaard 0 van kzalloc).
Origineel (Engels) tonen
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).