# CVE-2026-23441: net/mlx5e: Prevent concurrent access to IPSec ASO context

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-04-03T15:15:25.380Z
- Modified: 2026-11-05T22:18:26.330Z
- Weaknesses: CWE-362
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 1ed78fc033074c55221a80498204c539a3696877 before 99aaee927800ea00b441b607737f9f67b1899755; from 1ed78fc033074c55221a80498204c539a3696877 before c3db55dc0f3344b62da25b025a8396d78763b5fa; from 1ed78fc033074c55221a80498204c539a3696877 before 2c6a5be0aee5a44066f68a332c30650900e32ad4; from 1ed78fc033074c55221a80498204c539a3696877 before 6834d196107d5267dcad31b44211da7698e8f618; from 1ed78fc033074c55221a80498204c539a3696877 before 99b36850d881e2d65912b2520a1c80d0fcc9429a; 6.2 (not affected: before 6.2; from 6.6.130 up to 6.6.*; from 6.12.78 up to 6.12.*; from 6.18.20 up to 6.18.*; from 6.19.10 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 6.2.1 before 6.6.130; from 6.7 before 6.12.78; from 6.13 before 6.18.20; from 6.19 before 6.19.10; 6.2; 7.0

## References

- <https://git.kernel.org/stable/c/99aaee927800ea00b441b607737f9f67b1899755> (patch)
- <https://git.kernel.org/stable/c/c3db55dc0f3344b62da25b025a8396d78763b5fa> (patch)
- <https://git.kernel.org/stable/c/2c6a5be0aee5a44066f68a332c30650900e32ad4> (patch)
- <https://git.kernel.org/stable/c/6834d196107d5267dcad31b44211da7698e8f618> (patch)
- <https://git.kernel.org/stable/c/99b36850d881e2d65912b2520a1c80d0fcc9429a> (patch)

## Sources

- CVE List: [CVE-2026-23441](https://www.cve.org/CVERecord?id=CVE-2026-23441), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-23441](https://nvd.nist.gov/vuln/detail/CVE-2026-23441), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-23441 · Whole record: https://cve.day/CVE-2026-23441.json · Rebuilt by cve.day 2026-11-25T22:59:17.878Z
