FlawAtlas
Search the atlas
CVE-2025-38678 Not scored

netfilter: nf_tables: reject duplicate device on updates

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

Exploit probability 0.2%
Published September 3, 2025
Required by Not available
Last source change July 15, 2026

02 / AFFECTED SOFTWARE

Affected packages

Unknown Unknown
Linux Kernel

03 / CONNECTIONS

Connected vulnerabilities

related CGA-49HP-C8C6-M784
related OPENSUSE-SU-2025:20081-1
related SUSE-SU-2025:03600-1
related SUSE-SU-2025:03601-1
related SUSE-SU-2025:03602-1
related SUSE-SU-2025:03615-1
related SUSE-SU-2025:03628-1
related SUSE-SU-2025:03633-1
related SUSE-SU-2025:03634-1
related SUSE-SU-2025:03636-1
related SUSE-SU-2025:03638-1
related SUSE-SU-2025:03643-1
related SUSE-SU-2025:03646-1
related SUSE-SU-2025:03648-1
related SUSE-SU-2025:03650-1
related SUSE-SU-2025:20851-1
related SUSE-SU-2025:20861-1
related SUSE-SU-2025:20870-1
related SUSE-SU-2025:20873-1
related SUSE-SU-2025:20874-1
related SUSE-SU-2025:20875-1
related SUSE-SU-2025:20876-1
related SUSE-SU-2025:20877-1
related SUSE-SU-2025:20878-1
related SUSE-SU-2025:20879-1
related SUSE-SU-2025:20880-1
related SUSE-SU-2025:20881-1
related SUSE-SU-2025:20882-1
related SUSE-SU-2025:20883-1
related SUSE-SU-2025:20884-1
related SUSE-SU-2025:20885-1
related SUSE-SU-2025:20886-1
related SUSE-SU-2025:20887-1
related SUSE-SU-2025:20888-1
related SUSE-SU-2025:20889-1
related SUSE-SU-2025:20890-1
related SUSE-SU-2025:20891-1
related SUSE-SU-2025:20898-1
related SUSE-SU-2025:20902-1
related SUSE-SU-2025:20903-1
related SUSE-SU-2025:20904-1
related SUSE-SU-2025:20905-1
related SUSE-SU-2025:20906-1
related SUSE-SU-2025:20907-1
related SUSE-SU-2025:20908-1
related SUSE-SU-2025:20909-1
related SUSE-SU-2025:20912-1
related SUSE-SU-2025:20913-1
related SUSE-SU-2025:20914-1
related SUSE-SU-2025:20915-1
related SUSE-SU-2025:20916-1
related SUSE-SU-2025:20917-1
related SUSE-SU-2025:20918-1
related SUSE-SU-2025:20919-1
related SUSE-SU-2025:20920-1
related SUSE-SU-2025:20958-1
related SUSE-SU-2025:20979-1
related SUSE-SU-2025:21074-1
related SUSE-SU-2025:21139-1
related SUSE-SU-2025:21179-1
related SUSE-SU-2025:3675-1
related SUSE-SU-2025:3679-1
related SUSE-SU-2025:3704-1
related SUSE-SU-2025:3705-1
related SUSE-SU-2025:3712-1
related SUSE-SU-2025:3716-1
related SUSE-SU-2025:3717-1
related SUSE-SU-2025:3720-1
related SUSE-SU-2025:3721-1
related SUSE-SU-2025:3725-1
related SUSE-SU-2025:3731-1
related SUSE-SU-2025:3733-1
related SUSE-SU-2025:3734-1
related SUSE-SU-2025:3736-1
related SUSE-SU-2025:3740-1
related SUSE-SU-2025:3741-1
related SUSE-SU-2025:3742-1
related SUSE-SU-2025:3748-1
related SUSE-SU-2025:3751-1
related SUSE-SU-2025:3755-1
related SUSE-SU-2025:3761-1
related SUSE-SU-2025:3762-1
related SUSE-SU-2025:3764-1
related SUSE-SU-2025:3765-1
related SUSE-SU-2025:3768-1
related SUSE-SU-2025:3769-1
related SUSE-SU-2025:3770-1
related SUSE-SU-2025:3771-1
related SUSE-SU-2025:3772-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2025-38678

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

View original source

05 / REFERENCES

Further evidence