Vulnerabilities

CVE-2022-49912

Medium 5.5 CVSS 3.1

Description

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.

Description as published by the source, in English.

Key facts

Published
2025-05-01
Last modified
2026-06-17
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 9 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Linux Linux Kernel 6.1 Affected
Linux Linux Kernel ≥ 4.10, < 4.14.299 Affected
Linux Linux Kernel ≥ 4.15, < 4.19.265 Affected
Linux Linux Kernel ≥ 4.2, < 4.9.333 Affected
Linux Linux Kernel ≥ 4.20, < 5.4.224 Affected
Linux Linux Kernel ≥ 5.11, < 5.15.78 Affected
Linux Linux Kernel ≥ 5.16, < 6.0.8 Affected
Linux Linux Kernel ≥ 5.5, < 5.10.154 Affected

Weakness type

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities