CVE-2024-47678CWE-203

CVE-2024-47678

Critical · published October 21, 2024

CVSS v3.1
9.4
EPSS
1%
Percentile
48.4
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

icmp: change the order of rate limits

ICMP messages are ratelimited :

After the blamed commits, the two rate limiters are applied in this order:

1) host wide ratelimit (icmp_global_allow())

2) Per destination ratelimit (inetpeer based)

In order to avoid side-channels attacks, we need to apply

the per destination check first.

This patch makes the following change :

1) icmp_global_allow() checks if the host wide limit is reached.

But credits are not yet consumed. This is deferred to 3)

2) The per destination limit is checked/updated.

This might add a new node in inetpeer tree.

3) icmp_global_consume() consumes tokens if prior operations succeeded.

This means that host wide ratelimit is still effective

in keeping inetpeer tree small even under DDOS.

As a bonus, I removed icmp_global.lock as the fast path

can use a lock-free operation.

The record
Technical detail
CVSS v3.1
9.4 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00608 · 48.4th percentile
Weakness
CWE-203 · Observable Discrepancy
Published
2024-10-21T16:15Z
Affected products (4)
ProductVersionsFixed in
linux/linux_kernel≥ 3.18, < 6.1.1136.1.113
linux/linux_kernel≥ 6.2, < 6.6.546.6.54
linux/linux_kernel≥ 6.7, < 6.10.136.10.13
linux/linux_kernel≥ 6.11, < 6.11.26.11.2
References (6)
EPSS history
Timeline
  • 21 OCT 11:53Z
    icmp: change the order of rate limits
    cvelistv5