Skip to main content
Network Thinking Solutions Logo

CVE-2022-49912

Linux kernel: btrfs: fix ulist leaks in error paths of qgroup self tests

All CVEs
CVE-2022-49912Published 5/1/2025

Linux kernel: btrfs: fix ulist leaks in error paths of qgroup self tests

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
5/1/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.2, < 4.9.333

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.299

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.265

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.224

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.154

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.78

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.8

Verify advisory

Source
linux kernel
linux
6.1

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < d81370396025cf63a7a1b5f8bb25a3479203b2ca

Verify advisory

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < 3f58283d83a588ff5da62fc150de19e798ed2ec2

Verify advisory

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < 203204798831c35d855ecc6417d98267d2d2184b

Verify advisory

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < 5d1a47ebf84540e40b5b43fc21aef0d6c0f627d9

Verify advisory

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < 0a0dead4ad1a2e2a9bdf133ef45111d7c8daef84

Verify advisory

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < f46ea5fa3320dca4fe0c0926b49a5f14cb85de62

Verify advisory

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < da7003434bcab0ae9aba3f2c003e734cae093326

Verify advisory

Source
Linux
Linux
≥ 442244c9633292a147ab2b29e7007a7c8a3909b2, < d37de92b38932d40e4a251e876cc388f9aee5f42

Verify advisory

Source
Linux
Linux
4.2

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.