CVE-2022-49996
MEDIUMLinux Kernel < 5.15.64 - Memory Leak
Title source: ruleDescription
In the Linux kernel, the following vulnerability has been resolved: btrfs: fix possible memory leak in btrfs_get_dev_args_from_path() In btrfs_get_dev_args_from_path(), btrfs_get_bdev_and_sb() can fail if the path is invalid. In this case, btrfs_get_dev_args_from_path() returns directly without freeing args->uuid and args->fsid allocated before, which causes memory leak. To fix these possible leaks, when btrfs_get_bdev_and_sb() fails, btrfs_put_dev_args_from_path() is called to clean up the memory.
Scores
CVSS v3
5.5
EPSS
0.0003
EPSS Percentile
9.8%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Classification
CWE
CWE-401
Status
published
Affected Products (5)
linux/linux_kernel
< 5.15.64
linux/linux_kernel
linux/linux_kernel
linux/Kernel
< 5.15.64linux
linux/Kernel
< 5.19.6linux
Timeline
Published
Jun 18, 2025
Tracked Since
Feb 18, 2026