CVE-2022-49996
MediumIn 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.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-401CVE-2022-49996 is a Memory Leak vulnerability
What is Memory Leak?
The product does not release memory after use, causing gradual resource exhaustion. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.15.54,
5.16
and later are affected. Fixed in
5.15.64,
5.19.6,
6.0
and their respective stable series.
References
The following references provide additional information about CVE-2022-49996 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/4b124ad87244cd7f0883c5eaa38d2326b2154cad
-
PatchKernel patch commithttps://git.kernel.org/stable/c/5f52402c77013e4a826394b807dd5ea4dc83bd72
-
PatchKernel patch commithttps://git.kernel.org/stable/c/9ea0106a7a3d8116860712e3f17cd52ce99f6707
Frequently asked questions
-
What is CVE-2022-49996?
CVE-2022-49996 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a Memory Leak flaw (CWE-401) . It affects Linux kernel versions from 5.15.54 onward and has been patched in 5.15.64, 5.19.6 and 6.0. CVE-2022-49996 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-49996?
CVE-2022-49996 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2022-49996?
Yes — CVE-2022-49996 has been patched. Fixed versions include 5.15.64, 5.19.6 and 6.0. If you are running Linux kernel 5.15.54 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-49996 actively exploited?
No — CVE-2022-49996 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Memory Leak (CWE-401)?
The product does not release memory after use, causing gradual resource exhaustion. View CWE-401 on MITRE CWE →