CVE-2022-49912: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux Kernel: from 4.2, before 4.9.333 (fixed in 4.9.333); from 4.10, before 4.14.299 (fixed in 4.14.299); from 4.15, before 4.19.265 (fixed in 4.19.265); from 4.20, before 5.4.224 (fixed in 5.4.224); from 5.5, before 5.10.154 (fixed in 5.10.154); from 5.11, before 5.15.78 (fixed in 5.15.78); …

Published 2025-05-01. Last modified 2026-06-17.