A vulnerability classified as critical was found in Linux Kernel up to 6.12.3. This vulnerability affects the function btrfs_ref_tree_mod. The manipulation leads to use after free.

This vulnerability was named CVE-2024-56581. Access to the local network is required for this attack. There is no exploit available.

It is recommended to upgrade the affected component.