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

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.9$0-$5k0.00

Summaryinfo

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.

Detailsinfo

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.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB 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.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Memory corruption
CWE: 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-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 226435
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2023-4389

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 5.18-rc3
Patch: patchwork.kernel.org

Timelineinfo

08/16/2023 🔍
08/16/2023 +0 days 🔍
08/16/2023 +0 days 🔍
03/06/2025 +567 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: access.redhat.com
Status: Confirmed

CVE: CVE-2023-4389 (🔍)
GCVE (CVE): GCVE-0-2023-4389
GCVE (VulDB): GCVE-100-237351

Entryinfo

Created: 08/16/2023 22:43
Updated: 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.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!