{"id":"CVE-2024-47678","published":"2024-10-21T11:53:21Z","modified":"2026-08-05T11:39:24Z","title":"icmp: change the order of rate limits","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nicmp: change the order of rate limits\n\nICMP messages are ratelimited :\n\nAfter the blamed commits, the two rate limiters are applied in this order:\n\n1) host wide ratelimit (icmp_global_allow())\n\n2) Per destination ratelimit (inetpeer based)\n\nIn order to avoid side-channels attacks, we need to apply\nthe per destination check first.\n\nThis patch makes the following change :\n\n1) icmp_global_allow() checks if the host wide limit is reached.\n   But credits are not yet consumed. This is deferred to 3)\n\n2) The per destination limit is checked/updated.\n   This might add a new node in inetpeer tree.\n\n3) icmp_global_consume() consumes tokens if prior operations succeeded.\n\nThis means that host wide ratelimit is still effective\nin keeping inetpeer tree small even under DDOS.\n\nAs a bonus, I removed icmp_global.lock as the fast path\ncan use a lock-free operation.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.4,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00807,"percentile":0.5366,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/997ba8889611891f91e8ad83583466aeab6239a3","tags":[]},{"url":"https://git.kernel.org/stable/c/662ec52260cc07b9ae53ecd3925183c29d34288b","tags":[]},{"url":"https://git.kernel.org/stable/c/a7722921adb046e3836eb84372241f32584bdb07","tags":[]},{"url":"https://git.kernel.org/stable/c/483397b4ba280813e4a9c161a0a85172ddb43d19","tags":[]},{"url":"https://git.kernel.org/stable/c/8c2bd38b95f75f3d2a08c93e35303e26d480d24e","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":10.73},{"name":"CVSS severity","points":6.58}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4cdf507d54525842dfd9f6313fdafba039084046, < 997ba8889611891f91e8ad83583466aeab6239a3",">= 4cdf507d54525842dfd9f6313fdafba039084046, < 662ec52260cc07b9ae53ecd3925183c29d34288b",">= 4cdf507d54525842dfd9f6313fdafba039084046, < a7722921adb046e3836eb84372241f32584bdb07",">= 4cdf507d54525842dfd9f6313fdafba039084046, < 483397b4ba280813e4a9c161a0a85172ddb43d19",">= 4cdf507d54525842dfd9f6313fdafba039084046, < 8c2bd38b95f75f3d2a08c93e35303e26d480d24e"]},{"vendor":"Linux","product":"Linux","versions":["3.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-10-21T13:07:41.965400Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-42599","exploited":false,"provenance":"source"}}