RDMA/efa: Fix use of completion ctx after free
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.
CVE-2026-31493
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-31493
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "68fb9f3e312a36e49fd05ec2d6b668daf2c4931a",
"lessThan": "8c24b5179af260a5f36571c992d29aab1f448544",
"versionType": "git"
},
{
"status": "affected",
"version": "68fb9f3e312a36e49fd05ec2d6b668daf2c4931a",
"lessThan": "7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5",
"versionType": "git"
},
{
"status": "affected",
"version": "68fb9f3e312a36e49fd05ec2d6b668daf2c4931a",
"lessThan": "0dd98aea1c0c45987fa2dd92f988b0eb1a72c125",
"versionType": "git"
},
{
"status": "affected",
"version": "68fb9f3e312a36e49fd05ec2d6b668daf2c4931a",
"lessThan": "1cf95fe5dc5471efea947b4c6f8913da6bc7976e",
"versionType": "git"
},
{
"status": "affected",
"version": "68fb9f3e312a36e49fd05ec2d6b668daf2c4931a",
"lessThan": "ef3b06742c8a201d0e83edc9a33a89a4fe3009f8",
"versionType": "git"
}
],
"programFiles": [
"drivers/infiniband/hw/efa/efa_com.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.12"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.12",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.114",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.21",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "6.19.11",
"versionType": "semver",
"lessThanOrEqual": "6.19.*"
},
{
"status": "unaffected",
"version": "7.0",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/infiniband/hw/efa/efa_com.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-31493
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #46130 · Revision 1
- Added to Heist Feed
- Publisher date