{
  "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-50372",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50372",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-17T14:56:27.577Z",
    "updatedAt": "2026-05-11T19:18:16.908Z",
    "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": "cifs: Fix memory leak when build ntlmssp negotiate blob failed",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix memory leak when build ntlmssp negotiate blob failed\n\nThere is a memory leak when mount cifs:\n  unreferenced object 0xffff888166059600 (size 448):\n    comm \"mount.cifs\", pid 51391, jiffies 4295596373 (age 330.596s)\n    hex dump (first 32 bytes):\n      fe 53 4d 42 40 00 00 00 00 00 00 00 01 00 82 00  .SMB@...........\n      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................\n    backtrace:\n      [<0000000060609a61>] mempool_alloc+0xe1/0x260\n      [<00000000adfa6c63>] cifs_small_buf_get+0x24/0x60\n      [<00000000ebb404c7>] __smb2_plain_req_init+0x32/0x460\n      [<00000000bcf875b4>] SMB2_sess_alloc_buffer+0xa4/0x3f0\n      [<00000000753a2987>] SMB2_sess_auth_rawntlmssp_negotiate+0xf5/0x480\n      [<00000000f0c1f4f9>] SMB2_sess_setup+0x253/0x410\n      [<00000000a8b83303>] cifs_setup_session+0x18f/0x4c0\n      [<00000000854bd16d>] cifs_get_smb_ses+0xae7/0x13c0\n      [<000000006cbc43d9>] mount_get_conns+0x7a/0x730\n      [<000000005922d816>] cifs_mount+0x103/0xd10\n      [<00000000e33def3b>] cifs_smb3_do_mount+0x1dd/0xc90\n      [<0000000078034979>] smb3_get_tree+0x1d5/0x300\n      [<000000004371f980>] vfs_get_tree+0x41/0xf0\n      [<00000000b670d8a7>] path_mount+0x9b3/0xdd0\n      [<000000005e839a7d>] __x64_sys_mount+0x190/0x1d0\n      [<000000009404c3b9>] do_syscall_64+0x35/0x80\n\nWhen build ntlmssp negotiate blob failed, the session setup request\nshould be freed.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "49bd49f983b5026e4557d31c5d737d9657c4113e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fa5a70bdd5e565c8696fb04dfe18a4e8aff4695d"
            },
            {
              "version": "49bd49f983b5026e4557d31c5d737d9657c4113e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "30b2d7f8f13664655480d6af45f60270b3eb6736"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.16",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.16"
            },
            {
              "version": "6.0.6",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}