netfilter: nft_limit: reject configurations that cause integer overflow
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nft_limit: reject configurations that cause integer overflow
Reject bogus configs where internal token counter wraps around. This only occurs with very very large requests, such as 17gbyte/s.
Its better to reject this rather than having incorrect ratelimit.
From the CVE record · Linux
The Linux kernel’s netfilter nft_limit can overflow its internal token counter when configured for extremely large rates, such as 17 GB/s. This can produce incorrect rate limiting; the input does not establish an attacker access requirement or user-interaction condition.
Engineers running Linux kernels that use netfilter nft_limit should check whether their configurations specify extremely large rates; affected versions are not provided.