cve-2024-43841
Vulnerability from cvelistv5
Published
2024-08-17 09:21
Modified
2024-12-19 09:16
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: virt_wifi: avoid reporting connection success with wrong SSID When user issues a connection with a different SSID than the one virt_wifi has advertised, the __cfg80211_connect_result() will trigger the warning: WARN_ON(bss_not_found). The issue is because the connection code in virt_wifi does not check the SSID from user space (it only checks the BSSID), and virt_wifi will call cfg80211_connect_result() with WLAN_STATUS_SUCCESS even if the SSID is different from the one virt_wifi has advertised. Eventually cfg80211 won't be able to find the cfg80211_bss and generate the warning. Fixed it by checking the SSID (from user space) in the connection code.
Impacted products
Vendor Product Version
Linux Linux Version: c7cdba31ed8b87526db978976392802d3f93110c
Version: c7cdba31ed8b87526db978976392802d3f93110c
Version: c7cdba31ed8b87526db978976392802d3f93110c
Version: c7cdba31ed8b87526db978976392802d3f93110c
Version: c7cdba31ed8b87526db978976392802d3f93110c
Version: c7cdba31ed8b87526db978976392802d3f93110c
Version: c7cdba31ed8b87526db978976392802d3f93110c
Create a notification for this product.
   Linux Linux Version: 5.0
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-43841",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T16:07:55.756844Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-12T17:33:22.634Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/virtual/virt_wifi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "994fc2164a03200c3bf42fb45b3d49d9d6d33a4d",
              "status": "affected",
              "version": "c7cdba31ed8b87526db978976392802d3f93110c",
              "versionType": "git"
            },
            {
              "lessThan": "05c4488a0e446c6ccde9f22b573950665e1cd414",
              "status": "affected",
              "version": "c7cdba31ed8b87526db978976392802d3f93110c",
              "versionType": "git"
            },
            {
              "lessThan": "93e898a264b4e0a475552ba9f99a016eb43ef942",
              "status": "affected",
              "version": "c7cdba31ed8b87526db978976392802d3f93110c",
              "versionType": "git"
            },
            {
              "lessThan": "d3cc85a10abc8eae48988336cdd3689ab92581b3",
              "status": "affected",
              "version": "c7cdba31ed8b87526db978976392802d3f93110c",
              "versionType": "git"
            },
            {
              "lessThan": "36e92b5edc8e0daa18e9325674313802ce3fbc29",
              "status": "affected",
              "version": "c7cdba31ed8b87526db978976392802d3f93110c",
              "versionType": "git"
            },
            {
              "lessThan": "416d3c1538df005195721a200b0371d39636e05d",
              "status": "affected",
              "version": "c7cdba31ed8b87526db978976392802d3f93110c",
              "versionType": "git"
            },
            {
              "lessThan": "b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7",
              "status": "affected",
              "version": "c7cdba31ed8b87526db978976392802d3f93110c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/virtual/virt_wifi.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.0"
            },
            {
              "lessThan": "5.0",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.282",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.224",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.165",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.103",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.44",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.10.*",
              "status": "unaffected",
              "version": "6.10.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.11",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: virt_wifi: avoid reporting connection success with wrong SSID\n\nWhen user issues a connection with a different SSID than the one\nvirt_wifi has advertised, the __cfg80211_connect_result() will\ntrigger the warning: WARN_ON(bss_not_found).\n\nThe issue is because the connection code in virt_wifi does not\ncheck the SSID from user space (it only checks the BSSID), and\nvirt_wifi will call cfg80211_connect_result() with WLAN_STATUS_SUCCESS\neven if the SSID is different from the one virt_wifi has advertised.\nEventually cfg80211 won\u0027t be able to find the cfg80211_bss and generate\nthe warning.\n\nFixed it by checking the SSID (from user space) in the connection code."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-12-19T09:16:56.002Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d"
        },
        {
          "url": "https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414"
        },
        {
          "url": "https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942"
        },
        {
          "url": "https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29"
        },
        {
          "url": "https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7"
        }
      ],
      "title": "wifi: virt_wifi: avoid reporting connection success with wrong SSID",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-43841",
    "datePublished": "2024-08-17T09:21:56.517Z",
    "dateReserved": "2024-08-17T09:11:59.274Z",
    "dateUpdated": "2024-12-19T09:16:56.002Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-43841\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-08-17T10:15:09.580\",\"lastModified\":\"2024-10-29T16:27:14.167\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: virt_wifi: avoid reporting connection success with wrong SSID\\n\\nWhen user issues a connection with a different SSID than the one\\nvirt_wifi has advertised, the __cfg80211_connect_result() will\\ntrigger the warning: WARN_ON(bss_not_found).\\n\\nThe issue is because the connection code in virt_wifi does not\\ncheck the SSID from user space (it only checks the BSSID), and\\nvirt_wifi will call cfg80211_connect_result() with WLAN_STATUS_SUCCESS\\neven if the SSID is different from the one virt_wifi has advertised.\\nEventually cfg80211 won\u0027t be able to find the cfg80211_bss and generate\\nthe warning.\\n\\nFixed it by checking the SSID (from user space) in the connection code.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: virt_wifi: evita informar el \u00e9xito de la conexi\u00f3n con un SSID incorrecto Cuando el usuario emite una conexi\u00f3n con un SSID diferente al que virt_wifi ha anunciado, __cfg80211_connect_result() activar\u00e1 la advertencia: WARN_ON( bss_not_found). El problema se debe a que el c\u00f3digo de conexi\u00f3n en virt_wifi no verifica el SSID desde el espacio del usuario (solo verifica el BSSID), y virt_wifi llamar\u00e1 a cfg80211_connect_result() con WLAN_STATUS_SUCCESS incluso si el SSID es diferente del que virt_wifi ha anunciado. Eventualmente, cfg80211 no podr\u00e1 encontrar cfg80211_bss y generar la advertencia. Se solucion\u00f3 verificando el SSID (del espacio de usuario) en el c\u00f3digo de conexi\u00f3n.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N\",\"baseScore\":3.3,\"baseSeverity\":\"LOW\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":1.8,\"impactScore\":1.4}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.0\",\"versionEndExcluding\":\"6.1.103\",\"matchCriteriaId\":\"46AEA0CE-4C1D-4091-BB9A-5C62C862EF39\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.44\",\"matchCriteriaId\":\"CC912330-6B41-4C6B-99AF-F3857FBACB6A\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.10.3\",\"matchCriteriaId\":\"92D388F2-1EAF-4CFA-AC06-5B26D762EA7D\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-43841\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-09-10T16:07:55.756844Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-09-11T12:42:23.066Z\"}}], \"cna\": {\"title\": \"wifi: virt_wifi: avoid reporting connection success with wrong SSID\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"c7cdba31ed8b87526db978976392802d3f93110c\", \"lessThan\": \"994fc2164a03200c3bf42fb45b3d49d9d6d33a4d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c7cdba31ed8b87526db978976392802d3f93110c\", \"lessThan\": \"05c4488a0e446c6ccde9f22b573950665e1cd414\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c7cdba31ed8b87526db978976392802d3f93110c\", \"lessThan\": \"93e898a264b4e0a475552ba9f99a016eb43ef942\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c7cdba31ed8b87526db978976392802d3f93110c\", \"lessThan\": \"d3cc85a10abc8eae48988336cdd3689ab92581b3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c7cdba31ed8b87526db978976392802d3f93110c\", \"lessThan\": \"36e92b5edc8e0daa18e9325674313802ce3fbc29\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c7cdba31ed8b87526db978976392802d3f93110c\", \"lessThan\": \"416d3c1538df005195721a200b0371d39636e05d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"c7cdba31ed8b87526db978976392802d3f93110c\", \"lessThan\": \"b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/net/wireless/virtual/virt_wifi.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.0\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.0\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.4.282\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.224\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.165\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.103\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.44\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.10.*\"}, {\"status\": \"unaffected\", \"version\": \"6.11\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/net/wireless/virtual/virt_wifi.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/994fc2164a03200c3bf42fb45b3d49d9d6d33a4d\"}, {\"url\": \"https://git.kernel.org/stable/c/05c4488a0e446c6ccde9f22b573950665e1cd414\"}, {\"url\": \"https://git.kernel.org/stable/c/93e898a264b4e0a475552ba9f99a016eb43ef942\"}, {\"url\": \"https://git.kernel.org/stable/c/d3cc85a10abc8eae48988336cdd3689ab92581b3\"}, {\"url\": \"https://git.kernel.org/stable/c/36e92b5edc8e0daa18e9325674313802ce3fbc29\"}, {\"url\": \"https://git.kernel.org/stable/c/416d3c1538df005195721a200b0371d39636e05d\"}, {\"url\": \"https://git.kernel.org/stable/c/b5d14b0c6716fad7f0c94ac6e1d6f60a49f985c7\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: virt_wifi: avoid reporting connection success with wrong SSID\\n\\nWhen user issues a connection with a different SSID than the one\\nvirt_wifi has advertised, the __cfg80211_connect_result() will\\ntrigger the warning: WARN_ON(bss_not_found).\\n\\nThe issue is because the connection code in virt_wifi does not\\ncheck the SSID from user space (it only checks the BSSID), and\\nvirt_wifi will call cfg80211_connect_result() with WLAN_STATUS_SUCCESS\\neven if the SSID is different from the one virt_wifi has advertised.\\nEventually cfg80211 won\u0027t be able to find the cfg80211_bss and generate\\nthe warning.\\n\\nFixed it by checking the SSID (from user space) in the connection code.\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2024-12-19T09:16:56.002Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-43841\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2024-12-19T09:16:56.002Z\", \"dateReserved\": \"2024-08-17T09:11:59.274Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-08-17T09:21:56.517Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.