{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nuio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind\n\nFor primary VM Bus channels, primary_channel pointer is always NULL. This\npointer is valid only for the secondary channels. Also, rescind callback\nis meant for primary channels only.\n\nFix NULL pointer dereference by retrieving the device_obj from the parent\nfor the primary channel."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/uio/uio_hv_generic.c"
               ],
               "versions": [
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "3d414b64ecf6",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "f38f46da80a2",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "1d8e020e51ab",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "3005091cd537",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "2be373469be1",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "de6946be9c8b",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "928e399e84f4",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "ca3cda6fcf1e",
                     "lessThan": "fb1adbd7e50f",
                     "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/uio/uio_hv_generic.c"
               ],
               "versions": [
                  {
                     "version": "4.16",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.16",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.322",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.284",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.226",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.167",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.110",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.51",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.10.10",
                     "lessThanOrEqual": "6.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.11",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/3d414b64ecf6fd717d7510ffb893c6f23acbf50e"
            },
            {
               "url": "https://git.kernel.org/stable/c/f38f46da80a2ab7d1b2f8fcb444c916034a2dac4"
            },
            {
               "url": "https://git.kernel.org/stable/c/1d8e020e51ab07e40f9dd00b52f1da7d96fec04c"
            },
            {
               "url": "https://git.kernel.org/stable/c/3005091cd537ef8cdb7530dcb2ecfba8d2ef475c"
            },
            {
               "url": "https://git.kernel.org/stable/c/2be373469be1774bbe03b0fa7e2854e65005b1cc"
            },
            {
               "url": "https://git.kernel.org/stable/c/de6946be9c8bc7d2279123433495af7c21011b99"
            },
            {
               "url": "https://git.kernel.org/stable/c/928e399e84f4e80307dce44e89415115c473275b"
            },
            {
               "url": "https://git.kernel.org/stable/c/fb1adbd7e50f3d2de56d0a2bb0700e2e819a329e"
            }
         ],
         "title": "uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-46739",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
