Linux Kernel fs/btrfs/volumes.c btrfs_rm_device null pointer dereference

| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Linux Kernel and classified as problematic. This issue affects the function btrfs_rm_device of the file fs/btrfs/volumes.c. Executing a manipulation can lead to null pointer dereference.
This vulnerability is handled as CVE-2021-3739. The attack can be executed remotely. There is not any exploit available.
A patch should be applied to remediate this issue.
Details
A vulnerability was found in Linux Kernel (Operating System) (the affected version is unknown). It has been declared as critical. This vulnerability affects the function btrfs_rm_device of the file fs/btrfs/volumes.c. The manipulation with an unknown input leads to a null pointer dereference vulnerability. The CWE definition for the vulnerability is CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. As an impact it is known to affect confidentiality, integrity, and availability.
The weakness was released 03/10/2022. The advisory is available at bugzilla.redhat.com. This vulnerability was named CVE-2021-3739 since 08/26/2021. Technical details are known, but there is no available exploit.
The vulnerability scanner Nessus provides a plugin with the ID 240010 (TencentOS Server 2: kernel (TSSA-2024:1031)), which helps to determine the existence of the flaw in a target environment.
Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.kernel.org.
The vulnerability is also documented in the vulnerability database at Tenable (240010). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Type
Vendor
Name
License
Website
- Vendor: https://www.kernel.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.7VulDB Meta Temp Score: 6.5
VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.1
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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Null pointer dereferenceCWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
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: 240010
Nessus Name: TencentOS Server 2: kernel (TSSA-2024:1031)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: git.kernel.org
Timeline
08/26/2021 🔍03/10/2022 🔍
03/10/2022 🔍
09/01/2026 🔍
Sources
Vendor: kernel.orgAdvisory: e4571b8c5e9ffa1e85c0c671995bd4dcc5c75091
Status: Confirmed
CVE: CVE-2021-3739 (🔍)
GCVE (CVE): GCVE-0-2021-3739
GCVE (VulDB): GCVE-100-194506
Entry
Created: 03/10/2022 20:37Updated: 09/01/2026 21:15
Changes: 03/10/2022 20:37 (40), 03/12/2022 12:40 (2), 03/12/2022 12:48 (1), 06/17/2025 16:23 (16), 09/01/2026 21:15 (21)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.