{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "57db62a130ce69e6f3a870cf1119d8f860391f97"
            },
            {
              "fixed": "586222c37d4027dbf60a604fbe820184fee7c1c9"
            },
            {
              "fixed": "ace37bfec3822033e59fff390f2ff99fc96ebe4f"
            },
            {
              "fixed": "c8d46f17c2fc7d25c18e60c008928aecab26184d"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.16.0"
            },
            {
              "fixed": "6.18.22"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "6.19.12"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31746.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ns390/zcrypt: Fix memory leak with CCA cards used as accelerator\n\nTests showed that there is a memory leak if CCA cards are used as\naccelerator for clear key RSA requests (ME and CRT). With the last\nrework for the memory allocation the AP messages are allocated by\nap_init_apmsg() but for some reason on two places (ME and CRT) the\nolder allocation was still in place. So the first allocation simple\nwas never freed.",
  "id": "CVE-2026-31746",
  "modified": "2026-08-12T03:51:30.265357247Z",
  "published": "2026-05-01T14:14:40.196Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/586222c37d4027dbf60a604fbe820184fee7c1c9"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ace37bfec3822033e59fff390f2ff99fc96ebe4f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c8d46f17c2fc7d25c18e60c008928aecab26184d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31746.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-31746"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.0",
  "summary": "s390/zcrypt: Fix memory leak with CCA cards used as accelerator"
}