{
  "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-50314",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50314",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-09-15T14:46:09.240Z",
    "updatedAt": "2026-05-11T19:16:55.078Z",
    "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": "nbd: Fix hung when signal interrupts nbd_start_device_ioctl()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnbd: Fix hung when signal interrupts nbd_start_device_ioctl()\n\nsyzbot reported hung task [1].  The following program is a simplified\nversion of the reproducer:\n\nint main(void)\n{\n\tint sv[2], fd;\n\n\tif (socketpair(AF_UNIX, SOCK_STREAM, 0, sv) < 0)\n\t\treturn 1;\n\tif ((fd = open(\"/dev/nbd0\", 0)) < 0)\n\t\treturn 1;\n\tif (ioctl(fd, NBD_SET_SIZE_BLOCKS, 0x81) < 0)\n\t\treturn 1;\n\tif (ioctl(fd, NBD_SET_SOCK, sv[0]) < 0)\n\t\treturn 1;\n\tif (ioctl(fd, NBD_DO_IT) < 0)\n\t\treturn 1;\n\treturn 0;\n}\n\nWhen signal interrupt nbd_start_device_ioctl() waiting the condition\natomic_read(&config->recv_threads) == 0, the task can hung because it\nwaits the completion of the inflight IOs.\n\nThis patch fixes the issue by clearing queue, not just shutdown, when\nsignal interrupt nbd_start_device_ioctl().",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3ba3846cb3e2fb3c6fbf79e998472821b298419e"
            },
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c7b4641bd2395c2f3cd3b0a0cbf292ed9d489398"
            },
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3575949513ea3b387b30dac1e69468a923c86caf"
            },
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b2700f98b3f4dd19fb4315b70581e5caff89eb49"
            },
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "c0d73be0af8c1310713bc39a8d7a22e35084e14f"
            },
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "62006a72b05e0d38727eef5188700f2488be5e89"
            },
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "35fb7d4a53d9e36d1b91161ea9870d9c6d57dccf"
            },
            {
              "version": "5ea8d10802ec4c153a6e21eebaf412e2abd29736",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1de7c3cf48fc41cd95adb12bd1ea9033a917798a"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.12"
            },
            {
              "version": "4.14.296",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.262",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.220",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.150",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.75",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.19.17",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.19.*"
            },
            {
              "version": "6.0.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}