What’s Vulnerable › Vulnerabilities
CVE-2026-31493: RDMA/efa: Fix use of completion ctx after free
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-22 · updated 2026-10-21
- Weakness: CWE-416
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.
Affected products
- Linux kernel: from 5.12.1 before 6.18.21; from 6.19 before 6.19.11; 5.12, 7.0-rc1, 7.0-rc2, 7.0-rc3, 7.0-rc4, 7.0-rc5 (+2) — fixed in 6.18.21, 6.19.11
How to fix
Upgrade to a fixed version: Linux kernel 6.18.21, 6.19.11. Check the vendor advisory for mitigations.
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
Get alerted when CVE-2026-31493 or the next vulnerability affects your stack