A flaw was found in the ATA over Ethernet (AoE) driver in the Linux kernel. The aoecmd_cfg_pkts() function improperly updates the refcnt on `struct net_device`, and a use-after-free can be triggered by racing between the free on the struct and the access through the `skbtxq` global queue. This could lead to a denial of service condition or potential code execution.
Workaround:
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/block/aoe?h=v6.9&id=f98364e926626c678fb4b9004b75cacf92ff0662 | patch |
https://access.redhat.com/security/cve/CVE-2023-6270 | third party advisory vdb entry |
https://bugzilla.redhat.com/show_bug.cgi?id=2256786 | issue tracking third party advisory |
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html | third party advisory |
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html | third party advisory |