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)
Published: 2026-10-18
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Local kernel memory corruption
Action: Apply patch
AI Analysis

Impact

The mlx5 network driver contains a flaw (CWE‑125) where event handlers for team devices incorrectly invoke bonding‑specific APIs on structures that are smaller than expected, causing an out‑of‑bounds read that corrupts kernel memory. KASAN flags this error. If an attacker can trigger such an event, the kernel memory corruption could be exploited to overwrite privileged data or execute arbitrary code, potentially leading to privilege escalation or system compromise. The possibility of gaining elevated privileges is inferred from the nature of the memory corruption, though it is not explicitly confirmed in the advisory.

Affected Systems

Linux kernels that ship the unpatched mlx5 driver are affected. The flaw exists in the kernel code handling team and bonding devices, and the fix is incorporated in later kernel branches referenced by the advisory commits. Systems using Mellanox ConnectX devices, such as the ConnectX‑5, or any other hardware that utilizes the same driver path, will be vulnerable until the patch is applied.

Risk and Exploitability

The CVSS score of 4.4 indicates moderate severity, and the EPSS score of < 1% shows a very low probability of current exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is local; an adversary would need to trigger team device events through privileged or administrative actions on the host. Inferred: the kernel memory corruption could provide privilege escalation, but no public exploit is known at this time.

Generated by OpenCVE AI on October 24, 2026 at 06:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit fixing the mlx5 driver (e.g., the commit referenced in advisory commits).
  • Reboot the system into the updated kernel.
  • If a kernel upgrade cannot be performed immediately, temporarily remove or disable all team network interfaces to prevent the vulnerable event handlers from being invoked.
  • Consider enabling kernel hardening options such as CONFIG_SLAB_FREELIST_RANDOM and restrict the creation of team interfaces via SELinux or AppArmor.

Generated by OpenCVE AI on October 24, 2026 at 06:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Sat, 24 Oct 2026 03:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Sat, 24 Oct 2026 00:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 21:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122

Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
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)
Title net/mlx5: Fix slab-out-of-bounds when handling team device events
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:26:00.670Z

Reserved: 2026-09-25T10:25:14.371Z

Link: CVE-2026-98807

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:34.787

Modified: 2026-10-19T10:19:44.747

Link: CVE-2026-98807

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T00:00:00Z

Links: CVE-2026-98807 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T06:30:09Z

Weaknesses