CVE-2026-98807
En el kernel de Linux se ha resuelto la siguiente vulnerabilidad:
net/mlx5: Corregir slab-out-of-bounds al gestionar eventos de dispositivos team
Las funciones mlx5_handle_changeupper_event() y mlx5_handle_changeinfodata_event() comprueban si existen LAG master (lo que incluye tanto dispositivos de bonding como de team), pero solo llaman a APIs específicas de bonding. Al procesar eventos de dispositivos team, llamar a bond_slave_get_rcu() y bond_is_slave_inactive() sobre estructuras team_port provoca que KASAN detecte un acceso a memoria fuera de límites, ya que team_port es más pequeña que bond slave.
Leer descripción completaMostrar menos
Para corregirlo, se envuelven las llamadas a APIs específicas de bonding con una comprobación de que el dispositivo es de bonding. Así, la función sigue procesando eventos LAG tanto para bonding como para team, pero solo llama a funciones específicas de bonding cuando se trata de dispositivos bonding reales.
En mlx5_handle_changeinfodata_event(), se mantiene la comprobación explícita de bond, ya que mlx5 no gestiona de todos modos la información de estado de los puertos team.
Pruebas realizadas con Mellanox ConnectX-5 en Linux 7.2.0-rc6: - Bonding: SUPERADO (sin regresiones) - Dispositivo team: SUPERADO (sin errores de KASAN)
Traducción automática del texto original de NVD (en inglés).
CVSS
NVD no ha asignado puntuación CVSS a esta CVE (habitual desde el cambio de política de abril de 2026).
Probabilidad de explotación (EPSS)
- Probabilidad de explotación en los próximos 30 días
- 0.18 %
- Percentil entre todas las CVEs puntuadas
- 7
- Fecha de la puntuación
- 20/10/2026
EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).
Tecnologías afectadas (1)
⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.
Referencias
Mostrar las 4 referencias
JSON original (NVD)
Mostrar
{
"id": "CVE-2026-98807",
"cveTags": [],
"metrics": {},
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "54493a08e21f46446b3b24577c5a6f229d049757",
"lessThan": "16ca0e79f31ea810346a79dda545ba344ede1d47",
"versionType": "git"
},
{
"status": "affected",
"version": "54493a08e21f46446b3b24577c5a6f229d049757",
"lessThan": "3a6e67ff267af2053a793825c3b7844741fed461",
"versionType": "git"
},
{
"status": "affected",
"version": "54493a08e21f46446b3b24577c5a6f229d049757",
"lessThan": "8117cbc504cb01980258d8a8c9be8f57cf0aaceb",
"versionType": "git"
},
{
"status": "affected",
"version": "54493a08e21f46446b3b24577c5a6f229d049757",
"lessThan": "04c824940d52871c49866a4ac67b504146f7cf35",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.18"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.18",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c"
],
"defaultStatus": "affected"
}
]
}
],
"published": "2026-10-18T16:17:34.787",
"references": [
{
"url": "https://git.kernel.org/stable/c/04c824940d52871c49866a4ac67b504146f7cf35",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/16ca0e79f31ea810346a79dda545ba344ede1d47",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/3a6e67ff267af2053a793825c3b7844741fed461",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8117cbc504cb01980258d8a8c9be8f57cf0aaceb",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"vulnStatus": "Received",
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/mlx5: Fix slab-out-of-bounds when handling team device events\n\nThe mlx5_handle_changeupper_event() and mlx5_handle_changeinfodata_event()\nfunctions check for LAG masters (which includes both bonding and team\ndevices) but only call bonding-specific APIs. When processing team device\nevents, calling bond_slave_get_rcu() and bond_is_slave_inactive() on\nteam_port structures causes KASAN to detect an out-of-bounds memory access\nsince team_port is smaller than bond slave.\n\nFix this by wrapping the bond-specific API calls with a check for bonding\ndevices. This allows the function to still process LAG events for both\nbonding and teams but only calls bond-specific functions when dealing with\nactual bonding devices.\n\nFor mlx5_handle_changeinfodata_event(), keep the explicit bond check as\nmlx5 doesn't handle state information for team ports anyway.\n\nTested with Mellanox ConnectX-5 on Linux 7.2.0-rc6:\n- Bonding: PASS (no regressions)\n- Team device: PASS (no KASAN errors)"
}
],
"lastModified": "2026-10-19T10:19:44.747",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}