Linux Kernel up to 5.18-rc2 btrfs Filesystem fs/btrfs/disk-io.c btrfs_get_root_ref memory corruption

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.9 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Linux Kernel up to 5.18-rc2. This issue affects the function btrfs_get_root_ref of the file fs/btrfs/disk-io.c of the component btrfs Filesystem Handler. Performing a manipulation results in memory corruption.
This vulnerability is identified as CVE-2023-4389. The attack is only possible with local access. There is not any exploit available.
You should upgrade the affected component.
Details
A vulnerability, which was classified as critical, was found in Linux Kernel up to 5.18-rc2 (Operating System). This affects the function btrfs_get_root_ref of the file fs/btrfs/disk-io.c of the component btrfs Filesystem Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. CWE is classifying the issue as CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
A flaw was found in btrfs_get_root_ref in fs/btrfs/disk-io.c in the btrfs filesystem in the Linux Kernel due to a double decrement of the reference count. This issue may allow a local attacker with user privilege to crash the system or may lead to leaked internal kernel information.
The weakness was released 08/16/2023. It is possible to read the advisory at access.redhat.com. This vulnerability is uniquely identified as CVE-2023-4389. Technical details of the vulnerability are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 226435 (Linux Distros Unpatched Vulnerability : CVE-2023-4389), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 5.18-rc3 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 vulnerability database at Tenable (226435). Be aware that VulDB is the high quality source for vulnerability data.
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.0VulDB Meta Temp Score: 6.9
VulDB Base Score: 7.0
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.1
NVD Vector: 🔍
CNA Base Score: 7.0
CNA Vector (Red Hat, Inc.): 🔍
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: Memory corruptionCWE: 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 |
Nessus ID: 226435
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2023-4389
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 5.18-rc3
Patch: patchwork.kernel.org
Timeline
08/16/2023 🔍08/16/2023 🔍
08/16/2023 🔍
03/06/2025 🔍
Sources
Vendor: kernel.orgAdvisory: access.redhat.com
Status: Confirmed
CVE: CVE-2023-4389 (🔍)
GCVE (CVE): GCVE-0-2023-4389
GCVE (VulDB): GCVE-100-237351
Entry
Created: 08/16/2023 22:43Updated: 03/06/2025 00:19
Changes: 08/16/2023 22:43 (53), 09/10/2023 14:47 (1), 09/10/2023 14:52 (10), 03/06/2025 00:19 (17)
Complete: 🔍
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.