CVE-2026-31493 PUBLISHED

RDMA/efa: Fix use of completion ctx after free

Assigner: Linux
Reserved: 09.03.2026 Published: 22.04.2026 Updated: 22.04.2026

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a to 0dd98aea1c0c45987fa2dd92f988b0eb1a72c125 (excl.)
  • affected from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a to 1cf95fe5dc5471efea947b4c6f8913da6bc7976e (excl.)
  • affected from 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a to ef3b06742c8a201d0e83edc9a33a89a4fe3009f8 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.12 is affected
  • unaffected from 0 to 5.12 (excl.)
  • unaffected from 6.18.21 to 6.18.* (incl.)
  • unaffected from 6.19.11 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References