cve-2024-35811
Vulnerability from cvelistv5
Published
2024-05-17 13:23
Modified
2024-11-05 09:22
Severity ?
Summary
wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0a7591e14a8da794d0b93b5d1c6254ccb23adacb
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0b812f706fd7090be74812101114a0e165b36744
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0f7352557a35ab7888bc7831411ec8a3cbe20d78
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/190794848e2b9d15de92d502b6ac652806904f5a
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/202c503935042272e2f9e1bb549d5f69a8681169
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/6678a1e7d896c00030b31491690e8ddc9a90767a
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8c36205123dc57349b59b4f1a2301eb278cbc731
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/bacb8c3ab86dcd760c15903fcee58169bc3026aa
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0a7591e14a8da794d0b93b5d1c6254ccb23adacb
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0b812f706fd7090be74812101114a0e165b36744
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0f7352557a35ab7888bc7831411ec8a3cbe20d78
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/190794848e2b9d15de92d502b6ac652806904f5a
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/202c503935042272e2f9e1bb549d5f69a8681169
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/6678a1e7d896c00030b31491690e8ddc9a90767a
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8c36205123dc57349b59b4f1a2301eb278cbc731
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/bacb8c3ab86dcd760c15903fcee58169bc3026aa
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Impacted products
Vendor Product Version
Linux Linux Version: 3.7
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:47.516Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/202c503935042272e2f9e1bb549d5f69a8681169"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/bacb8c3ab86dcd760c15903fcee58169bc3026aa"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8c36205123dc57349b59b4f1a2301eb278cbc731"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0b812f706fd7090be74812101114a0e165b36744"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/190794848e2b9d15de92d502b6ac652806904f5a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/6678a1e7d896c00030b31491690e8ddc9a90767a"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0a7591e14a8da794d0b93b5d1c6254ccb23adacb"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0f7352557a35ab7888bc7831411ec8a3cbe20d78"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35811",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-09-10T15:42:35.275433Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-09-11T17:32:51.552Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "202c50393504",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "8e3f03f4ef7c",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "bacb8c3ab86d",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "8c36205123dc",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "0b812f706fd7",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "190794848e2b",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "6678a1e7d896",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "0a7591e14a8d",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            },
            {
              "lessThan": "0f7352557a35",
              "status": "affected",
              "version": "e756af5b30b0",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.7"
            },
            {
              "lessThan": "3.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.312",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.274",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.215",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.154",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.84",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.24",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.7.*",
              "status": "unaffected",
              "version": "6.7.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach\n\nThis is the candidate patch of CVE-2023-47233 :\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-47233\n\nIn brcm80211 driver,it starts with the following invoking chain\nto start init a timeout worker:\n\n-\u003ebrcmf_usb_probe\n  -\u003ebrcmf_usb_probe_cb\n    -\u003ebrcmf_attach\n      -\u003ebrcmf_bus_started\n        -\u003ebrcmf_cfg80211_attach\n          -\u003ewl_init_priv\n            -\u003ebrcmf_init_escan\n              -\u003eINIT_WORK(\u0026cfg-\u003eescan_timeout_work,\n\t\t  brcmf_cfg80211_escan_timeout_worker);\n\nIf we disconnect the USB by hotplug, it will call\nbrcmf_usb_disconnect to make cleanup. The invoking chain is :\n\nbrcmf_usb_disconnect\n  -\u003ebrcmf_usb_disconnect_cb\n    -\u003ebrcmf_detach\n      -\u003ebrcmf_cfg80211_detach\n        -\u003ekfree(cfg);\n\nWhile the timeout woker may still be running. This will cause\na use-after-free bug on cfg in brcmf_cfg80211_escan_timeout_worker.\n\nFix it by deleting the timer and canceling the worker in\nbrcmf_cfg80211_detach.\n\n[arend.vanspriel@broadcom.com: keep timer delete as is and cancel work just before free]"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2024-11-05T09:22:47.183Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/202c503935042272e2f9e1bb549d5f69a8681169"
        },
        {
          "url": "https://git.kernel.org/stable/c/8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/bacb8c3ab86dcd760c15903fcee58169bc3026aa"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c36205123dc57349b59b4f1a2301eb278cbc731"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b812f706fd7090be74812101114a0e165b36744"
        },
        {
          "url": "https://git.kernel.org/stable/c/190794848e2b9d15de92d502b6ac652806904f5a"
        },
        {
          "url": "https://git.kernel.org/stable/c/6678a1e7d896c00030b31491690e8ddc9a90767a"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a7591e14a8da794d0b93b5d1c6254ccb23adacb"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f7352557a35ab7888bc7831411ec8a3cbe20d78"
        }
      ],
      "title": "wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach",
      "x_generator": {
        "engine": "bippy-9e1c9544281a"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35811",
    "datePublished": "2024-05-17T13:23:17.508Z",
    "dateReserved": "2024-05-17T12:19:12.342Z",
    "dateUpdated": "2024-11-05T09:22:47.183Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-35811\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-17T14:15:15.177\",\"lastModified\":\"2024-11-21T09:20:57.097\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach\\n\\nThis is the candidate patch of CVE-2023-47233 :\\nhttps://nvd.nist.gov/vuln/detail/CVE-2023-47233\\n\\nIn brcm80211 driver,it starts with the following invoking chain\\nto start init a timeout worker:\\n\\n-\u003ebrcmf_usb_probe\\n  -\u003ebrcmf_usb_probe_cb\\n    -\u003ebrcmf_attach\\n      -\u003ebrcmf_bus_started\\n        -\u003ebrcmf_cfg80211_attach\\n          -\u003ewl_init_priv\\n            -\u003ebrcmf_init_escan\\n              -\u003eINIT_WORK(\u0026cfg-\u003eescan_timeout_work,\\n\\t\\t  brcmf_cfg80211_escan_timeout_worker);\\n\\nIf we disconnect the USB by hotplug, it will call\\nbrcmf_usb_disconnect to make cleanup. The invoking chain is :\\n\\nbrcmf_usb_disconnect\\n  -\u003ebrcmf_usb_disconnect_cb\\n    -\u003ebrcmf_detach\\n      -\u003ebrcmf_cfg80211_detach\\n        -\u003ekfree(cfg);\\n\\nWhile the timeout woker may still be running. This will cause\\na use-after-free bug on cfg in brcmf_cfg80211_escan_timeout_worker.\\n\\nFix it by deleting the timer and canceling the worker in\\nbrcmf_cfg80211_detach.\\n\\n[arend.vanspriel@broadcom.com: keep timer delete as is and cancel work just before free]\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: brcmfmac: corregido el error de use after free en brcmf_cfg80211_detach Este es el parche candidato de CVE-2023-47233: https://nvd.nist.gov/vuln/detail /CVE-2023-47233 En el controlador brcm80211, comienza con la siguiente cadena de invocaci\u00f3n para iniciar un trabajador de tiempo de espera: -\u0026gt;brcmf_usb_probe -\u0026gt;brcmf_usb_probe_cb -\u0026gt;brcmf_attach -\u0026gt;brcmf_bus_started -\u0026gt;brcmf_cfg80211_attach -\u0026gt;wl_init_priv -\u0026gt;brcmf_init_escan -\u0026gt;INIT_WORK(\u0026amp;cfg -\u0026gt;escan_timeout_work, brcmf_cfg80211_escan_timeout_worker); Si desconectamos el USB mediante hotplug, llamar\u00e1 a brcmf_usb_disconnect para realizar la limpieza. La cadena de invocaci\u00f3n es: brcmf_usb_disconnect -\u0026gt;brcmf_usb_disconnect_cb -\u0026gt;brcmf_detach -\u0026gt;brcmf_cfg80211_detach -\u0026gt;kfree(cfg); Mientras que el activador de tiempo de espera a\u00fan puede estar ejecut\u00e1ndose. Esto provocar\u00e1 un error de use after free en cfg en brcmf_cfg80211_escan_timeout_worker. Soluci\u00f3nelo eliminando el temporizador y cancelando el trabajador en brcmf_cfg80211_detach. [arend.vanspriel@broadcom.com: mantenga la eliminaci\u00f3n del temporizador tal como est\u00e1 y cancele el trabajo justo antes de liberarlo]\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0a7591e14a8da794d0b93b5d1c6254ccb23adacb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0b812f706fd7090be74812101114a0e165b36744\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0f7352557a35ab7888bc7831411ec8a3cbe20d78\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/190794848e2b9d15de92d502b6ac652806904f5a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/202c503935042272e2f9e1bb549d5f69a8681169\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6678a1e7d896c00030b31491690e8ddc9a90767a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8c36205123dc57349b59b4f1a2301eb278cbc731\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bacb8c3ab86dcd760c15903fcee58169bc3026aa\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/0a7591e14a8da794d0b93b5d1c6254ccb23adacb\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/0b812f706fd7090be74812101114a0e165b36744\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/0f7352557a35ab7888bc7831411ec8a3cbe20d78\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/190794848e2b9d15de92d502b6ac652806904f5a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/202c503935042272e2f9e1bb549d5f69a8681169\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/6678a1e7d896c00030b31491690e8ddc9a90767a\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8c36205123dc57349b59b4f1a2301eb278cbc731\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/8e3f03f4ef7c36091f46e7349096efb5a2cdb3a1\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/bacb8c3ab86dcd760c15903fcee58169bc3026aa\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


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.