RDMA/efa: Fix use of completion ctx after free (Linux Linux)

CVE-2026-31493
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.16 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a < 8c24b5179af260a5f36571c992d29aab1f448544 ; affected 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a < 7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5 ; affected 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a < 0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 ; affected 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a < 1cf95fe5dc5471efea947b4c6f8913da6bc7976e ; affected 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a < ef3b06742c8a201d0e83edc9a33a89a4fe3009f8
Linux · Linuxaffected 5.12 ; unaffected 0 < 5.12 ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.114 ≤ 6.12.* ; unaffected 6.18.21 ≤ 6.18.* ; unaffected 6.19.11 ≤ 6.19.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD