CVE-2026-31493
RDMA/efa: Fix use of completion ctx after free
Description
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.
INFO
Published Date :
April 22, 2026, 2:16 p.m.
Last Modified :
Nov. 11, 2026, 11:10 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Ensure deallocation of completion context after its use.
- Modify admin submission flow for symmetric alloc/dealloc.
- Free completion context only after polling/interrupts handler.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-31493.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-31493 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-31493
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-31493 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-31493 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Nov. 11, 2026
Action Type Old Value New Value Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: RDMA/efa: Corregir el uso del contexto de finalización después de la liberación En el manejo de la finalización de la cola de administración, si el comando de administración finalizó con error, imprimimos datos del contexto de finalización. El problema es que ya liberamos el contexto de finalización en el gestor de sondeo/interrupciones, lo que significa que imprimimos datos del contexto en un estado desconocido (podría estar ya siendo usado de nuevo). Cambiar el flujo de envío de administración para que la asignación/desasignación del contexto sea simétrica y la desasignación se llame después de cualquier uso potencial del contexto. -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 05, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-31493', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-11-05T21:35:16.910245Z'} -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Oct. 21, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/31xxx/CVE-2026-31493.json">CVE-2026-31493</a> Added Reference https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 Added Reference https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e Added Reference https://git.kernel.org/stable/c/7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5 Added Reference https://git.kernel.org/stable/c/8c24b5179af260a5f36571c992d29aab1f448544 Added Reference https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 Removed Reference https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 Removed Reference https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e Removed Reference https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 Removed Reference Type https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 Types: Patch Removed Reference Type https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e Types: Patch Removed Reference Type https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 Types: Patch -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '68fb9f3e312a36e49fd05ec2d6b668daf2c4931a', 'lessThan': '0dd98aea1c0c45987fa2dd92f988b0eb1a72c125', 'versionType': 'git'}, {'status': 'affected', 'version': '68fb9f3e312a36e49fd05ec2d6b668daf2c4931a', 'lessThan': '1cf95fe5dc5471efea947b4c6f8913da6bc7976e', 'versionType': 'git'}, {'status': 'affected', 'version': '68fb9f3e312a36e49fd05ec2d6b668daf2c4931a', 'lessThan': 'ef3b06742c8a201d0e83edc9a33a89a4fe3009f8', 'versionType': 'git'}], 'programFiles': ['drivers/infiniband/hw/efa/efa_com.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.12'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.12', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.18.21', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.11', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/infiniband/hw/efa/efa_com.c'], 'defaultStatus': 'affected'}] -
Initial Analysis by [email protected]
Apr. 28, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-416 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:5.12:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.12.1 up to (excluding) 6.18.21 Added Reference Type kernel.org: https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 22, 2026
Action Type Old Value New Value Added Description 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. Added Reference https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 Added Reference https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e Added Reference https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8