CVE-2025-39864 (GCVE-0-2025-39864)
Vulnerability from cvelistv5
Published
2025-09-19 15:26
Modified
2025-09-19 15:26
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: fix use-after-free in cmp_bss() Following bss_free() quirk introduced in commit 776b3580178f ("cfg80211: track hidden SSID networks properly"), adjust cfg80211_update_known_bss() to free the last beacon frame elements only if they're not shared via the corresponding 'hidden_beacon_bss' pointer.
Impacted products
Vendor Product Version
Linux Linux Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Version: 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
Create a notification for this product.
   Linux Linux Version: 5.4
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/wireless/scan.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "a8bb681e879ca3c9f722aa08d3d7ae41c42a8807",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            },
            {
              "lessThan": "a97a9791e455bb0cd5e7a38b5abcb05523d4e21c",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            },
            {
              "lessThan": "ff040562c10a540b8d851f7f4145fa112977f853",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            },
            {
              "lessThan": "6854476d9e1aeaaf05ebc98d610061c2075db07d",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            },
            {
              "lessThan": "b7d08929178c16398278613df07ad65cf63cce9d",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            },
            {
              "lessThan": "5b7ae04969f822283a95c866967e42b4d75e0eef",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            },
            {
              "lessThan": "912c4b66bef713a20775cfbf3b5e9bd71525c716",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            },
            {
              "lessThan": "26e84445f02ce6b2fe5f3e0e28ff7add77f35e08",
              "status": "affected",
              "version": "3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/wireless/scan.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.4"
            },
            {
              "lessThan": "5.4",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.299",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.243",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.192",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.151",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.105",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.16.*",
              "status": "unaffected",
              "version": "6.16.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.17-rc5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.299",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.243",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.192",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.151",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.105",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.46",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.16.6",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17-rc5",
                  "versionStartIncluding": "5.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: fix use-after-free in cmp_bss()\n\nFollowing bss_free() quirk introduced in commit 776b3580178f\n(\"cfg80211: track hidden SSID networks properly\"), adjust\ncfg80211_update_known_bss() to free the last beacon frame\nelements only if they\u0027re not shared via the corresponding\n\u0027hidden_beacon_bss\u0027 pointer."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-19T15:26:33.787Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/a8bb681e879ca3c9f722aa08d3d7ae41c42a8807"
        },
        {
          "url": "https://git.kernel.org/stable/c/a97a9791e455bb0cd5e7a38b5abcb05523d4e21c"
        },
        {
          "url": "https://git.kernel.org/stable/c/ff040562c10a540b8d851f7f4145fa112977f853"
        },
        {
          "url": "https://git.kernel.org/stable/c/6854476d9e1aeaaf05ebc98d610061c2075db07d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b7d08929178c16398278613df07ad65cf63cce9d"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b7ae04969f822283a95c866967e42b4d75e0eef"
        },
        {
          "url": "https://git.kernel.org/stable/c/912c4b66bef713a20775cfbf3b5e9bd71525c716"
        },
        {
          "url": "https://git.kernel.org/stable/c/26e84445f02ce6b2fe5f3e0e28ff7add77f35e08"
        }
      ],
      "title": "wifi: cfg80211: fix use-after-free in cmp_bss()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-39864",
    "datePublished": "2025-09-19T15:26:33.787Z",
    "dateReserved": "2025-04-16T07:20:57.143Z",
    "dateUpdated": "2025-09-19T15:26:33.787Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-39864\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-19T16:15:45.420\",\"lastModified\":\"2025-09-22T21:23:01.543\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: cfg80211: fix use-after-free in cmp_bss()\\n\\nFollowing bss_free() quirk introduced in commit 776b3580178f\\n(\\\"cfg80211: track hidden SSID networks properly\\\"), adjust\\ncfg80211_update_known_bss() to free the last beacon frame\\nelements only if they\u0027re not shared via the corresponding\\n\u0027hidden_beacon_bss\u0027 pointer.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/26e84445f02ce6b2fe5f3e0e28ff7add77f35e08\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/5b7ae04969f822283a95c866967e42b4d75e0eef\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6854476d9e1aeaaf05ebc98d610061c2075db07d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/912c4b66bef713a20775cfbf3b5e9bd71525c716\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a8bb681e879ca3c9f722aa08d3d7ae41c42a8807\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a97a9791e455bb0cd5e7a38b5abcb05523d4e21c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b7d08929178c16398278613df07ad65cf63cce9d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ff040562c10a540b8d851f7f4145fa112977f853\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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.


Loading…