{"id":"CVE-2023-3111","details":"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().","modified":"2026-04-03T13:14:41.967330607Z","published":"2023-06-05T21:15:11.377Z","related":["SUSE-SU-2023:2803-1","SUSE-SU-2023:2804-1","SUSE-SU-2023:2808-1","SUSE-SU-2023:2820-1","SUSE-SU-2023:2822-1","SUSE-SU-2023:2830-1","SUSE-SU-2023:2831-1","SUSE-SU-2023:2871-1","SUSE-SU-2023:2892-1","SUSE-SU-2023:3302-1","SUSE-SU-2023:4348-1","SUSE-SU-2023:4358-1","SUSE-SU-2023:4377-1","SUSE-SU-2024:0112-1","SUSE-SU-2025:02264-1","SUSE-SU-2025:02308-1","SUSE-SU-2025:02312-1","SUSE-SU-2025:02320-1","SUSE-SU-2025:02321-1","SUSE-SU-2025:02322-1","SUSE-SU-2025:02334-1","SUSE-SU-2025:02537-1"],"references":[{"type":"WEB","url":"https://patchwork.kernel.org/project/linux-btrfs/patch/20220721074829.2905233-1-r33s3n6%40gmail.com/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230703-0007/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5480"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00030.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html"}],"affected":[{"database_specific":{"unresolved_ranges":[{"events":[{"introduced":"2.6.31"},{"fixed":"4.14.318"}]},{"events":[{"introduced":"4.15"},{"fixed":"4.19.286"}]},{"events":[{"introduced":"4.20"},{"fixed":"5.4.247"}]},{"events":[{"introduced":"5.5"},{"fixed":"5.10.184"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.15.63"}]},{"events":[{"introduced":"5.16"},{"fixed":"5.19.4"}]},{"events":[{"introduced":"0"},{"last_affected":"10.0"}]},{"events":[{"introduced":"0"},{"last_affected":"11.0"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-3111.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}