netfilter: xt_rateest: fix u64 truncation in xt_rateest_mt()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1c0d32fde5bdf1184bc274f864c09799278a1114 · < e702f6dd5d21e331f55fd9168c0210542008546d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: xt_rateest: fix u64 truncation in xt_rateest_mt()
On links faster than ~34 Gbps, where byte rate may exceed 2^32-1 (~ 4.3 GBps), the comparison result becomes incorrect because the truncated value no longer reflects the actual estimator rate.
Fix by changing the local variables to u64.
From the CVE record · Linux
The Linux kernel's netfilter xt_rateest matcher truncates a rate value, causing incorrect comparisons when byte rates exceed about 4.3 GB/s on links faster than roughly 34 Gbps. The input does not describe an attacker action, authentication requirement, or user interaction.
Engineers running the Linux kernel with netfilter xt_rateest on high-speed links should check their installations; affected versions were not specified.