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().
CVE-2023-3111
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2023-06-05. NVD baseline CVSS 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 7.8
- EG Score
- 7.8(medium)
- EG Risk
- 35(Track)EG Risk 35/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 37%
- KEV
- Not listed
Published
June 5, 2023
Last Modified
April 23, 2025
References (10)
- secalert@redhathttps://lists.debian.org/debian-lts-announce/2023/07/msg00030.html
- secalert@redhathttps://lists.debian.org/debian-lts-announce/2023/10/msg00027.html
- secalert@redhathttps://patchwork.kernel.org/project/linux-btrfs/patch/20220721074829.2905233-1-r33s3n6%40gmail.com/
- secalert@redhathttps://security.netapp.com/advisory/ntap-20230703-0007/
- secalert@redhathttps://www.debian.org/security/2023/dsa-5480
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/07/msg00030.html
- af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2023/10/msg00027.html
- af854a3a-2127-422b-91ae-364da2661108https://patchwork.kernel.org/project/linux-btrfs/patch/20220721074829.2905233-1-r33s3n6%40gmail.com/
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20230703-0007/
- af854a3a-2127-422b-91ae-364da2661108https://www.debian.org/security/2023/dsa-5480
Patch Availability(8)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | linux-image-lowlatency (4.4.0.242.248) @ xenial | 2026-05-24 | ubuntu |
| ubuntu | linux-virtual-hwe-18.04-edge (5.4.0.156.173~18.04.126) @ bionic | 2026-05-24 | ubuntu |
| ubuntu | linux-virtual-hwe-16.04-edge (4.15.0.214.199) @ xenial | 2026-05-24 | ubuntu |
| ubuntu | linux-tools-gke-5.4 (5.4.0.1105.110) @ focal | 2026-05-24 | ubuntu |
| ubuntu | linux-tools-azure-edge (5.4.0.1113.86) @ bionic | 2026-05-24 | ubuntu |
| ubuntu | linux-virtual-hwe-18.04-edge (5.4.0.156.152) @ focal | 2026-05-24 | ubuntu |
| ubuntu | linux-tools-ibm-lts-20.04 (5.4.0.1054.83) @ focal | 2026-05-24 | ubuntu |
| ubuntu | linux-tools-azure-lts-20.04 (5.4.0.1114.107) @ focal | 2026-05-24 | ubuntu |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(6 across 5 ecosystems)
Debian:10(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | 4.19.118-1 ... 4.19.98-1~bpo9+1 (43 versions) | 4.19.289-1 | — |
| linux-5.10 | 5.10.136-1~deb10u1 ... 5.10.179-5~deb10u1 (10 versions) | 5.10.197-1~deb10u1 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | 5.10.103-1 ... 5.10.92-2 (33 versions) | 5.10.191-1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.19.6-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.19.6-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| linux | — | 5.19.6-1 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
All Vendor Advisories
(9)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Microsoft MSRCCVE-2023-31112023-06-10
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().
- UbuntuUSN-6221-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-6252-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-6284-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-6301-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-6312-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-6314-1MEDIUM
Linux kernel vulnerabilities
- UbuntuUSN-6331-1MEDIUM
Linux kernel (Azure) vulnerabilities
- UbuntuUSN-6337-1MEDIUM
Linux kernel (Azure) vulnerabilities
Data Freshness Timeline
(refreshed 8× in last 7d / 31× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 167 total refreshes for this CVE.
- 2026-09-07 15:59 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-06 13:45 UTCEPSS rescore
- 2026-09-05 15:26 UTCEPSS rescore
- 2026-09-04 13:58 UTCEPSS rescore
- 2026-09-04 05:04 UTCEPSS rescore
- 2026-09-04 04:59 UTCOSV refresh
- 2026-09-02 14:09 UTCEPSS rescore
- 2026-09-01 13:51 UTCEPSS rescore
- 2026-08-30 19:15 UTCEPSS rescore
- 2026-08-30 01:20 UTCEPSS rescore
- 2026-08-28 21:39 UTCEPSS rescore
- 2026-08-27 14:23 UTCEPSS rescore
- 2026-08-26 14:44 UTCEPSS rescore
- 2026-08-26 14:43 UTCEPSS rescore
- 2026-08-25 13:46 UTCEPSS rescore
- 2026-08-23 00:17 UTCEPSS rescore
- 2026-08-21 23:47 UTCEPSS rescore
- 2026-08-20 22:53 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-19 17:02 UTCEPSS rescore
- 2026-08-18 13:46 UTCEPSS rescore
- 2026-08-17 15:59 UTCOSV refresh
- 2026-08-17 13:45 UTCEPSS rescore
- 2026-08-16 14:54 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-08-16 02:12 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-15 01:28 UTCEPSS rescore
- 2026-08-13 21:58 UTCEPSS rescore
- 2026-08-12 13:48 UTCEPSS rescore
- 2026-08-11 13:39 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-09 13:44 UTCEPSS rescore
- 2026-08-08 16:35 UTCEPSS rescore
- 2026-08-07 16:25 UTCEPSS rescore
- 2026-08-06 13:45 UTCEPSS rescore
- 2026-08-05 19:15 UTCEPSS rescore
- 2026-08-04 15:07 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-03 10:34 UTCEPSS rescore
- 2026-08-02 11:27 UTCOSV refresh
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-02 02:25 UTCEPSS rescore
- 2026-08-01 04:14 UTCEPSS rescore
- 2026-08-01 04:13 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 16:26 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-30 01:28 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-28 15:34 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-26 14:52 UTCEPSS rescore
- 2026-07-25 14:16 UTCEPSS rescore
- 2026-07-24 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 14:16 UTCEPSS rescore
- 2026-07-23 02:22 UTCEG score recompute
- 2026-07-22 23:09 UTCEG score recompute
- 2026-07-22 14:06 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-21 15:23 UTCEPSS rescore
- 2026-07-20 17:06 UTCEPSS rescore
- 2026-07-19 14:29 UTCEPSS rescore
- 2026-07-19 02:27 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-18 10:03 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-16 17:01 UTCEPSS rescore
- 2026-07-15 18:49 UTCOSV refresh
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 16:56 UTCEPSS rescore
- 2026-07-15 01:58 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 22:28 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-13 06:11 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-12 05:45 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:08 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 19:34 UTCOSV refresh
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownubuntu
- CVE-2004-0989EG 10.0EPSS p97HIGH
- CVE-2004-0990EG 10.0EPSS p98HIGH
- CVE-2004-1010EG 10.0EPSS p95HIGH
- CVE-2004-0941EG 10.0EPSS p96HIGH
- CVE-2004-0981EG 10.0EPSS p93HIGH
- CVE-2004-0882EG 10.0EPSS p96HIGH
- CVE-2004-0888EG 10.0EPSS p95HIGH
- CVE-2004-1012EG 10.0EPSS p93HIGH
- CVE-2004-1013EG 10.0EPSS p93HIGH
- CVE-2004-1018EG 10.0EPSS p97HIGH
Frequently asked(5)
What is CVE-2023-3111?
When was CVE-2023-3111 disclosed?
Is CVE-2023-3111 actively exploited?
What is the CVSS score of CVE-2023-3111?
How do I remediate CVE-2023-3111?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2023-3111
Is Your Infrastructure Affected by CVE-2023-3111?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.