Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50707

virtio-crypto: fix memory leak in virtio_crypto_alg_skcipher_close_session()

Description

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4ee475e76b5ea8061970a7c867ffa5eedeb39580 to < 79026a2d0a1b080257773d22a493f9bcab8c65beaffected
  • 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < 67fb59ff1384e338679c0eb7a43c83ce8868c9faaffected
  • 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < 0871df190fe6723464efe0f493d476411616f553affected
  • 0756ad15b1fef287d4d8fa11bc36ea77a5c42e4a to < b1d65f717cd6305a396a8738e022c6f7c65cfbe8affected

Linux Linux

Default version status: affected

  • 5.19affected
  • 0 to < 5.19unaffected
  • 6.0.19 to ≤ 6.0.*unaffected
  • 6.1.5 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References