{
   "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: ops: Fix bounds check for _sx controls\n\nFor _sx controls the semantics of the max field is not the usual one, max\nis the number of steps rather than the maximum value. This means that our\ncheck in snd_soc_put_volsw_sx() needs to just check against the maximum\nvalue."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "sound/soc/soc-ops.c"
               ],
               "versions": [
                  {
                     "version": "9e5c40b5706d",
                     "lessThan": "e46adadf1924",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4977491e4b3a",
                     "lessThan": "4a95a49f2630",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "9a12fcbf3c62",
                     "lessThan": "46bab25cc023",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "c33402b056de",
                     "lessThan": "73dce3c1d48c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "038f8b7caa74",
                     "lessThan": "b50c96418972",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "e8e07c5e25a2",
                     "lessThan": "98b15c706644",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4f1e50d6a9cf",
                     "lessThan": "325d94d16e31",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "4f1e50d6a9cf",
                     "lessThan": "698813ba8c58",
                     "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/soc-ops.c"
               ],
               "versions": [
                  {
                     "version": "5.17",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "5.17",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.335",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.301",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.268",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.226",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.158",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.82",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.0.12",
                     "lessThanOrEqual": "6.0.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/e46adadf19248d59af3aa6bc52e09115bf479bf7"
            },
            {
               "url": "https://git.kernel.org/stable/c/4a95a49f26308782b4056401989ecd7768fda8fa"
            },
            {
               "url": "https://git.kernel.org/stable/c/46bab25cc0230df60d1c02b651cc5640a14b08df"
            },
            {
               "url": "https://git.kernel.org/stable/c/73dce3c1d48c4662bdf3ccbde1492c2cb4bfd8ce"
            },
            {
               "url": "https://git.kernel.org/stable/c/b50c9641897274c3faef5f95ac852f54b94be2e8"
            },
            {
               "url": "https://git.kernel.org/stable/c/98b15c706644bebc19d2e77ccc360cc51444f6d0"
            },
            {
               "url": "https://git.kernel.org/stable/c/325d94d16e3131b54bdf07356e4cd855e0d853fc"
            },
            {
               "url": "https://git.kernel.org/stable/c/698813ba8c580efb356ace8dbf55f61dac6063a8"
            }
         ],
         "title": "ASoC: ops: Fix bounds check for _sx controls",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2022-49005",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
