CVE-2026-139593
RDMA/mlx5: Set QP event handler before firmware QPC insertion
AI summary AI generated
An attacker able to trigger firmware error events could cause a NULL pointer dereference in the Linux kernel RDMA mlx5 driver during queue pair creation, crashing the system.
Mitigation
- Upgrade Linux to 05a078c97eb0bb7158526dae414b853737692485 or later.
Who should check
- Anyone running Linux >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 52f40c02f9b91a14d34cdf7ebff833716aa60acf; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < b5ff026b41d2ff4c7708e8ce9750388ea09e6e96; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 05a078c97eb0bb7158526dae414b853737692485
- Anyone running Linux 3.11
Vulnerability facts
- Affected
- Linux >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 52f40c02f9b91a14d34cdf7ebff833716aa60acf; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < b5ff026b41d2ff4c7708e8ce9750388ea09e6e96; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 05a078c97eb0bb7158526dae414b853737692485; Linux 3.11
- Fixed in
- Linux 52f40c02f9b91a14d34cdf7ebff833716aa60acf, Linux 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8, Linux 05a078c97eb0bb7158526dae414b853737692485
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Set QP event handler before firmware QPC insertion Four QP creation paths assigned base->container_mibqp and base->mqp.event after the firmware create call that inserts the QP into dev->qp_table.tree. A firmware error EQE in that window reaches qp->event() with a NULL pointer. Move both assignments before the firmware call. Also set ibqp.qp_num inside mlx5_qpc_create_qp() before create_resource_common() so an EQE arriving early does not observe qp_num==0. In addition, add a WARN_ON_ONCE(!qp->event) guard in rsc_event_notifier() as a safeguard for future regressions.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 52f40c02f9b91a14d34cdf7ebff833716aa60acf; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < b5ff026b41d2ff4c7708e8ce9750388ea09e6e96; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 05a078c97eb0bb7158526dae414b853737692485 | — | cvelist |
| Linux | 3.11 | — | 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-139593. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139593.md Affected: Linux >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 52f40c02f9b91a14d34cdf7ebff833716aa60acf; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < b5ff026b41d2ff4c7708e8ce9750388ea09e6e96; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8; >= e126ba97dba9edeb6fafa36… Fixed in: Linux 52f40c02f9b91a14d34cdf7ebff833716aa60acf, Linux 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8, Linux 05a078c97eb0bb7158526dae414b853737692485 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.
Technologies
References
FAQ
Is CVE-2026-139593 being exploited?
There is no confirmed exploitation: CVE-2026-139593 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139593?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139593?
Linux >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 52f40c02f9b91a14d34cdf7ebff833716aa60acf; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < b5ff026b41d2ff4c7708e8ce9750388ea09e6e96; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8; >= e126ba97dba9edeb6fafa3665b5f8497fc9cdf8c, < 05a078c97eb0bb7158526dae414b853737692485; Linux 3.11.
Is there a fix for CVE-2026-139593?
Yes. Fixed in Linux 52f40c02f9b91a14d34cdf7ebff833716aa60acf, Linux 2570ac441eda1a76aaf7aa4dd56bbe297e527ec8, Linux 05a078c97eb0bb7158526dae414b853737692485. Upgrade Linux to 05a078c97eb0bb7158526dae414b853737692485 or later.
How do I check if I'm affected by CVE-2026-139593?
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.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |