cve-2024-26693
Vulnerability from cvelistv5
Published
2024-04-03 14:54
Modified
2024-08-02 00:14
Severity
Summary
wifi: iwlwifi: mvm: fix a crash when we run out of stations
Impacted products
VendorProduct
LinuxLinux
LinuxLinux
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-26693",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-04-03T17:46:36.382649Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:49:23.460Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T00:14:12.896Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/00f4eb31b8193f6070ce24df636883f9c104ca95"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/c12f0f4d4caf23b1bfdc2602b6b70d56bdcd6aa7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b7198383ef2debe748118996f627452281cf27d7"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c",
            "drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "00f4eb31b819",
              "status": "affected",
              "version": "57974a55d995",
              "versionType": "git"
            },
            {
              "lessThan": "c12f0f4d4caf",
              "status": "affected",
              "version": "57974a55d995",
              "versionType": "git"
            },
            {
              "lessThan": "b7198383ef2d",
              "status": "affected",
              "version": "57974a55d995",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c",
            "drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.4"
            },
            {
              "lessThan": "6.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.18",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.6",
              "versionType": "custom"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.8",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: mvm: fix a crash when we run out of stations\n\nA DoS tool that injects loads of authentication frames made our AP\ncrash. The iwl_mvm_is_dup() function couldn\u0027t find the per-queue\ndup_data which was not allocated.\n\nThe root cause for that is that we ran out of stations in the firmware\nand we didn\u0027t really add the station to the firmware, yet we didn\u0027t\nreturn an error to mac80211.\nMac80211 was thinking that we have the station and because of that,\nsta_info::uploaded was set to 1. This allowed\nieee80211_find_sta_by_ifaddr() to return a valid station object, but\nthat ieee80211_sta didn\u0027t have any iwl_mvm_sta object initialized and\nthat caused the crash mentioned earlier when we got Rx on that station."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-05-29T05:21:00.138Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/00f4eb31b8193f6070ce24df636883f9c104ca95"
        },
        {
          "url": "https://git.kernel.org/stable/c/c12f0f4d4caf23b1bfdc2602b6b70d56bdcd6aa7"
        },
        {
          "url": "https://git.kernel.org/stable/c/b7198383ef2debe748118996f627452281cf27d7"
        }
      ],
      "title": "wifi: iwlwifi: mvm: fix a crash when we run out of stations",
      "x_generator": {
        "engine": "bippy-a5840b7849dd"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-26693",
    "datePublished": "2024-04-03T14:54:54.165Z",
    "dateReserved": "2024-02-19T14:20:24.155Z",
    "dateUpdated": "2024-08-02T00:14:12.896Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-26693\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-04-03T15:15:52.667\",\"lastModified\":\"2024-04-03T17:24:18.150\",\"vulnStatus\":\"Awaiting Analysis\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: iwlwifi: mvm: fix a crash when we run out of stations\\n\\nA DoS tool that injects loads of authentication frames made our AP\\ncrash. The iwl_mvm_is_dup() function couldn\u0027t find the per-queue\\ndup_data which was not allocated.\\n\\nThe root cause for that is that we ran out of stations in the firmware\\nand we didn\u0027t really add the station to the firmware, yet we didn\u0027t\\nreturn an error to mac80211.\\nMac80211 was thinking that we have the station and because of that,\\nsta_info::uploaded was set to 1. This allowed\\nieee80211_find_sta_by_ifaddr() to return a valid station object, but\\nthat ieee80211_sta didn\u0027t have any iwl_mvm_sta object initialized and\\nthat caused the crash mentioned earlier when we got Rx on that station.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux se ha solucionado la siguiente vulnerabilidad: wifi: iwlwifi: mvm: soluciona un fallo cuando nos quedamos sin estaciones Una herramienta DoS que inyecta un mont\u00f3n de marcos de autenticaci\u00f3n hac\u00eda que nuestro AP fallara. La funci\u00f3n iwl_mvm_is_dup() no pudo encontrar los datos dup_data por cola que no estaban asignados. La causa principal de esto es que nos quedamos sin estaciones en el firmware y realmente no agregamos la estaci\u00f3n al firmware, pero no devolvimos un error a mac80211. Mac80211 estaba pensando que ten\u00edamos la estaci\u00f3n y debido a eso, sta_info::uploaded se configur\u00f3 en 1. Esto permiti\u00f3 que ieee80211_find_sta_by_ifaddr() devolviera un objeto de estaci\u00f3n v\u00e1lido, pero que ieee80211_sta no ten\u00eda ning\u00fan objeto iwl_mvm_sta inicializado y eso caus\u00f3 el bloqueo. Mencion\u00e9 anteriormente cuando obtuvimos Rx en esa estaci\u00f3n.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/00f4eb31b8193f6070ce24df636883f9c104ca95\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b7198383ef2debe748118996f627452281cf27d7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c12f0f4d4caf23b1bfdc2602b6b70d56bdcd6aa7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...