# CVE-2024-56751: ipv6: release nexthop on device removal

> 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, NVD) `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-29T11:30:16.805Z
- **Modified:** 2026-11-05T21:17:37.913Z

## Who should check

- Anyone running Linux \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 77aa9855a878fb43f547ddfbda3127a1e88ad31a; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< b2f26a27ea3f72f75d18330f76f5d1007c791848; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 43e25adc80269f917d2a195f0d59f74cdd182955; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< a3c3f8a4d025acc8c857246ec2b812c59102487a; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 0e4c6faaef8a24b762a24ffb767280e263ef8e10; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< eb02688c5c45c3e7af7e71f036a7144f5639cbfe
- Anyone running Linux 5.3

## Description

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

ipv6: release nexthop on device removal

The CI is hitting some aperiodic hangup at device removal time in the
pmtu.sh self-test:

unregister\_netdevice: waiting for veth\_A-R1 to become free. Usage count = 6
ref\_tracker: veth\_A-R1@ffff888013df15d8 has 1/5 users at
	dst\_init+0x84/0x4a0
	dst\_alloc+0x97/0x150
	ip6\_dst\_alloc+0x23/0x90
	ip6\_rt\_pcpu\_alloc+0x1e6/0x520
	ip6\_pol\_route+0x56f/0x840
	fib6\_rule\_lookup+0x334/0x630
	ip6\_route\_output\_flags+0x259/0x480
	ip6\_dst\_lookup\_tail.constprop.0+0x5c2/0x940
	ip6\_dst\_lookup\_flow+0x88/0x190
	udp\_tunnel6\_dst\_lookup+0x2a7/0x4c0
	vxlan\_xmit\_one+0xbde/0x4a50 \[vxlan\]
	vxlan\_xmit+0x9ad/0xf20 \[vxlan\]
	dev\_hard\_start\_xmit+0x10e/0x360
	\_\_dev\_queue\_xmit+0xf95/0x18c0
	arp\_solicit+0x4a2/0xe00
	neigh\_probe+0xaa/0xf0

While the first suspect is the dst\_cache, explicitly tracking the dst
owing the last device reference via probes proved such dst is held by
the nexthop in the originating fib6\_info.

Similar to commit f5b51fe804ec ("ipv6: route: purge exception on
removal"), we need to explicitly release the originating fib info when
disconnecting a to-be-removed device from a live ipv6 dst: move the
fib6\_info cleanup into ip6\_dst\_ifdown().

Tested running:

./pmtu.sh cleanup\_ipv6\_exception

in a tight loop for more than 400 iterations with no spat, running an
unpatched kernel  I observed a splat every ~10 iterations.

## Affected and fixed versions

- Linux: \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 77aa9855a878fb43f547ddfbda3127a1e88ad31a; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< b2f26a27ea3f72f75d18330f76f5d1007c791848; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 43e25adc80269f917d2a195f0d59f74cdd182955; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< a3c3f8a4d025acc8c857246ec2b812c59102487a; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 0e4c6faaef8a24b762a24ffb767280e263ef8e10; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< eb02688c5c45c3e7af7e71f036a7144f5639cbfe (cvelist)
- Linux: 5.3 (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-56751. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56751.md
Affected: Linux >= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, < 77aa9855a878fb43f547ddfbda3127a1e88ad31a; >= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, < b2f26a27ea3f72f75d18330f76f5d1007c791848; >= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, < 43e25adc80269f917d2a195f0d59f74cdd182955; >= f88d8ea67fbdbac7a64bfa6…
Fixed in: Linux 77aa9855a878fb43f547ddfbda3127a1e88ad31a, Linux 43e25adc80269f917d2a195f0d59f74cdd182955, Linux 0e4c6faaef8a24b762a24ffb767280e263ef8e10

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

There is no confirmed exploitation: CVE-2024-56751 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-56751?

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

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

Linux \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 77aa9855a878fb43f547ddfbda3127a1e88ad31a; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< b2f26a27ea3f72f75d18330f76f5d1007c791848; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 43e25adc80269f917d2a195f0d59f74cdd182955; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< a3c3f8a4d025acc8c857246ec2b812c59102487a; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< 0e4c6faaef8a24b762a24ffb767280e263ef8e10; \>= f88d8ea67fbdbac7a64bfa6ed9a2ba27bb822f74, \< eb02688c5c45c3e7af7e71f036a7144f5639cbfe; Linux 5.3.

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

Yes. Fixed in Linux 77aa9855a878fb43f547ddfbda3127a1e88ad31a, Linux 43e25adc80269f917d2a195f0d59f74cdd182955, Linux 0e4c6faaef8a24b762a24ffb767280e263ef8e10. No fix listed yet: follow the vendor advisory.

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

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/b2f26a27ea3f72f75d18330f76f5d1007c791848>
- patch: <https://git.kernel.org/stable/c/43e25adc80269f917d2a195f0d59f74cdd182955>
- patch: <https://git.kernel.org/stable/c/a3c3f8a4d025acc8c857246ec2b812c59102487a>
- patch: <https://git.kernel.org/stable/c/0e4c6faaef8a24b762a24ffb767280e263ef8e10>
- patch: <https://git.kernel.org/stable/c/eb02688c5c45c3e7af7e71f036a7144f5639cbfe>
- other: <https://git.kernel.org/stable/c/77aa9855a878fb43f547ddfbda3127a1e88ad31a>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/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-56751>

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