A use after free vulnerability was found in prepare_to_relocate in fs/btrfs/relocation.c in btrfs in the Linux Kernel. This possible flaw can be triggered by calling btrfs_ioctl_balance() before calling btrfs_ioctl_defrag().
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://patchwork.kernel.org/project/linux-btrfs/patch/20220721074829.2905233-1-r33s3n6%40gmail.com/ | |
https://security.netapp.com/advisory/ntap-20230703-0007/ | third party advisory |
https://lists.debian.org/debian-lts-announce/2023/07/msg00030.html | third party advisory mailing list |
https://www.debian.org/security/2023/dsa-5480 | vendor advisory third party advisory vdb entry |
https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html | third party advisory mailing list |