7.8
CWE
416
Advisory Published
Updated

CVE-2023-3111: Use After Free

First published: Mon Jun 05 2023(Updated: )

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().

Credit: secalert@redhat.com secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux Kernel>=2.6.31<4.14.318
Linux Kernel>=4.15<4.19.286
Linux Kernel>=4.20<5.4.247
Linux Kernel>=5.5<5.10.184
Linux Kernel>=5.11<5.15.63
Linux Kernel>=5.16<5.19.4
NetApp HCI Baseboard Management Controller=h300s
NetApp HCI Baseboard Management Controller=h410c
NetApp HCI Baseboard Management Controller=h410s
NetApp HCI Baseboard Management Controller=h500s
NetApp HCI Baseboard Management Controller=h700s
Debian Linux=10.0
Debian Linux=11.0
NetApp H300S Firmware
NetApp H300S Firmware
NetApp H410C
NetApp H410C Firmware
NetApp H410S
NetApp H410S Firmware
NetApp H500e Firmware
NetApp H500e Firmware
NetApp H700S
NetApp H700S
All of
NetApp H300S Firmware
NetApp H300S Firmware
All of
NetApp H410C
NetApp H410C Firmware
All of
NetApp H410S
NetApp H410S Firmware
All of
NetApp H500e Firmware
NetApp H500e Firmware
All of
NetApp H700S
NetApp H700S
debian/linux
5.10.223-1
5.10.234-1
6.1.129-1
6.1.128-1
6.12.20-1
6.12.21-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2023-3111?

    CVE-2023-3111 is classified as a use after free vulnerability, which can lead to potential arbitrary code execution.

  • How do I fix CVE-2023-3111?

    To remediate CVE-2023-3111, users should upgrade to the latest patched version of the Linux Kernel, such as 5.10.223-1 or higher.

  • Which versions of the Linux Kernel are affected by CVE-2023-3111?

    CVE-2023-3111 affects various versions of the Linux Kernel from 2.6.31 to 5.19.4.

  • What functionality is impacted by CVE-2023-3111?

    CVE-2023-3111 can be triggered by calling btrfs_ioctl_balance() before btrfs_ioctl_defrag(), which may result in memory corruption.

  • Who is affected by CVE-2023-3111?

    Users of the affected Linux Kernel versions, including those on Debian and various NetApp devices, are at risk from CVE-2023-3111.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203