CVE-2022-49996
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
14/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
btrfs: fix possible memory leak in btrfs_get_dev_args_from_path()<br />
<br />
In btrfs_get_dev_args_from_path(), btrfs_get_bdev_and_sb() can fail if<br />
the path is invalid. In this case, btrfs_get_dev_args_from_path()<br />
returns directly without freeing args->uuid and args->fsid allocated<br />
before, which causes memory leak.<br />
<br />
To fix these possible leaks, when btrfs_get_bdev_and_sb() fails,<br />
btrfs_put_dev_args_from_path() is called to clean up the memory.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.15.54 (including) | 5.15.64 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 5.19.6 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



