RDMA/efa: Fix use of completion ctx after free
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.114, 6.18.21, 6.19.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a · fixed in 8c24b5179af260a5f36571c992d29aab1f448544; From 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a · fixed in 7ba09d85f177e9f5f64b881f33dbcb57b2cf23d5; From 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a · fixed in 0dd98aea1c0c45987fa2dd92f988b0eb1a72c125; From 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a · fixed in 1cf95fe5dc5471efea947b4c6f8913da6bc7976e; From 68fb9f3e312a36e49fd05ec2d6b668daf2c4931a · fixed in ef3b06742c8a201d0e83edc9a33a89a4fe3009f8
- Linux Linux
5.12
- KernelLinux
From 5.12.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.21; From 6.19.0 · fixed in 6.19.11