CVE-2022-49996
BaseFortify
Publication date: 2025-06-18
Last updated on: 2025-11-14
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.0 |
| linux | linux_kernel | 6.0 |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-401 | The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a memory leak in the Linux kernel's btrfs filesystem code. Specifically, in the function btrfs_get_dev_args_from_path(), if the helper function btrfs_get_bdev_and_sb() fails due to an invalid path, the function returns without freeing previously allocated memory for args->uuid and args->fsid. This causes a memory leak. The fix involves calling btrfs_put_dev_args_from_path() to properly clean up the allocated memory when the failure occurs.
How can this vulnerability impact me? :
This vulnerability can lead to a memory leak in the Linux kernel when using the btrfs filesystem. Over time, repeated triggering of this issue could cause increased memory usage, potentially degrading system performance or causing resource exhaustion.