CVE-2026-64190: net: team: fix NULL pointer dereference in team_xmit during mode change

Published Jul 20, 2026
·
Updated

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

net: team: fix NULL pointer dereference in teamxmit during mode change

teamchangemode() clears team->ops with memset() before restoring safe dummy handlers via teamadjustops(). A concurrent teamxmit() running under RCU on another CPU can read team->ops.transmit during this window and call a NULL function pointer, crashing the kernel.

The race requires a mode change (CAPNETADMIN) concurrent with transmit on the team device.

BUG: kernel NULL pointer dereference, address: 0000000000000000 Oops: 0010 [#1] SMP KASAN NOPTI RIP: 0010:0x0 Call Trace: teamxmit (drivers/net/team/teamcore.c:1853) devhardstartxmit (net/core/dev.c:3904) devqueuexmit (net/core/dev.c:4871) packetsendmsg (net/packet/afpacket.c:3109) syssendto (net/socket.c:2265)

The original code assumed that no ports means no traffic, so mode changes could freely memset()/memcpy() the ops. AFPACKET with forced carrier breaks that assumption.

Prevent the race instead of making it safe: replace memset()/memcpy() with per-field updates that never touch transmit or receive. Those two handlers are managed solely by teamadjustops(), which already installs dummies when txenportcount == 0 (always true during mode change since no ports are present). WRITEONCE/READONCE prevent store/load tearing on the handler pointers.

synchronizenet() before exitop() drains in-flight readers that may still reference old mode state from before port removal switched the handlers to dummies.

Affected Software

8 affected components
Linux Kernel
Linux Linux kernel>=3.3<6.18.35
Linux Linux kernel>=6.19<7.1
Linux Linux kernel=7.1-rc1
Linux Linux kernel=7.1-rc2
Linux Linux kernel=7.1-rc3
Linux Linux kernel=7.1-rc4
Linux Linux kernel=7.1-rc5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Reduce the risk of concurrent team mode changes with AF_PACKET transmission by preventing CAP_NET_ADMIN from changing Linux team mode while traffic is being sent/handled (e.g., restrict timing/automation or temporarily block team mode changes during high AF_PACKET activity).

Event History

Jul 20, 2026
CVE Published
via MITRE·04:27 PM
Data Sourced
via MITRE·04:27 PM
Description
Data Sourced
via NVD·05:18 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-64190?

CVE-2026-64190 has a risk rating of 37, indicating a potentially critical vulnerability.

2

How do I fix CVE-2026-64190?

To mitigate CVE-2026-64190, ensure you update to the patched version of the Linux Kernel that addresses this NULL pointer dereference issue.

3

What kind of vulnerability is CVE-2026-64190?

CVE-2026-64190 is classified as a Null Pointer Dereference vulnerability in the Linux Kernel.

4

What does CVE-2026-64190 affect?

CVE-2026-64190 affects the networking component of the Linux Kernel specifically related to team mode changes.

5

When was CVE-2026-64190 published?

CVE-2026-64190 was published on July 20, 2026.

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