CVE-2022-49912
Last modified
CVE-2022-49912 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.17% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 4.2, < 4.9.333 | — |
| Linux | Linux Kernel | >= 4.10, < 4.14.299 | — |
| Linux | Linux Kernel | >= 4.15, < 4.19.265 | — |
| Linux | Linux Kernel | >= 4.20, < 5.4.224 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.154 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.78 | — |
| Linux | Linux Kernel | >= 5.16, < 6.0.8 | — |
| Linux | Linux Kernel | 6.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49912?
How severe is CVE-2022-49912?
How do I fix CVE-2022-49912?
Are you affected by CVE-2022-49912?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
