CVE-2026-98807

net/mlx5: Fix slab-out-of-bounds when handling team device events

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix slab-out-of-bounds when handling team device events The mlx5_handle_changeupper_event() and mlx5_handle_changeinfodata_event() functions check for LAG masters (which includes both bonding and team devices) but only call bonding-specific APIs. When processing team device events, calling bond_slave_get_rcu() and bond_is_slave_inactive() on team_port structures causes KASAN to detect an out-of-bounds memory access since team_port is smaller than bond slave. Fix this by wrapping the bond-specific API calls with a check for bonding devices. This allows the function to still process LAG events for both bonding and teams but only calls bond-specific functions when dealing with actual bonding devices. For mlx5_handle_changeinfodata_event(), keep the explicit bond check as mlx5 doesn't handle state information for team ports anyway. Tested with Mellanox ConnectX-5 on Linux 7.2.0-rc6: - Bonding: PASS (no regressions) - Team device: PASS (no KASAN errors)

Key facts

Published
18 Oct 2026
Last changed
19 Oct 2026
Assigned by
Linux
EPSS
0.175% likely to be exploited in the next 30 days, higher than 7.101% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 54493a08e21f46446b3b24577c5a6f229d049757 up to but excluding 16ca0e79f31ea810346a79dda545ba344ede1d47 (affected)
  • 54493a08e21f46446b3b24577c5a6f229d049757 up to but excluding 3a6e67ff267af2053a793825c3b7844741fed461 (affected)
  • 54493a08e21f46446b3b24577c5a6f229d049757 up to but excluding 8117cbc504cb01980258d8a8c9be8f57cf0aaceb (affected)
  • 54493a08e21f46446b3b24577c5a6f229d049757 up to but excluding 04c824940d52871c49866a4ac67b504146f7cf35 (affected)
LinuxLinux
  • Default status: affected
  • 5.18 (affected)
  • 0 up to but excluding 5.18 (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References