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

High 7.8 Published Updated

A use-after-free vulnerability in the Linux kernel RDMA EFA driver allows attackers to potentially execute code or cause a denial of service via admin queue completion handling.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31493?

CVE-2026-31493 is a high-severity use after free vulnerability in Linux kernel, published on 22 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-416

Which versions are affected by CVE-2026-31493?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2026-31493?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2026-31493 being exploited?

There is no known exploitation of CVE-2026-31493 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-83381, BELL-CVE-2026-31493, DEBIAN-CVE-2026-31493, GHSA-fx4x-f93f-2jqv, ROOT-OS-DEBIAN-12-CVE-2026-31493, ROOT-OS-DEBIAN-13-CVE-2026-31493 and 3 more.

Is CVE-2026-31493 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free