CVE-2022-49912

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedMay 1, 2025
First seenMay 1, 2025

How to fix

Update
  • linux linux_kernel4.9.333, 4.14.299, 4.19.265, 5.4.224, 5.10.154, 5.15.78, 6.0.8 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel4.2 ≤ v < 4.9.333, 4.10 ≤ v < 4.14.299, 4.15 ≤ v < 4.19.265, 4.20 ≤ v < 5.4.224, 5.5 ≤ v < 5.10.154, 5.11 ≤ v < 5.15.78, 5.16 ≤ v < 6.0.8, 6.14.9.333, 4.14.299, 4.19.265, 5.4.224, 5.10.154, 5.15.78, 6.0.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.