Vulnerability · Published Sep 3, 2025 · Assigned by Linux
CVE-2025-38678netfilter: nf_tables: reject duplicate device on updates
High 7.8
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.159-1 | DEBIAN-CVE-2025-38678 |
| Debian:13 | linux | 6.12.63-1 | DEBIAN-CVE-2025-38678 |
| Debian:14 | linux | 6.16.3-1 | DEBIAN-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux | 5.15.0-163.173 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux | 6.8.0-88.89 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux | 6.8.0-88.89 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1097.104 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1043.45 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-aws | 6.8.0-1043.45 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-aws-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1043.45~22.04.1 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-aws-6.8 | 6.8.0-1043.45~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1101.110 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1044.50 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure | 6.8.0-1044.50 | USN-7935-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure-6.11 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1044.50~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure-6.8 | 6.8.0-1044.50~22.04.1 | USN-7935-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1102.111.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure-fde | 6.8.0-1046.53 | UBUNTU-CVE-2025-38678 |
| Ubuntu:25.10 | linux-azure-fde | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure-fde-6.14 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.8 | 6.8.0-1046.53~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure-nvidia | 6.8.0-1029.32 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-azure-nvidia-6.14 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1097.106 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1044.47 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gcp | 6.8.0-1044.47 | USN-7889-4 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gcp-6.11 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gcp-6.14 | 6.14.0-1020.21~24.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1044.47~22.04.1 | USN-7889-4 |
| Ubuntu:22.04:LTS | linux-gcp-6.8 | 6.8.0-1044.47~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1093.99 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1040.45 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gke | 6.8.0-1040.45 | USN-7889-4 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1080.88 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1027.30 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-gkeop | 6.8.0-1027.30 | USN-7889-4 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-88.89~22.04.2 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-hwe-6.8 | 6.8.0-88.89~22.04.2 | USN-7889-6 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1091.94 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1041.41 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-ibm | 6.8.0-1041.41 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1041.41~22.04.1 | USN-7889-5 |
| Ubuntu:22.04:LTS | linux-ibm-6.8 | 6.8.0-1041.41~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-intel | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1092.98 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1089.94 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-163.173 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-88.89.1 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-lowlatency | 6.8.0-88.89.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-lowlatency-hwe-6.11 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-88.89.1~22.04.1 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.8 | 6.8.0-88.89.1~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1092.93 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1043.46 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-nvidia | 6.8.0-1043.46 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-nvidia-6.11 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1043.46~22.04.1 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.8 | 6.8.0-1043.46~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1043.46.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-nvidia-lowlatency | 6.8.0-1043.46.1 | USN-7889-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1049.49 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-nvidia-tegra | 6.8.0-1013.13 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1038.38 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-oem-6.11 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-oem-6.14 | 6.14.0-1016.16 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-oem-6.8 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1094.100 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1040.41 | USN-7889-1 |
| Ubuntu:24.04:LTS | linux-oracle | 6.8.0-1040.41 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-oracle-6.14 | 6.14.0-1017.17~24.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1040.41~22.04.1 | USN-7889-6 |
| Ubuntu:22.04:LTS | linux-oracle-6.8 | 6.8.0-1040.41~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1091.94 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1043.47 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-raspi | 6.8.0-1043.47 | USN-7889-7 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-riscv-6.14 | 6.14.0-36.36.1~24.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-riscv-6.8 | 6.8.0-88.89~22.04.1 | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1020.21 | UBUNTU-CVE-2025-38678 |
| Ubuntu:24.04:LTS | linux-xilinx | 6.8.0-1020.21 | USN-7889-7 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1061.65 | UBUNTU-CVE-2025-38678 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 78d9f48f7f44431a25da2b46b3a8812f6ff2b981 – before 0521e694d5b80899fba8695881a6349f9bc538cb78d9f48f7f44431a25da2b46b3a8812f6ff2b981 – before 4681960bc0f4f8bcc782cbf2fd205f48ad314dfd78d9f48f7f44431a25da2b46b3a8812f6ff2b981 – before 4ce2a0c3b8497a66cfc25fc7ca3d087258a785d278d9f48f7f44431a25da2b46b3a8812f6ff2b981 – before 3f358a66a04513311668ea4b40f5064e253d838678d9f48f7f44431a25da2b46b3a8812f6ff2b981 – before cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c78d9f48f7f44431a25da2b46b3a8812f6ff2b981 – before d7615bde541f16517d6790412da6ec46fa8a4c1f78d9f48f7f44431a25da2b46b3a8812f6ff2b981 – before cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973 |
| Linux | Linux | 5.8 |
References
- https://git.kernel.org/stable/c/0521e694d5b80899fba8695881a6349f9bc538cb
- https://git.kernel.org/stable/c/4681960bc0f4f8bcc782cbf2fd205f48ad314dfd
- https://git.kernel.org/stable/c/4ce2a0c3b8497a66cfc25fc7ca3d087258a785d2
- https://git.kernel.org/stable/c/3f358a66a04513311668ea4b40f5064e253d8386
- https://git.kernel.org/stable/c/cf23d531a9d496863aa4c5a0e2f71f0a23f3df3c
- https://git.kernel.org/stable/c/d7615bde541f16517d6790412da6ec46fa8a4c1f
- https://git.kernel.org/stable/c/cf5fb87fcdaaaafec55dcc0dc5a9e15ead343973