CVE-2025-39894: netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in() after confirm

Published Oct 1, 2025
·
Updated

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

netfilter: brnetfilter: do not check confirmed bit in brnflocalin() after confirm

When send a broadcast packet to a tap device, which was added to a bridge, brnflocalin() is called to confirm the conntrack. If another conntrack with the same hash value is added to the hash table, which can be triggered by a normal packet to a non-bridge device, the below warning may happen.

------------[ cut here ]------------ WARNING: CPU: 1 PID: 96 at net/bridge/brnetfilterhooks.c:632 brnflocalin+0x168/0x200 CPU: 1 UID: 0 PID: 96 Comm: tapsend Not tainted 6.17.0-rc2-dirty #44 PREEMPT(voluntary) RIP: 0010:brnflocalin+0x168/0x200 Call Trace: <TASK> nfhookslow+0x3e/0xf0 brpassframeup+0x103/0x180 brhandleframefinish+0x2de/0x5b0 brnfhookthresh+0xc0/0x120 brnfpreroutingfinish+0x168/0x3a0 brnfprerouting+0x237/0x5e0 brhandleframe+0x1ec/0x3c0 netifreceiveskbcore+0x225/0x1210 netifreceiveskbonecore+0x37/0xa0 netifreceiveskb+0x36/0x160 tungetuser+0xa54/0x10c0 tunchrwriteiter+0x65/0xb0 vfswrite+0x305/0x410 ksyswrite+0x60/0xd0 dosyscall64+0xa4/0x260 entrySYSCALL64afterhwframe+0x77/0x7f </TASK> ---[ end trace 0000000000000000 ]---

To solve the hash conflict, nfctresolveclash() try to merge the conntracks, and update skb->nfct. However, brnflocalin() still use the old ct from local variable 'nfct' after confirm(), which leads to this warning.

If confirm() does not insert the conntrack entry and return NFDROP, the warning may also occur. There is no need to reserve the WARNONONCE, just remove it.

Affected Software

15 affected componentsFixes available
Linux Kernel
Linux Linux kernel>=5.15.151<5.15.192
Linux Linux kernel>=6.1.81<6.1.151
Linux Linux kernel>=6.6.21<6.6.105
Linux Linux kernel>=6.7.9<6.8
Linux Linux kernel>=6.8.1<6.12.46
Linux Linux kernel>=6.13<6.16.6
Linux Linux kernel=6.8
Linux Linux kernel=6.8-rc7
Linux Linux kernel=6.17-rc1
Linux Linux kernel=6.17-rc2
Linux Linux kernel=6.17-rc3
Linux Linux kernel=6.17-rc4
Debian Debian Linux=11.0
Microsoft cbl2 kernel 5.15.186.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel (netfilter/bridge br_netfilter_hooks.c) to a version that resolves this vulnerability.

    Fixed in 6.17.0-rc2-dirtyPatch netfilter: br_netfilter: do not check confirmed bit in br_nf_local_in() after confirm
  2. Operational

    Reboot/apply the kernel update that includes the fix for the netfilter/bridge warning (br_netfilter: do not check confirmed bit in br_nf_local_in() after confirm) to ensure the patched br_nf_local_in() logic is in effect.

Event History

Oct 1, 2025
CVE Published
via MITRE·07:42 AM
Data Sourced
via MITRE·07:42 AM
DescriptionSeverity
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityAffected Software
Jan 18, 2026
Data Sourced
via Microsoft·09:04 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:04 AM
Affected Software
Updated
via Microsoft·09:04 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-39894?

CVE-2025-39894 is classified as a moderate severity vulnerability in the Linux kernel.

2

How do I fix CVE-2025-39894?

To fix CVE-2025-39894, you should update the Linux kernel to the latest patched version provided by the vendor.

3

What systems are affected by CVE-2025-39894?

CVE-2025-39894 affects the Linux kernel, specifically when handling broadcast packets in bridge tap devices.

4

Is there any workaround for CVE-2025-39894?

Currently, there are no recommended workarounds for CVE-2025-39894, so updating the kernel is the best course of action.

5

What types of attacks could exploit CVE-2025-39894?

CVE-2025-39894 could potentially be exploited in scenarios involving crafted broadcast packets, impacting the network connectivity.

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