{
   "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/mlx5e: fix a double-free in arfs_create_groups\n\nWhen `in` allocated by kvzalloc fails, arfs_create_groups will free\nft->g and return an error. However, arfs_create_table, the only caller of\narfs_create_groups, will hold this error and call to\nmlx5e_destroy_flow_table, in which the ft->g will be freed again."
            }
         ],
         "affected": [
            {
               "product": "Linux",
               "vendor": "Linux",
               "defaultStatus": "unaffected",
               "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
               "programFiles": [
                  "drivers/net/ethernet/mellanox/mlx5/core/en_arfs.c"
               ],
               "versions": [
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "e3d3ed8c1529",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "2501afe6c4c9",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "cf116d9c3c2a",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "c57ca114eb00",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "42876db001bb",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "b21db3f1ab79",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "66cc521a739c",
                     "status": "affected",
                     "versionType": "git"
                  },
                  {
                     "version": "1cabe6b0965e",
                     "lessThan": "3c6d5189246f",
                     "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/mellanox/mlx5/core/en_arfs.c"
               ],
               "versions": [
                  {
                     "version": "4.7",
                     "status": "affected"
                  },
                  {
                     "version": "0",
                     "lessThan": "4.7",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "4.19.307",
                     "lessThanOrEqual": "4.19.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.4.269",
                     "lessThanOrEqual": "5.4.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.10.210",
                     "lessThanOrEqual": "5.10.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "5.15.149",
                     "lessThanOrEqual": "5.15.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.1.76",
                     "lessThanOrEqual": "6.1.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.6.15",
                     "lessThanOrEqual": "6.6.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.7.3",
                     "lessThanOrEqual": "6.7.*",
                     "status": "unaffected",
                     "versionType": "custom"
                  },
                  {
                     "version": "6.8",
                     "lessThanOrEqual": "*",
                     "status": "unaffected",
                     "versionType": "original_commit_for_fix"
                  }
               ]
            }
         ],
         "references": [
            {
               "url": "https://git.kernel.org/stable/c/e3d3ed8c152971dbe64c92c9ecb98fdb52abb629"
            },
            {
               "url": "https://git.kernel.org/stable/c/2501afe6c4c9829d03abe9a368b83d9ea1b611b7"
            },
            {
               "url": "https://git.kernel.org/stable/c/cf116d9c3c2aebd653c2dfab5b10c278e9ec3ee5"
            },
            {
               "url": "https://git.kernel.org/stable/c/c57ca114eb00e03274dd38108d07a3750fa3c056"
            },
            {
               "url": "https://git.kernel.org/stable/c/42876db001bbea7558e8676d1019f08f9390addb"
            },
            {
               "url": "https://git.kernel.org/stable/c/b21db3f1ab7967a81d6bbd328d28fe5a4c07a8a7"
            },
            {
               "url": "https://git.kernel.org/stable/c/66cc521a739ccd5da057a1cb3d6346c6d0e7619b"
            },
            {
               "url": "https://git.kernel.org/stable/c/3c6d5189246f590e4e1f167991558bdb72a4738b"
            }
         ],
         "title": "net/mlx5e: fix a double-free in arfs_create_groups",
         "x_generator": {
            "engine": "bippy-a5840b7849dd"
         }
      }
   },
   "cveMetadata": {
      "assignerOrgId": "f4215fc3-5b6b-47ff-a258-f7189bd81038",
      "cveID": "CVE-2024-35835",
      "requesterUserId": "gregkh@kernel.org",
      "serial": "1",
      "state": "PUBLISHED"
   },
   "dataType": "CVE_RECORD",
   "dataVersion": "5.0"
}
