Linux Kernel up to 6.0.7 btrfs test_no_shared_qgroup allocation of resources

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.
5.4$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in Linux Kernel up to 6.0.7. Affected by this issue is the function test_no_shared_qgroup of the component btrfs. The manipulation results in allocation of resources. This vulnerability is cataloged as CVE-2022-49912. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability classified as problematic has been found in Linux Kernel up to 6.0.7. Affected is the function test_no_shared_qgroup of the component btrfs. The manipulation with an unknown input leads to a allocation of resources vulnerability. CWE is classifying the issue as CWE-770. The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor. The impact remains unknown. CVE summarizes:

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix ulist leaks in error paths of qgroup self tests In the test_no_shared_qgroup() and test_multiple_refs() qgroup self tests, if we fail to add the tree ref, remove the extent item or remove the extent ref, we are returning from the test function without freeing the "old_roots" ulist that was allocated by the previous calls to btrfs_find_all_roots(). Fix that by calling ulist_free() before returning.

The advisory is shared for download at git.kernel.org. This vulnerability is traded as CVE-2022-49912 since 05/01/2025. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 247416 (Linux Distros Unpatched Vulnerability : CVE-2022-49912), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 4.9.333, 4.14.299, 4.19.265, 5.4.224, 5.10.154, 5.15.78 or 6.0.8 eliminates this vulnerability. Applying the patch d81370396025cf63a7a1b5f8bb25a3479203b2ca/3f58283d83a588ff5da62fc150de19e798ed2ec2/203204798831c35d855ecc6417d98267d2d2184b/5d1a47ebf84540e40b5b43fc21aef0d6c0f627d9/0a0dead4ad1a2e2a9bdf133ef45111d7c8daef84/f46ea5fa3320dca4fe0c0926b49a5f14cb85de62/da7003434bcab0ae9aba3f2c003e734cae093326/d37de92b38932d40e4a251e876cc388f9aee5f42 is able to eliminate this problem. The bugfix is ready for download at git.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 (247416). Once again VulDB remains the best 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: 5.5
VulDB Meta Temp Score: 5.4

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 5.5
NVD Vector: 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Allocation of resources
CWE: CWE-770 / CWE-400 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 247416
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2022-49912

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Kernel 4.9.333/4.14.299/4.19.265/5.4.224/5.10.154/5.15.78/6.0.8
Patch: d81370396025cf63a7a1b5f8bb25a3479203b2ca/3f58283d83a588ff5da62fc150de19e798ed2ec2/203204798831c35d855ecc6417d98267d2d2184b/5d1a47ebf84540e40b5b43fc21aef0d6c0f627d9/0a0dead4ad1a2e2a9bdf133ef45111d7c8daef84/f46ea5fa3320dca4fe0c0926b49a5f14cb85de62/da7003434bcab0ae9aba3f2c003e734cae093326/d37de92b38932d40e4a251e876cc388f9aee5f42

Timelineinfo

05/01/2025 🔍
05/01/2025 +0 days 🔍
05/01/2025 +0 days 🔍
11/12/2025 +195 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CVE: CVE-2022-49912 (🔍)
GCVE (CVE): GCVE-0-2022-49912
GCVE (VulDB): GCVE-100-307044

Entryinfo

Created: 05/01/2025 19:01
Updated: 11/12/2025 17:03
Changes: 05/01/2025 19:01 (58), 08/10/2025 22:52 (2), 11/12/2025 17:03 (11)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!