VDB

CVE-2023-3111

CVE-2023-3111 PUBLISHED CVSS 7.8 HIGH

Reported by redhat · Published June 5, 2023

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perfAmazon Linux6.1.10-15.42.amzn2023
kernelAmazon Linux6.1.10-15.42.amzn2023
kernel-tools-develAmazon Linux6.1.10-15.42.amzn2023, 4.14.318-240.529.amzn2
kernel-toolsAmazon Linux6.1.10-15.42.amzn2023
kernel-headersAmazon Linux6.1.10-15.42.amzn2023
perfAmazon Linux6.1.10-15.42.amzn2023
kernel-develAmazon Linux6.1.10-15.42.amzn2023
linux_kernellinux5.19.4, 5.15.63, 5.10.184, 5.4.247, 4.19.286, 4.14.318

Risk scores

CVSS 3.1
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/aKernelKernel version prior to Kernel 6.0-rc2
amazon:2023python3-perf0
amazon:2023kernel0
amazon:2023kernel-tools-devel0
amazon:2023kernel-tools0
amazon:2023kernel-headers0
amazon:2kernel-tools-devel0
amazon:2023perf0
amazon:2023kernel-devel0
n/aKernel6.0-rc2
amazon:2python-perf0
amazon:2023bpftool0
amazon:2kernel-headers0
amazon:2023kernel-libbpf-devel0
amazon:2kernel0
amazon:2kernel-devel0
amazon:2023kernel-libbpf0
amazon:2kernel-tools0
amazon:2perf0
amazon:2023kernel-libbpf-static0

…and 2 more

Timeline

  • Jun 5, 2023 CVE Published
  • Jun 6, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 11, 2026 Distribution Patch (57 in total, the first dated here)
  • Mar 11, 2026 Security Advisory (59 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-3111
vulnetix vdb fixes CVE-2023-3111

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-3111/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›