--- zzzz-none-000/linux-3.10.107/net/decnet/dn_fib.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/net/decnet/dn_fib.c 2021-02-04 17:41:59.000000000 +0000 @@ -298,7 +298,8 @@ int type = nla_type(attr); if (type) { - if (type > RTAX_MAX || nla_len(attr) < 4) + if (type > RTAX_MAX || type == RTAX_CC_ALGO || + nla_len(attr) < 4) goto err_inval; fi->fib_metrics[type-1] = nla_get_u32(attr);