CVE-2026-23440
net/mlx5e: Fix race condition during IPSec ESN update
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 3dffc083292e6872787bd7e34b957627622f9af4; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 2051c709dce92da3550040aa7949cd5a9c89b14e; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 96c9c25b74686ac2de15921c9ad30c5ef13af8cd; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 8d625c15471fb8780125eaef682983a96af77bdc; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < beb6e2e5976a128b0cccf10d158124422210c5ef
- Anyone running Linux 6.4
Vulnerability facts
- Affected
- Linux >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 3dffc083292e6872787bd7e34b957627622f9af4; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 2051c709dce92da3550040aa7949cd5a9c89b14e; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 96c9c25b74686ac2de15921c9ad30c5ef13af8cd; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 8d625c15471fb8780125eaef682983a96af77bdc; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < beb6e2e5976a128b0cccf10d158124422210c5ef; Linux 6.4
- Fixed in
- Linux 3dffc083292e6872787bd7e34b957627622f9af4, Linux 2051c709dce92da3550040aa7949cd5a9c89b14e, Linux 96c9c25b74686ac2de15921c9ad30c5ef13af8cd, Linux 8d625c15471fb8780125eaef682983a96af77bdc
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-362
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix race condition during IPSec ESN update In IPSec full offload mode, the device reports an ESN (Extended Sequence Number) wrap event to the driver. The driver validates this event by querying the IPSec ASO and checking that the esn_event_arm field is 0x0, which indicates an event has occurred. After handling the event, the driver must re-arm the context by setting esn_event_arm back to 0x1. A race condition exists in this handling path. After validating the event, the driver calls mlx5_accel_esp_modify_xfrm() to update the kernel's xfrm state. This function temporarily releases and re-acquires the xfrm state lock. So, need to acknowledge the event first by setting esn_event_arm to 0x1. This prevents the driver from reprocessing the same ESN update if the hardware sends events for other reason. Since the next ESN update only occurs after nearly 2^31 packets are received, there's no risk of missing an update, as it will happen long after this handling has finished. Processing the event twice causes the ESN high-order bits (esn_msb) to be incremented incorrectly. The driver then programs the hardware with this invalid ESN state, which leads to anti-replay failures and a complete halt of IPSec traffic. Fix this by re-arming the ESN event immediately after it is validated, before calling mlx5_accel_esp_modify_xfrm(). This ensures that any spurious, duplicate events are correctly ignored, closing the race window.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 3dffc083292e6872787bd7e34b957627622f9af4; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 2051c709dce92da3550040aa7949cd5a9c89b14e; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 96c9c25b74686ac2de15921c9ad30c5ef13af8cd; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 8d625c15471fb8780125eaef682983a96af77bdc; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < beb6e2e5976a128b0cccf10d158124422210c5ef | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-23440. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-23440.md Affected: Linux >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 3dffc083292e6872787bd7e34b957627622f9af4; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 2051c709dce92da3550040aa7949cd5a9c89b14e; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 96c9c25b74686ac2de15921c9ad30c5ef13af8cd; >= fef06678931ff67b158d337… Fixed in: Linux 3dffc083292e6872787bd7e34b957627622f9af4, Linux 2051c709dce92da3550040aa7949cd5a9c89b14e, Linux 96c9c25b74686ac2de15921c9ad30c5ef13af8cd, Linux 8d625c15471fb8780125eaef682983a96af77bdc Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/3dffc083292e6872787bd7e34b957627622f9af4
- https://git.kernel.org/stable/c/2051c709dce92da3550040aa7949cd5a9c89b14e
- https://git.kernel.org/stable/c/96c9c25b74686ac2de15921c9ad30c5ef13af8cd
- https://git.kernel.org/stable/c/8d625c15471fb8780125eaef682983a96af77bdc
- https://git.kernel.org/stable/c/beb6e2e5976a128b0cccf10d158124422210c5ef
FAQ
Is CVE-2026-23440 being exploited?
There is no confirmed exploitation: CVE-2026-23440 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-23440?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-23440?
Linux >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 3dffc083292e6872787bd7e34b957627622f9af4; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 2051c709dce92da3550040aa7949cd5a9c89b14e; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 96c9c25b74686ac2de15921c9ad30c5ef13af8cd; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < 8d625c15471fb8780125eaef682983a96af77bdc; >= fef06678931ff67b158d337b581e5cf5ca40a3a3, < beb6e2e5976a128b0cccf10d158124422210c5ef; Linux 6.4.
Is there a fix for CVE-2026-23440?
Yes. Fixed in Linux 3dffc083292e6872787bd7e34b957627622f9af4, Linux 2051c709dce92da3550040aa7949cd5a9c89b14e, Linux 96c9c25b74686ac2de15921c9ad30c5ef13af8cd, Linux 8d625c15471fb8780125eaef682983a96af77bdc. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-23440?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.