{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nethernet: aeroflex: fix potential skb leak in greth_init_rings()\n\nThe greth_init_rings() function won't free the newly allocated skb when\ndma_mapping_error() returns error, so add dev_kfree_skb() to fix it.\n\nCompile tested only."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/ethernet/aeroflex/greth.c"
               ],
               "versions": [
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "223654e2e2c8",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "cb1e293f858e",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "bfaa8f6c5b84",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "99669d94ce14",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "87277bdf2c37",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "c7adcbd0fd3f",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "dd62867a6383",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "d4c41139df6e",
                     "lessThan": "063a932b64db",
                     "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/net/ethernet/aeroflex/greth.c"
               ],
               "versions": [
                  {
                     "version": "2.6.34",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "2.6.34",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.9.336",
                     "lessThanOrEqual": "4.9.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.14.302",
                     "lessThanOrEqual": "4.14.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.269",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.227",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.159",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.83",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.0.13",
                     "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/223654e2e2c8d05347cd8e300f8d1ec6023103dd"
            },
            {
               "url": "https://git.kernel.org/stable/c/cb1e293f858e5e1152b8791047ed4bdaaf392189"
            },
            {
               "url": "https://git.kernel.org/stable/c/bfaa8f6c5b84b295dd73b0138b57c5555ca12b1c"
            },
            {
               "url": "https://git.kernel.org/stable/c/99669d94ce145389f1d6f197e6e18ed50d43fb76"
            },
            {
               "url": "https://git.kernel.org/stable/c/87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5"
            },
            {
               "url": "https://git.kernel.org/stable/c/c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7"
            },
            {
               "url": "https://git.kernel.org/stable/c/dd62867a6383f78f75f07039394aac25924a3307"
            },
            {
               "url": "https://git.kernel.org/stable/c/063a932b64db3317ec020c94466fe52923a15f60"
            }
         ],
         "title": "ethernet: aeroflex: fix potential skb leak in greth_init_rings()",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2022-48958",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
