{
   "containers": {
      "cna": {
         "providerMetadata": {
            "orgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038"
         },
         "descriptions": [
            {
               "lang": "en",
               "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hisilicon: Fix potential use-after-free in hix5hd2_rx()\n\nThe skb is delivered to napi_gro_receive() which may free it, after\ncalling this, dereferencing skb may trigger use-after-free."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/ethernet/hisilicon/hix5hd2_gmac.c"
               ],
               "versions": [
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "179499e7a240",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "8067cd244cea",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "3a4eddd1cb02",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "1b6360a093ab",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "93aaa4bb72e3",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "b8ce0e6f9f88",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "b6307f7a2fc1",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "57c5bc9ad7d7",
                     "lessThan": "433c07a13f59",
                     "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/hisilicon/hix5hd2_gmac.c"
               ],
               "versions": [
                  {
                     "version": "3.16",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "3.16",
                     "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/179499e7a240b2ef590f05eb379c810c26bbc8a4"
            },
            {
               "url": "https://git.kernel.org/stable/c/8067cd244cea2c332f8326842fd10158fa2cb64f"
            },
            {
               "url": "https://git.kernel.org/stable/c/3a4eddd1cb023a71df4152fcc76092953e6fe95a"
            },
            {
               "url": "https://git.kernel.org/stable/c/1b6360a093ab8969c91a30bb58b753282e2ced4c"
            },
            {
               "url": "https://git.kernel.org/stable/c/93aaa4bb72e388f6a4887541fd3d18b84f1b5ddc"
            },
            {
               "url": "https://git.kernel.org/stable/c/b8ce0e6f9f88a6bb49d291498377e61ea27a5387"
            },
            {
               "url": "https://git.kernel.org/stable/c/b6307f7a2fc1c5407b6176f2af34a95214a8c262"
            },
            {
               "url": "https://git.kernel.org/stable/c/433c07a13f59856e4585e89e86b7d4cc59348fab"
            }
         ],
         "title": "net: hisilicon: Fix potential use-after-free in hix5hd2_rx()",
         "x_generator": {
            "engine": "bippy-c9c4e1df01b2"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2022-48960",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
