{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncrypto: scomp - fix req->dst buffer overflow\n\nThe req->dst buffer size should be checked before copying from the\nscomp_scratch->dst to avoid req->dst buffer overflow problem."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "crypto/scompress.c"
               ],
               "versions": [
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "1142d65c5b88",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "e0e3f4a18784",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "4518dc468cdd",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "a5f2f91b3fd7",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "4df0c942d04a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "7d9e5bed036a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "71c6670f9f03",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1ab53a77b772",
                     "lessThan": "744e1885922a",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "crypto/scompress.c"
               ],
               "versions": [
                  {
                     "version": "4.10",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.10",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.306",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.268",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.209",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.148",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.75",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.14",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.2",
                     "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/1142d65c5b881590962ad763f94505b6dd67d2fe"
            },
            {
               "url": "https://git.kernel.org/stable/c/e0e3f4a18784182cfe34e20c00eca11e78d53e76"
            },
            {
               "url": "https://git.kernel.org/stable/c/4518dc468cdd796757190515a9be7408adc8911e"
            },
            {
               "url": "https://git.kernel.org/stable/c/a5f2f91b3fd7387e5102060809316a0f8f0bc625"
            },
            {
               "url": "https://git.kernel.org/stable/c/4df0c942d04a67df174195ad8082f6e30e7f71a5"
            },
            {
               "url": "https://git.kernel.org/stable/c/7d9e5bed036a7f9e2062a137e97e3c1e77fb8759"
            },
            {
               "url": "https://git.kernel.org/stable/c/71c6670f9f032ec67d8f4e3f8db4646bf5a62883"
            },
            {
               "url": "https://git.kernel.org/stable/c/744e1885922a9943458954cfea917b31064b4131"
            }
         ],
         "title": "crypto: scomp - fix req->dst buffer overflow",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2023-52612",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
