# CVE-2026-31493: RDMA/efa: Fix use of completion ctx after free

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-04-22T13:54:16.255Z
- Modified: 2026-11-11T23:10:00.263Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a before 8c24b5179af260a5f36571c992d29aab1f448544; from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a before 7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5; from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a before 0dd98aea1c0c45987fa2dd92f988b0eb1a72c125; from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a before 1cf95fe5dc5471efea947b4c6f8913da6bc7976e; from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a before ef3b06742c8a201d0e83edc9a33a89a4fe3009f8; 5.12 (not affected: before 5.12; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.21 up to 6.18.*; from 6.19.11 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 5.12.1 before 6.18.21; from 6.19 before 6.19.11; 5.12; 7.0

## References

- <https://git.kernel.org/stable/c/8c24b5179af260a5f36571c992d29aab1f448544>
- <https://git.kernel.org/stable/c/7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5>
- <https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125> (patch)
- <https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e> (patch)
- <https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8> (patch)

## Sources

- CVE List: [CVE-2026-31493](https://www.cve.org/CVERecord?id=CVE-2026-31493), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-31493](https://nvd.nist.gov/vuln/detail/CVE-2026-31493), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31493 · Whole record: https://cve.day/CVE-2026-31493.json · Rebuilt by cve.day 2026-11-25T22:59:19.291Z
