CVE-2025-38678
Last modified
CVE-2025-38678 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.20% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.8, < 6.6.117 | — |
| Linux | Linux Kernel | >= 6.7, < 6.12.59 | — |
| Linux | Linux Kernel | >= 6.13, < 6.16.2 | — |
| Linux | Linux Kernel | 6.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38678?
How severe is CVE-2025-38678?
How do I fix CVE-2025-38678?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38672In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38673In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38674In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38675In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38676In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38677In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38679In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-3868The Custom Admin-Bar Favorites plugin for WordPress is vulne…6.1
- CVE-2025-38680In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38681In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2025-38682In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38683In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-38678?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
