CVE-2026-23441

net/mlx5e: Prevent concurrent access to IPSec ASO context

MEDIUM 4.7

En bref

Source
NVD
EPSS
EPSS 0.09 % · centile 0 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Prevent concurrent access to IPSec ASO context The query or updating IPSec offload object is through Access ASO WQE. The driver uses a single mlx5e_ipsec_aso struct for each PF, which contains a shared DMA-mapped context for all ASO operations. A race condition exists because the ASO spinlock is released before the hardware has finished processing WQE. If a second operation is initiated immediately after, it overwrites the shared context in the DMA area. When the first operation's completion is processed later, it reads this corrupted context, leading to unexpected behavior and incorrect results. This commit fixes the race by introducing a private context within each IPSec offload object. The shared ASO context is now copied to this private context while the ASO spinlock is held. Subsequent processing uses this saved, per-object context, ensuring its integrity is maintained.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 1ed78fc033074c55221a80498204c539a3696877 < 99aaee927800ea00b441b607737f9f67b1899755 ; affected 1ed78fc033074c55221a80498204c539a3696877 < c3db55dc0f3344b62da25b025a8396d78763b5fa ; affected 1ed78fc033074c55221a80498204c539a3696877 < 2c6a5be0aee5a44066f68a332c30650900e32ad4 ; affected 1ed78fc033074c55221a80498204c539a3696877 < 6834d196107d5267dcad31b44211da7698e8f618 ; affected 1ed78fc033074c55221a80498204c539a3696877 < 99b36850d881e2d65912b2520a1c80d0fcc9429a
Linux · Linuxaffected 6.2 ; unaffected 0 < 6.2 ; unaffected 6.6.130 ≤ 6.6.* ; unaffected 6.12.78 ≤ 6.12.* ; unaffected 6.18.20 ≤ 6.18.* ; unaffected 6.19.10 ≤ 6.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD