{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: max9759: fix underflow in speaker_gain_control_put()\n\nCheck for negative values of \"priv->gain\" to prevent an out of bounds\naccess.  The concern is that these might come from the user via:\n  -> snd_ctl_elem_write_user()\n    -> snd_ctl_elem_write()\n      -> kctl->put()"
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "sound/soc/codecs/max9759.c"
               ],
               "versions": [
                  {
                     "version": "fa8d915172b8",
                     "lessThan": "a0f49d12547d",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "fa8d915172b8",
                     "lessThan": "71e60c170105",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "fa8d915172b8",
                     "lessThan": "5a45448ac95b",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "fa8d915172b8",
                     "lessThan": "baead410e5db",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "fa8d915172b8",
                     "lessThan": "f114fd6165df",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "fa8d915172b8",
                     "lessThan": "4c907bcd9dcd",
                     "status": "affected",
                     "versionType": "git"
                  }
               ]
            },
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "affected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "sound/soc/codecs/max9759.c"
               ],
               "versions": [
                  {
                     "version": "4.17",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.17",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.228",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.178",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.99",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.22",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.16.8",
                     "lessThanOrEqual": "5.16.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.17",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/a0f49d12547d45ea8b0f356a96632dd503941c1e"
            },
            {
               "url": "https://git.kernel.org/stable/c/71e60c170105d153e34d01766c1e4db26a4b24cc"
            },
            {
               "url": "https://git.kernel.org/stable/c/5a45448ac95b715173edb1cd090ff24b6586d921"
            },
            {
               "url": "https://git.kernel.org/stable/c/baead410e5db49e962a67fffc17ac30e44b50b7c"
            },
            {
               "url": "https://git.kernel.org/stable/c/f114fd6165dfb52520755cc4d1c1dfbd447b88b6"
            },
            {
               "url": "https://git.kernel.org/stable/c/4c907bcd9dcd233da6707059d777ab389dcbd964"
            }
         ],
         "title": "ASoC: max9759: fix underflow in speaker_gain_control_put()",
         "x_generator": {
            "engine": "bippy-7d53e8ef8be4"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2022-48717",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
