CVE-2026-31493
What it is
In the Linux kernel, the following vulnerability has been resolved: RDMA/efa: Fix use of completion ctx after free On admin queue completion handling, if the admin command completed with error we print data from the completion context. The issue is that we already freed the completion context in polling/interrupts handler which means we print data from context in an unknown state (it might be already used again). Change the admin submission flow so alloc/dealloc of the context will be symmetric and dealloc will be called after any potential use of the context.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.2% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.2% · EPSS, next 30 days
- Weakness
- CWE-416 · Use after free
- Record status
- Modified
Affected
- Linux Kernel < 6.18.21
- Linux Kernel < 6.19.11
- Linux Kernel 5.12
- Linux Kernel 7.0
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2026-31493.md and follow it. Check whether this project is affected by CVE-2026-31493. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125
- https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e
- https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8
References
- https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125
- https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e
- https://git.kernel.org/stable/c/7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5
- https://git.kernel.org/stable/c/8c24b5179af260a5f36571c992d29aab1f448544
- https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8