CVE-2024-56582 is a use-after-free vulnerability in the btrfs filesystem implementation of the Linux kernel, specifically in the function btrfs_encoded_read_endio(). This flaw was identified through kernel address sanitizer (KASAN) detection during filesystem tests. The vulnerability can lead to high impact including confidentiality, integrity, and availability compromise due to improper memory handling.