In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix slab-out-of-bounds when handling team device events The… (CVE-2026-98807)
Description
A vulnerability in the Linux kernel's mlx5 driver related to handling team device events has been fixed. The issue involved out-of-bounds memory access triggered by calling bonding-specific APIs on team device structures, which are smaller and incompatible. This was detected by KASAN during event processing. The fix adds checks to ensure bonding-specific functions are only called for bonding devices, preventing invalid memory access. Testing confirmed no regressions and resolved KASAN errors.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-98807 concerns the mlx5 driver functions mlx5_handle_changeupper_event() and mlx5_handle_changeinfodata_event(). These functions handle Link Aggregation Group (LAG) events for both bonding and team devices but incorrectly call bonding-specific APIs on team device structures. Since team_port structures are smaller than bond_slave structures, this leads to slab out-of-bounds memory access detected by Kernel Address Sanitizer (KASAN). The patch introduces conditional checks to call bonding-specific APIs only when the device is a bonding device, preserving correct handling of team devices without causing memory errors. The fix was tested on Mellanox ConnectX-5 hardware with Linux kernel 7.2.0-rc6, showing no regressions and eliminating KASAN errors.
Potential Impact
The vulnerability causes out-of-bounds memory access in kernel space when processing team device events in the mlx5 driver. This could lead to kernel memory corruption or instability. However, no known exploits in the wild have been reported. The issue is specific to handling LAG events involving team devices and bonding devices in the mlx5 driver.
Mitigation Recommendations
A fix is available that adds proper checks to ensure bonding-specific APIs are only called for bonding devices, preventing out-of-bounds memory access. Users should update to a Linux kernel version that includes this patch. Since this is a kernel-level fix, applying the official kernel update is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-7rpx-hg5j-v22f
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98807"]
Threat ID: 6ad520aa2cdf04f6569938cb
Added to database: 10/18/2026, 19:40:26 UTC
Last enriched: 10/18/2026, 22:20:09 UTC
Last updated: 10/18/2026, 22:20:09 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.