{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb-storage: alauda: Check whether the media is initialized\n\nThe member \"uzonesize\" of struct alauda_info will remain 0\nif alauda_init_media() fails, potentially causing divide errors\nin alauda_read_data() and alauda_write_lba().\n- Add a member \"media_initialized\" to struct alauda_info.\n- Change a condition in alauda_check_media() to ensure the\n  first initialization.\n- Add an error check for the return value of alauda_init_media()."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/usb/storage/alauda.c"
               ],
               "versions": [
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "e0aab7b07a93",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "51fe16c058ac",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "f68820f1256b",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "3eee13ab67f6",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "e0e2eec76920",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "2cc32639ec34",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "24bff7f714bd",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e80b0fade09e",
                     "lessThan": "16637fea001a",
                     "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/usb/storage/alauda.c"
               ],
               "versions": [
                  {
                     "version": "2.6.16",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.16",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.317",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.279",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.221",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.162",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.95",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.35",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9.6",
                     "lessThanOrEqual": "6.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.10",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/e0aab7b07a9375337847c9d74a5ec044071e01c8"
            },
            {
               "url": "https://git.kernel.org/stable/c/51fe16c058acb22f847e69bc598066ed0bcd5c15"
            },
            {
               "url": "https://git.kernel.org/stable/c/f68820f1256b21466ff094dd97f243b7e708f9c1"
            },
            {
               "url": "https://git.kernel.org/stable/c/3eee13ab67f65606faa66e0c3c729e4f514838fd"
            },
            {
               "url": "https://git.kernel.org/stable/c/e0e2eec76920a133dd49a4fbe4656d83596a1361"
            },
            {
               "url": "https://git.kernel.org/stable/c/2cc32639ec347e3365075b130f9953ef16cb13f1"
            },
            {
               "url": "https://git.kernel.org/stable/c/24bff7f714bdff97c2a75a0ff6a368cdf8ad5af4"
            },
            {
               "url": "https://git.kernel.org/stable/c/16637fea001ab3c8df528a8995b3211906165a30"
            }
         ],
         "title": "usb-storage: alauda: Check whether the media is initialized",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-38619",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
