# CVE-2024-47678: icmp: change the order of rate limits

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.4
- **CVSS:** 9.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.81% (percentile 54, 2026-11-26)
- **CWE:** CWE-203
- **Published:** 2024-10-21T11:53:21.814Z
- **Modified:** 2026-08-05T11:39:24.010Z

## Who should check

- Anyone running Linux \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 997ba8889611891f91e8ad83583466aeab6239a3; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 662ec52260cc07b9ae53ecd3925183c29d34288b; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< a7722921adb046e3836eb84372241f32584bdb07; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 483397b4ba280813e4a9c161a0a85172ddb43d19; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 8c2bd38b95f75f3d2a08c93e35303e26d480d24e
- Anyone running Linux 3.18

## Description

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.

## Affected and fixed versions

- Linux: \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 997ba8889611891f91e8ad83583466aeab6239a3; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 662ec52260cc07b9ae53ecd3925183c29d34288b; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< a7722921adb046e3836eb84372241f32584bdb07; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 483397b4ba280813e4a9c161a0a85172ddb43d19; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 8c2bd38b95f75f3d2a08c93e35303e26d480d24e (cvelist)
- Linux: 3.18 (cvelist)

## Mitigation

- Upgrade Linux to 8c2bd38b95f75f3d2a08c93e35303e26d480d24e or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-47678. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-47678.md
Affected: Linux >= 4cdf507d54525842dfd9f6313fdafba039084046, < 997ba8889611891f91e8ad83583466aeab6239a3; >= 4cdf507d54525842dfd9f6313fdafba039084046, < 662ec52260cc07b9ae53ecd3925183c29d34288b; >= 4cdf507d54525842dfd9f6313fdafba039084046, < a7722921adb046e3836eb84372241f32584bdb07; >= 4cdf507d54525842dfd9f63…
Fixed in: Linux 997ba8889611891f91e8ad83583466aeab6239a3, Linux 662ec52260cc07b9ae53ecd3925183c29d34288b, Linux 483397b4ba280813e4a9c161a0a85172ddb43d19, Linux 8c2bd38b95f75f3d2a08c93e35303e26d480d24e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-47678 being exploited?

There is no confirmed exploitation: CVE-2024-47678 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.81% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-47678?

Critical: CVSS 9.4 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-47678?

Linux \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 997ba8889611891f91e8ad83583466aeab6239a3; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 662ec52260cc07b9ae53ecd3925183c29d34288b; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< a7722921adb046e3836eb84372241f32584bdb07; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 483397b4ba280813e4a9c161a0a85172ddb43d19; \>= 4cdf507d54525842dfd9f6313fdafba039084046, \< 8c2bd38b95f75f3d2a08c93e35303e26d480d24e; Linux 3.18.

### Is there a fix for CVE-2024-47678?

Yes. Fixed in Linux 997ba8889611891f91e8ad83583466aeab6239a3, Linux 662ec52260cc07b9ae53ecd3925183c29d34288b, Linux 483397b4ba280813e4a9c161a0a85172ddb43d19, Linux 8c2bd38b95f75f3d2a08c93e35303e26d480d24e. Upgrade Linux to 8c2bd38b95f75f3d2a08c93e35303e26d480d24e or later.

### How do I check if I'm affected by CVE-2024-47678?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/997ba8889611891f91e8ad83583466aeab6239a3>
- patch: <https://git.kernel.org/stable/c/662ec52260cc07b9ae53ecd3925183c29d34288b>
- patch: <https://git.kernel.org/stable/c/a7722921adb046e3836eb84372241f32584bdb07>
- patch: <https://git.kernel.org/stable/c/483397b4ba280813e4a9c161a0a85172ddb43d19>
- patch: <https://git.kernel.org/stable/c/8c2bd38b95f75f3d2a08c93e35303e26d480d24e>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-47678>

HTML: <https://flawdb.com/CVE-2024-47678> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-47678>
