# CVE-2024-56647: net: Fix icmp host relookup triggering ip\_rt\_bug

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2024-12-27T15:02:47.969Z
- **Modified:** 2026-10-15T02:17:08.380Z

## Who should check

- Anyone running Linux \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< d50981aaaefc3b04490fbc8274d37881a2b1b112; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< da54b3039d436227deebbc202cefea63bd318a38; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< 9545011e7b2a8fc0cbd6e387a09f12cd41d7d82f; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< c44daa7e3c73229f7ac74985acb8c7fb909c4e0a
- Anyone running Linux 2.6.25

## Description

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

net: Fix icmp host relookup triggering ip\_rt\_bug

arp link failure may trigger ip\_rt\_bug while xfrm enabled, call trace is:

WARNING: CPU: 0 PID: 0 at net/ipv4/route.c:1241 ip\_rt\_bug+0x14/0x20
Modules linked in:
CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.12.0-rc6-00077-g2e1b3cc9d7f7
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014
RIP: 0010:ip\_rt\_bug+0x14/0x20
Call Trace:
 \<IRQ\>
 ip\_send\_skb+0x14/0x40
 \_\_icmp\_send+0x42d/0x6a0
 ipv4\_link\_failure+0xe2/0x1d0
 arp\_error\_report+0x3c/0x50
 neigh\_invalidate+0x8d/0x100
 neigh\_timer\_handler+0x2e1/0x330
 call\_timer\_fn+0x21/0x120
 \_\_run\_timer\_base.part.0+0x1c9/0x270
 run\_timer\_softirq+0x4c/0x80
 handle\_softirqs+0xac/0x280
 irq\_exit\_rcu+0x62/0x80
 sysvec\_apic\_timer\_interrupt+0x77/0x90

The script below reproduces this scenario:
ip xfrm policy add src 0.0.0.0/0 dst 0.0.0.0/0 \\
	dir out priority 0 ptype main flag localok icmp
ip l a veth1 type veth
ip a a 192.168.141.111/24 dev veth0
ip l s veth0 up
ping 192.168.141.155 -c 1

icmp\_route\_lookup() create input routes for locally generated packets
while xfrm relookup ICMP traffic.Then it will set input route
(dst-\>out = ip\_rt\_bug) to skb for DESTUNREACH.

For ICMP err triggered by locally generated packets, dst-\>dev of output
route is loopback. Generally, xfrm relookup verification is not required
on loopback interfaces (net.ipv4.conf.lo.disable\_xfrm = 1).

Skip icmp relookup for locally generated packets to fix it.

## Affected and fixed versions

- Linux: \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< d50981aaaefc3b04490fbc8274d37881a2b1b112; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< da54b3039d436227deebbc202cefea63bd318a38; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< 9545011e7b2a8fc0cbd6e387a09f12cd41d7d82f; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< c44daa7e3c73229f7ac74985acb8c7fb909c4e0a (cvelist)
- Linux: 2.6.25 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-56647.md
Affected: Linux >= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, < d50981aaaefc3b04490fbc8274d37881a2b1b112; >= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, < da54b3039d436227deebbc202cefea63bd318a38; >= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, < 9545011e7b2a8fc0cbd6e387a09f12cd41d7d82f; >= 8b7817f3a959ed99d7443af…
Fixed in: Linux 9545011e7b2a8fc0cbd6e387a09f12cd41d7d82f

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-56647 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< d50981aaaefc3b04490fbc8274d37881a2b1b112; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< da54b3039d436227deebbc202cefea63bd318a38; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< 9545011e7b2a8fc0cbd6e387a09f12cd41d7d82f; \>= 8b7817f3a959ed99d7443afc12f78a7e1fcc2063, \< c44daa7e3c73229f7ac74985acb8c7fb909c4e0a; Linux 2.6.25.

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

Yes. Fixed in Linux 9545011e7b2a8fc0cbd6e387a09f12cd41d7d82f. No fix listed yet: follow the vendor advisory.

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

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/9545011e7b2a8fc0cbd6e387a09f12cd41d7d82f>
- patch: <https://git.kernel.org/stable/c/c44daa7e3c73229f7ac74985acb8c7fb909c4e0a>
- other: <https://git.kernel.org/stable/c/d50981aaaefc3b04490fbc8274d37881a2b1b112>
- other: <https://git.kernel.org/stable/c/da54b3039d436227deebbc202cefea63bd318a38>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-784472.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-56647>

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