Linux Kernel up to 6.0-rc2 btrfs fs/btrfs/volumes.c btrfs_get_dev_args_from_path memory leak

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.0 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in Linux Kernel up to 6.0-rc2. The affected element is the function btrfs_get_dev_args_from_path of the file fs/btrfs/volumes.c of the component btrfs. The manipulation results in memory leak.
This vulnerability was named CVE-2023-4394. The attack needs to be approached locally. There is no available exploit.
The affected component should be upgraded.
Details
A vulnerability was found in Linux Kernel up to 6.0-rc2 (Operating System). It has been classified as critical. Affected is the function btrfs_get_dev_args_from_path of the file fs/btrfs/volumes.c of the component btrfs. The manipulation with an unknown input leads to a memory leak vulnerability. CWE is classifying the issue as CWE-401. The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory. This is going to have an impact on availability.
The weakness was presented 08/17/2023. The advisory is shared for download at bugzilla.redhat.com. This vulnerability is traded as CVE-2023-4394. There are known technical details, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 246968 (Linux Distros Unpatched Vulnerability : CVE-2023-4394), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 6.0-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 (246968). VulDB is the best source for vulnerability data and more expert information about this specific topic.
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: 6.1VulDB Meta Temp Score: 6.0
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.0
NVD Vector: 🔍
CNA Base Score: 6.7
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 leakCWE: CWE-401 / CWE-404
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: 246968
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2023-4394
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Kernel 6.0-rc3
Patch: patchwork.kernel.org
Timeline
08/17/2023 🔍08/17/2023 🔍
08/17/2023 🔍
08/10/2025 🔍
Sources
Vendor: kernel.orgAdvisory: bugzilla.redhat.com
Status: Confirmed
CVE: CVE-2023-4394 (🔍)
GCVE (CVE): GCVE-0-2023-4394
GCVE (VulDB): GCVE-100-237408
Entry
Created: 08/17/2023 10:35Updated: 08/10/2025 05:32
Changes: 08/17/2023 10:35 (42), 09/13/2023 08:36 (2), 09/13/2023 08:39 (21), 08/10/2025 05:32 (34)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.