{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: men_z188_adc: Fix a resource leak in an error handling path\n\nIf iio_device_register() fails, a previous ioremap() is left unbalanced.\n\nUpdate the error handling path and add the missing iounmap() call, as\nalready done in the remove function."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/iio/adc/men_z188_adc.c"
               ],
               "versions": [
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "0f8872231364",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "c5723b422f56",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "53d43a9c8dd2",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "ce1076b33e29",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "1aa12ecfdcba",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "fe7347780298",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "d6ed5426a7fa",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "74aeac4da66f",
                     "lessThan": "e0a2e37f3038",
                     "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/iio/adc/men_z188_adc.c"
               ],
               "versions": [
                  {
                     "version": "3.15",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "3.15",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.304",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.269",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.232",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.182",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.103",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.26",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.16.12",
                     "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/0f88722313645a903f4d420ba61ddc690ec2481d"
            },
            {
               "url": "https://git.kernel.org/stable/c/c5723b422f564af15f2e3bc0592fd6376a0a6c45"
            },
            {
               "url": "https://git.kernel.org/stable/c/53d43a9c8dd224e66559fe86af1e473802c7130e"
            },
            {
               "url": "https://git.kernel.org/stable/c/ce1076b33e299dc8d270e4450a420a18bfb3e190"
            },
            {
               "url": "https://git.kernel.org/stable/c/1aa12ecfdcbafebc218910ec47acf6262e600cf5"
            },
            {
               "url": "https://git.kernel.org/stable/c/fe73477802981bd0d0d70f2b22f109bcca801bdb"
            },
            {
               "url": "https://git.kernel.org/stable/c/d6ed5426a7fad36cf928c244483ba24e72359638"
            },
            {
               "url": "https://git.kernel.org/stable/c/e0a2e37f303828d030a83f33ffe14b36cb88d563"
            }
         ],
         "title": "iio: adc: men_z188_adc: Fix a resource leak in an error handling path",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2022-48928",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
