{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2022-49990",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-49990",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-18T11:00:51.035Z",
    "updatedAt": "2026-10-15T21:31:18.179Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "s390: fix double free of GS and RI CBs on fork() failure",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ns390: fix double free of GS and RI CBs on fork() failure\n\nThe pointers for guarded storage and runtime instrumentation control\nblocks are stored in the thread_struct of the associated task. These\npointers are initially copied on fork() via arch_dup_task_struct()\nand then cleared via copy_thread() before fork() returns. If fork()\nhappens to fail after the initial task dup and before copy_thread(),\nthe newly allocated task and associated thread_struct memory are\nfreed via free_task() -> arch_release_task_struct(). This results in\na double free of the guarded storage and runtime info structs\nbecause the fields in the failed task still refer to memory\nassociated with the source task.\n\nThis problem can manifest as a BUG_ON() in set_freepointer() (with\nCONFIG_SLAB_FREELIST_HARDENED enabled) or KASAN splat (if enabled)\nwhen running trinity syscall fuzz tests on s390x. To avoid this\nproblem, clear the associated pointer fields in\narch_dup_task_struct() immediately after the new task is copied.\nNote that the RI flag is still cleared in copy_thread() because it\nresides in thread stack memory and that is where stack info is\ncopied.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "8d9047f8b967ce6181fd824ae922978e1b055cc0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "25a95303b9e513cd2978aacc385d06e6fec23d07"
            },
            {
              "version": "8d9047f8b967ce6181fd824ae922978e1b055cc0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "cacd522e6652fbc2dc0cc6ae11c4e30782fef14b"
            },
            {
              "version": "8d9047f8b967ce6181fd824ae922978e1b055cc0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "297ae7e87a87a001dd3dfeac1cb26a42fd929708"
            },
            {
              "version": "8d9047f8b967ce6181fd824ae922978e1b055cc0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8195e065abf3df84eb0ad2987e76a40f21d1791c"
            },
            {
              "version": "8d9047f8b967ce6181fd824ae922978e1b055cc0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fbdc482d43eda40a70de4b0155843d5472f6de62"
            },
            {
              "version": "8d9047f8b967ce6181fd824ae922978e1b055cc0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "13cccafe0edcd03bf1c841de8ab8a1c8e34f77d9"
            },
            {
              "version": "9e51ee1b76efc7b5e9404010793a39fde0e03cb7",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "232b47b3c88af1da737cd7760f247c4ed58168cf",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "b8e212c599082896a180a18a0c9bd529526590be",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4.4.105",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.5"
            },
            {
              "version": "4.9.68",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.10"
            },
            {
              "version": "4.14.5",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.15",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "4.19.257",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.212",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.140",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.64",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.19.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.19.*"
            },
            {
              "version": "6.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}