{
   "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: bcm - Fix pointer arithmetic\n\nIn spu2_dump_omd() value of ptr is increased by ciph_key_len\ninstead of hash_iv_len which could lead to going beyond the\nbuffer boundaries.\nFix this bug by changing ciph_key_len to hash_iv_len.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/crypto/bcm/spu2.c"
               ],
               "versions": [
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "c256b616067b",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "e719c8991c16",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "ebed0d666fa7",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "c69a1e4b419c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "49833a8da640",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "d0f14ae223c2",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "c0082ee42063",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "3b7a40740f04",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9d12ba86f818",
                     "lessThan": "2b3460cbf454",
                     "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/crypto/bcm/spu2.c"
               ],
               "versions": [
                  {
                     "version": "4.11",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.11",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.316",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.278",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.219",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.161",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.93",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.33",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8.12",
                     "lessThanOrEqual": "6.8.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.9.3",
                     "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/c256b616067bfd6d274c679c06986b78d2402434"
            },
            {
               "url": "https://git.kernel.org/stable/c/e719c8991c161977a67197775067ab456b518c7b"
            },
            {
               "url": "https://git.kernel.org/stable/c/ebed0d666fa709bae9e8cafa8ec6e7ebd1d318c6"
            },
            {
               "url": "https://git.kernel.org/stable/c/c69a1e4b419c2c466dd8c5602bdebadc353973dd"
            },
            {
               "url": "https://git.kernel.org/stable/c/49833a8da6407e7e9b532cc4054fdbcaf78f5fdd"
            },
            {
               "url": "https://git.kernel.org/stable/c/d0f14ae223c2421b334c1f1a9e48f1e809aee3a0"
            },
            {
               "url": "https://git.kernel.org/stable/c/c0082ee420639a97e40cae66778b02b341b005e5"
            },
            {
               "url": "https://git.kernel.org/stable/c/3b7a40740f04e2f27114dfd6225c5e721dda9d57"
            },
            {
               "url": "https://git.kernel.org/stable/c/2b3460cbf454c6b03d7429e9ffc4fe09322eb1a9"
            }
         ],
         "title": "crypto: bcm - Fix pointer arithmetic",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-38579",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
