Skip to content
CVE Ledger
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API docsPage
  • MCP serverPage
  • AboutPage
  • Data sourcesPage
  • Data statusPage
  • ChangelogPage
  • How it's builtPage
  • Support the projectPage

14 results

Back

CVE-2022-49996btrfs: fix possible memory leak in btrfs_get_dev_args_from_path()

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.

Timeline

  1. ID reserved

    By Linux

  2. Published

  3. · 11 months later

    Record updated

Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.

Scores

CVSS scores of CVE-2022-49996, by who scored it
Scored byCVSSScoreVector
NVDNVD · Analyzed3.1Medium5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
0.25% · top 83% of all CVEs (15 Nov 2026)
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.

Affected products

  • Linux · Linux

    • affected 321a81835b4aed4f717f89921286f6544ffa8be9 – < 5f52402c77013e4a826394b807dd5ea4dc83bd72
    • affected faa775c41d655a4786e9d53cb075a77bb5a75f66 – < 4b124ad87244cd7f0883c5eaa38d2326b2154cad
    • affected faa775c41d655a4786e9d53cb075a77bb5a75f66 – < 9ea0106a7a3d8116860712e3f17cd52ce99f6707
    • affected 5.15.54 – < 5.15.64
  • Linux · Linux

    • affected 5.16
    • unaffected < 5.16
    • unaffected 5.15.64 – ≤ 5.15.*
    • unaffected 5.19.6 – ≤ 5.19.*
    • unaffected 6.0 – ≤ *

References

References3

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2022-49996 badge
[![CVE-2022-49996](https://cveledger.app/badge/CVE-2022-49996.svg)](https://cveledger.app/cve/CVE-2022-49996)

Record last updated .