Use After Free in Linux

CVE-2026-31493

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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.002, 5.6th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a, 5.12, 0
  • Linux Kernel — versions 5.12, 7.0

Weakness classification (CWE)

References