Skip to content
Heist/ feed
Back to feed
UnratedFix available

net/mlx5e: Prevent concurrent access to IPSec ASO context

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.78, 6.18.20, 6.19.10, 6.6.130
CVEs
CVE-2026-23441
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 17:49 UTC · Revision 1

Source evidence

net/mlx5e: Prevent concurrent access to IPSec ASO context

core-osv · Original source

Published 3 Apr 2026, 15:15 UTC

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.

osv:CVE-2026-23441

Kernel

Fixed versions: 6.6.130, 6.12.78, 6.18.20, 6.19.10

Complete source record
{
  "id": "5dd285c53a50b00657de9668423562fb4dc7ab136206993dbcaac69ba81ef40a",
  "url": "https://osv.dev/vulnerability/CVE-2026-23441",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net/mlx5e: Prevent concurrent access to IPSec ASO context",
    "summary": "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.",
    "evidence": "osv:CVE-2026-23441",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.130",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.78",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.20",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-23441",
      "aliases": [
        "CVE-2026-23441"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "1ed78fc033074c55221a80498204c539a3696877"
                },
                {
                  "fixed": "99aaee927800ea00b441b607737f9f67b1899755"
                },
                {
                  "fixed": "c3db55dc0f3344b62da25b025a8396d78763b5fa"
                },
                {
                  "fixed": "2c6a5be0aee5a44066f68a332c30650900e32ad4"
                },
                {
                  "fixed": "6834d196107d5267dcad31b44211da7698e8f618"
                },
                {
                  "fixed": "99b36850d881e2d65912b2520a1c80d0fcc9429a"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23441.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.130"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.78"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.20"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23441.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:44.889688773Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2c6a5be0aee5a44066f68a332c30650900e32ad4",
        "https://git.kernel.org/stable/c/6834d196107d5267dcad31b44211da7698e8f618",
        "https://git.kernel.org/stable/c/99aaee927800ea00b441b607737f9f67b1899755",
        "https://git.kernel.org/stable/c/99b36850d881e2d65912b2520a1c80d0fcc9429a",
        "https://git.kernel.org/stable/c/c3db55dc0f3344b62da25b025a8396d78763b5fa",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23441.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-23441",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23441.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-23441",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 512589,
  "published_at": "2026-04-03T15:15:25.38+00:00"
}