CVE-2022-49912

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

published May 1, 2025

CVSS
—
EPSS
0%
Percentile
9.7
In the wild
Unconfirmed
What it is

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 record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00203 · 9.7th percentile
Published
2025-05-01T14:10Z
EPSS history
Timeline
  • 01 MAY 14:10Z
    btrfs: fix ulist leaks in error paths of qgroup self tests
    cvelistv5