CVE-2022-49996
Last modified
CVE-2022-49996 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 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.. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
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 | >= 5.15.54, < 5.15.64 | — |
| Linux | Linux Kernel | >= 5.16, < 5.19.6 | — |
| Linux | Linux Kernel | 6.0 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2022-49996?
How severe is CVE-2022-49996?
How do I fix CVE-2022-49996?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-49990In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49991In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49992In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49993In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49994In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49995In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-49997In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49998In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-49999In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2022-50000In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50001In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2022-50002In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2022-49996?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
