CVE-2025-38678
netfilter: nf_tables: reject duplicate device on updates
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 0521e694d5b80899fba8695881a6349f9bc538cb; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 3f358a66a04513311668ea4b40f5064e253d8386; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < d7615bde541f16517d6790412da6ec46fa8a4c1f; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973
- Anyone running Linux 5.8
Vulnerability facts
- Affected
- Linux >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 0521e694d5b80899fba8695881a6349f9bc538cb; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 3f358a66a04513311668ea4b40f5064e253d8386; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < d7615bde541f16517d6790412da6ec46fa8a4c1f; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973; Linux 5.8
- Fixed in
- Linux 0521e694d5b80899fba8695881a6349f9bc538cb, Linux 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd, Linux 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2, Linux 3f358a66a04513311668ea4b40f5064e253d8386
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.26% chance of exploitation in 30 days (percentile 11, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: reject duplicate device on updates A chain/flowtable update with duplicated devices in the same batch is possible. Unfortunately, netdev event path only removes the first device that is found, leaving unregistered the hook of the duplicated device. Check if a duplicated device exists in the transaction batch, bail out with EEXIST in such case. WARNING is hit when unregistering the hook: [49042.221275] WARNING: CPU: 4 PID: 8425 at net/netfilter/core.c:340 nf_hook_entry_head+0xaa/0x150 [49042.221375] CPU: 4 UID: 0 PID: 8425 Comm: nft Tainted: G S 6.16.0+ #170 PREEMPT(full) [...] [49042.221382] RIP: 0010:nf_hook_entry_head+0xaa/0x150
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 0521e694d5b80899fba8695881a6349f9bc538cb; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 3f358a66a04513311668ea4b40f5064e253d8386; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < d7615bde541f16517d6790412da6ec46fa8a4c1f; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973 | — | cvelist |
| Linux | 5.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38678. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38678.md Affected: Linux >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 0521e694d5b80899fba8695881a6349f9bc538cb; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2; >= 78d9f48f7f44431a25da2b4… Fixed in: Linux 0521e694d5b80899fba8695881a6349f9bc538cb, Linux 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd, Linux 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2, Linux 3f358a66a04513311668ea4b40f5064e253d8386 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.
References
Patches
FAQ
Is CVE-2025-38678 being exploited?
There is no confirmed exploitation: CVE-2025-38678 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38678?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38678?
Linux >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 0521e694d5b80899fba8695881a6349f9bc538cb; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < 3f358a66a04513311668ea4b40f5064e253d8386; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < d7615bde541f16517d6790412da6ec46fa8a4c1f; >= 78d9f48f7f44431a25da2b46b3a8812f6ff2b981, < cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973; Linux 5.8.
Is there a fix for CVE-2025-38678?
Yes. Fixed in Linux 0521e694d5b80899fba8695881a6349f9bc538cb, Linux 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd, Linux 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2, Linux 3f358a66a04513311668ea4b40f5064e253d8386. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38678?
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.