{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncomedi: vmk80xx: fix bulk-buffer overflow\n\nThe driver is using endpoint-sized buffers but must not assume that the\ntx and rx buffers are of equal size or a malicious device could overflow\nthe slab-allocated receive buffer when doing bulk transfers."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/comedi/drivers/vmk80xx.c"
               ],
               "versions": [
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "e0e6a63fd97a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "7cfb35db6077",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "0866dcaa828c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "063f576c43d5",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "1ae4715121a5",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "b7fd7f3387f0",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "7b0e35618932",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "47b4636ebdbe",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "985cafccbf9b",
                     "lessThan": "78cdfd62bd54",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/comedi/drivers/vmk80xx.c"
               ],
               "versions": [
                  {
                     "version": "2.6.31",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.31",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.4.292",
                     "lessThanOrEqual": "4.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.290",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.255",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.217",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.159",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.79",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.14.18",
                     "lessThanOrEqual": "5.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.2",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.16",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/e0e6a63fd97ad95fe05dfd77268a1952551e11a7"
            },
            {
               "url": "https://git.kernel.org/stable/c/7cfb35db607760698d299fd1cf7402dfa8f09973"
            },
            {
               "url": "https://git.kernel.org/stable/c/0866dcaa828c21bc2f94dac00e086078f11b5772"
            },
            {
               "url": "https://git.kernel.org/stable/c/063f576c43d589a4c153554b681d32b3f8317c7b"
            },
            {
               "url": "https://git.kernel.org/stable/c/1ae4715121a57bc6fa29fd992127b01907f2f993"
            },
            {
               "url": "https://git.kernel.org/stable/c/b7fd7f3387f070215e6be341e68eb5c087eeecc0"
            },
            {
               "url": "https://git.kernel.org/stable/c/7b0e356189327287d0eb98ec081bd6dd97068cd3"
            },
            {
               "url": "https://git.kernel.org/stable/c/47b4636ebdbeba2044b3db937c4d2b6a4fe3d0f2"
            },
            {
               "url": "https://git.kernel.org/stable/c/78cdfd62bd54af615fba9e3ca1ba35de39d3871d"
            }
         ],
         "title": "comedi: vmk80xx: fix bulk-buffer overflow",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2021-47474",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
