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

Status: published. Published: 2026-04-22. Updated: 2026-11-05.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a; < 8c24b5179af260a5f36571c992d29aab1f448544 (affected, git); ≥ 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a; < 7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5 (affected, git); ≥ 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a; < 0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 (affected, git); ≥ 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a; < 1cf95fe5dc5471efea947b4c6f8913da6bc7976e (affected, git); ≥ 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a; < ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 (affected, git). Source: CNA: Linux
- Linux / Linux: 5.12 (affected); ≥ 0; < 5.12 (unaffected, semver); ≥ 6.6.160; ≤ 6.6.* (unaffected, semver); ≥ 6.12.114; ≤ 6.12.* (unaffected, semver); ≥ 6.18.21; ≤ 6.18.* (unaffected, semver); ≥ 6.19.11; ≤ 6.19.* (unaffected, semver); ≥ 7.0; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.16% as of 2026-11-05; percentile 5.58%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/8c24b5179af260a5f36571c992d29aab1f448544 (CNA: Linux)

- https://git.kernel.org/stable/c/7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5 (CNA: Linux)

- https://git.kernel.org/stable/c/0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 (CNA: Linux)

- https://git.kernel.org/stable/c/1cf95fe5dc5471efea947b4c6f8913da6bc7976e (CNA: Linux)

- https://git.kernel.org/stable/c/ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 (CNA: Linux)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-31493; retrieved 2026-11-05; source updated 2026-11-05

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-31493; retrieved 2026-11-05; source updated Not reported

Revision: 82a4746313b103073575559a7cd187f7ad8ad069e7371e1f832a41c45a7ca875

Canonical: https://y2.dev/cve/CVE-2026-31493

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.