{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: core - Fix page fault dead lock on mmap-ed hwrng\n\nThere is a dead-lock in the hwrng device read path.  This triggers\nwhen the user reads from /dev/hwrng into memory also mmap-ed from\n/dev/hwrng.  The resulting page fault triggers a recursive read\nwhich then dead-locks.\n\nFix this by using a stack buffer when calling copy_to_user."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/char/hw_random/core.c"
               ],
               "versions": [
                  {
                     "version": "9996508b3353",
                     "lessThan": "eafd83b92f6c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9996508b3353",
                     "lessThan": "5030d4c79886",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9996508b3353",
                     "lessThan": "c6a8111aacbf",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9996508b3353",
                     "lessThan": "26cc6d7006f9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9996508b3353",
                     "lessThan": "aa8aa16ed9ad",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9996508b3353",
                     "lessThan": "ecabe8cd456d",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9996508b3353",
                     "lessThan": "6822a1427178",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9996508b3353",
                     "lessThan": "78aafb3884f6",
                     "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/char/hw_random/core.c"
               ],
               "versions": [
                  {
                     "version": "2.6.33",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.33",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.307",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.269",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.210",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.149",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.76",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.15",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.3",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/eafd83b92f6c044007a3591cbd476bcf90455990"
            },
            {
               "url": "https://git.kernel.org/stable/c/5030d4c798863ccb266563201b341a099e8cdd48"
            },
            {
               "url": "https://git.kernel.org/stable/c/c6a8111aacbfe7a8a70f46cc0de8eed00561693c"
            },
            {
               "url": "https://git.kernel.org/stable/c/26cc6d7006f922df6cc4389248032d955750b2a0"
            },
            {
               "url": "https://git.kernel.org/stable/c/aa8aa16ed9adf1df05bb339d588cf485a011839e"
            },
            {
               "url": "https://git.kernel.org/stable/c/ecabe8cd456d3bf81e92c53b074732f3140f170d"
            },
            {
               "url": "https://git.kernel.org/stable/c/6822a14271786150e178869f1495cc03e74c5029"
            },
            {
               "url": "https://git.kernel.org/stable/c/78aafb3884f6bc6636efcc1760c891c8500b9922"
            }
         ],
         "title": "hwrng: core - Fix page fault dead lock on mmap-ed hwrng",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52615",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
