Linux Kernel up to 6.0-rc1 fs/btrfs/relocation.c prepare_to_relocate use after free

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.6 | $0-$5k | 0.00 |
Summary
A vulnerability marked as critical has been reported in Linux Kernel up to 6.0-rc1. This vulnerability affects the function prepare_to_relocate of the file fs/btrfs/relocation.c. The manipulation leads to use after free.
This vulnerability is uniquely identified as CVE-2023-3111. Local access is required to approach this attack. No exploit exists.
It is suggested to upgrade the affected component.
Details
A vulnerability, which was classified as critical, has been found in Linux Kernel up to 6.0-rc1 (Operating System). This issue affects the function prepare_to_relocate of the file fs/btrfs/relocation.c. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is confidentiality, integrity, and availability.
The weakness was disclosed 06/05/2023. The advisory is shared at bugzilla.redhat.com. The identification of this vulnerability is CVE-2023-3111 since 06/05/2023. Technical details are known, but no exploit is available. The price for an exploit might be around USD $0-$5k at the moment (estimation calculated on 01/26/2026).
Upgrading to version 6.0-rc2 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at patchwork.kernel.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at EUVD (EUVD-2023-43797) and CERT Bund (WID-SEC-2023-1367). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- Open Source Linux Kernel
- Debian Linux
- Amazon Linux 2
- Ubuntu Linux
- SUSE Linux
Product
Type
Vendor
Name
Version
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.6
VulDB Base Score: 7.8
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.8
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: No
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 6.0-rc2
Patch: patchwork.kernel.org
Timeline
06/05/2023 🔍06/05/2023 🔍
06/05/2023 🔍
01/26/2026 🔍
Sources
Vendor: kernel.orgAdvisory: bugzilla.redhat.com
Status: Confirmed
CVE: CVE-2023-3111 (🔍)
GCVE (CVE): GCVE-0-2023-3111
GCVE (VulDB): GCVE-100-230717
EUVD: 🔍
CERT Bund: WID-SEC-2023-1367 - Linux Kernel: Schwachstelle ermöglicht nicht spezifizierten Angriff
Entry
Created: 06/05/2023 22:33Updated: 01/26/2026 16:18
Changes: 06/05/2023 22:33 (41), 06/30/2023 09:57 (1), 06/30/2023 09:59 (10), 11/12/2025 08:54 (22), 01/26/2026 16:18 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.