net: ena: clean up XDP TX queues when regular TX setup fails
- 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
- 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: net: ena: clean up XDP TX queues when regular TX setup fails create_queues_with_size_backoff() creates XDP TX queues before setting up the regular TX path. If the subsequent allocation or creation of regular TX queues fails, the error handling paths omit the teardown of the XDP TX queues, leading to a resource leak. Fix this by explicitly destroying the XDP TX queue subset at the two missing failure points. The bug was first flagged by an experimental analysis tool we are developing for kernel memory-management bugs while analyzing v6.13-rc1. The tool is still under development and is not yet publicly available. Manual inspection confirms that the bug is still present in v7.1-rc7. An x86_64 allyesconfig build showed no new warnings. As we do not have an ENA device to test with, no runtime testing was able to be performed.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.6
References 8
git.kernel.org
- stable/c/df65d9fea8437235e740552e542fb309765507db
- stable/c/5daa63404b708fc74e94da8398affbb148d09044
- stable/c/523caef03124ecc08ce62a78c617759c2d28cf1c
- stable/c/f2ff634d95f8a6c885b9ce71a64067e255bcc34a
- stable/c/6773d6d82bdabddab2b31605d6d7029c91dbd217
- stable/c/6596baf8041100a9d1647beb5ea8ea4496ce058f
- stable/c/11f68ebc6891d11de5f32b7dee918c5dc18b8de1
- stable/c/1bd6676254b4ab6acd44b662b5e92822c036463a