FKIE_CVE-2022-50707

Vulnerability from fkie_nvd - Published: 2025-12-24 11:15 - Updated: 2026-06-17 05:24
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved: virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session() 'vc_ctrl_req' is alloced in virtio_crypto_alg_skcipher_close_session(), and should be freed in the invalid ctrl_status->status error handling case. Otherwise there is a memory leak.
Impacted products
Vendor Product Version

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/virtio/virtio_crypto_skcipher_algs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "79026a2d0a1b080257773d22a493f9bcab8c65be",
              "status": "affected",
              "version": "4ee475e76b5ea8061970a7c867ffa5eedeb39580",
              "versionType": "git"
            },
            {
              "lessThan": "67fb59ff1384e338679c0eb7a43c83ce8868c9fa",
              "status": "affected",
              "version": "0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a",
              "versionType": "git"
            },
            {
              "lessThan": "0871df190fe6723464efe0f493d476411616f553",
              "status": "affected",
              "version": "0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a",
              "versionType": "git"
            },
            {
              "lessThan": "b1d65f717cd6305a396a8738e022c6f7c65cfbe8",
              "status": "affected",
              "version": "0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/crypto/virtio/virtio_crypto_skcipher_algs.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvirtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()\n\n\u0027vc_ctrl_req\u0027 is alloced in virtio_crypto_alg_skcipher_close_session(),\nand should be freed in the invalid ctrl_status-\u003estatus error handling\ncase. Otherwise there is a memory leak."
    }
  ],
  "id": "CVE-2022-50707",
  "lastModified": "2026-06-17T05:24:02.517",
  "metrics": {},
  "published": "2025-12-24T11:15:50.880",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/0871df190fe6723464efe0f493d476411616f553"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/67fb59ff1384e338679c0eb7a43c83ce8868c9fa"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/79026a2d0a1b080257773d22a493f9bcab8c65be"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/b1d65f717cd6305a396a8738e022c6f7c65cfbe8"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Deferred"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…