CVE-2025-38678: netfilter: nf_tables: reject duplicate device on updates

Published Sep 3, 2025
·
Updated

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

netfilter: nftables: 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 nfhookentryhead+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:nfhookentryhead+0xaa/0x150

Affected Software

10 affected componentsFixes available
Linux Kernel>=6.16.0
Microsoft azl3 kernel 6.6.96.2-1
Microsoft azl3 kernel 6.6.96.2-2
Microsoft azl3 kernel 6.6.104.2-4
Microsoft cbl2 kernel 5.15.186.1-1
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
Microsoft azl3 kernel 6.6.112.1-2<6.6.117.1-1
6.6.117.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.117.1-1
  2. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 6.16.0+ #170 PREEMPT(full)Patch netfilter: nf_tables: reject duplicate device on updates
  3. Configuration

    Before applying a chain/flowtable update, check whether a duplicated device exists in the transaction batch; if so, bail out to avoid the WARNING caused by unregistering the hook when only the first duplicated device is removed.

    netdev event path / netfilter (nf_tables) Duplicate device handling during transaction batch updates = abort update when duplicated device exists in the transaction batch (bail out)

Event History

Sep 3, 2025
CVE Published
via MITRE·01:01 PM
Data Sourced
via MITRE·01:01 PM
DescriptionSeverity
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·01:02 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·01:02 AM
Affected Software
Updated
via Microsoft·01:02 AM
SeverityAffected Software
Updated
via Microsoft·08:02 AM
SeverityAffected Software
Updated
via Microsoft·08:02 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-38678?

CVE-2025-38678 has been classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-38678?

To fix CVE-2025-38678, update your Linux kernel to the latest version recommended by your distribution.

3

What are the potential impacts of CVE-2025-38678?

The potential impacts of CVE-2025-38678 include network instability and the possibility of incorrect device management during updates.

4

Which Linux kernel versions are affected by CVE-2025-38678?

CVE-2025-38678 affects Linux kernel versions starting from 6.16.0 and onwards.

5

Is CVE-2025-38678 actively being exploited in the wild?

As of now, there are no confirmed reports of CVE-2025-38678 being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203