CVE-2026-64574 (GCVE-0-2026-64574)

Vulnerability from cvelistv5 – Published: 2026-08-05 08:08 – Updated: 2026-08-08 15:13
VLAI
Title
wifi: mac80211: tear down new links on vif update error path
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: tear down new links on vif update error path When ieee80211_vif_update_links() adds new links it allocates a link container for each and calls ieee80211_link_init() (which registers the per-link debugfs files with file->private_data pointing into the container) and ieee80211_link_setup(). If the subsequent drv_change_vif_links() fails, the error path restores the old pointers and jumps to 'free', which frees the new containers but never removes their debugfs entries or stops the links. The debugfs files survive with file->private_data dangling at the freed container, so a later open()+read() (e.g. link-1/txpower) dereferences freed memory in ieee80211_if_read_link(), a use-after-free. The removal path already dismantles links correctly via ieee80211_tear_down_links(), which removes each link's keys and debugfs entries and calls ieee80211_link_stop(); the add path on the error branch does not. Commit be1ba9ed221f ("wifi: mac80211: avoid weird state in error path") hardened this same error path for the link-removal case (new_links == 0) but left the newly-added links' teardown unaddressed. drv_change_vif_links() can fail at runtime on MLO drivers (internal allocation / queue / firmware command failures). Remove the new links' debugfs entries and stop them before freeing. BUG: KASAN: slab-use-after-free in ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127) Read of size 8 at addr ffff888011290000 by task exploit/145 Call Trace: ... ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127) short_proxy_read (fs/debugfs/file.c:373) vfs_read (fs/read_write.c:572) ksys_read (fs/read_write.c:716) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) ... Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a RIP: 0010:ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127) Kernel panic - not syncing: Fatal exception
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 170cd6a66d9a164180eb4dc72d50afa6ce1ce566 , < 329589417214d3b7221432e5b266ed2bba7ff674 (git)
Affected: 170cd6a66d9a164180eb4dc72d50afa6ce1ce566 , < c57d97f381306bbfba174e8f708419e007824e0c (git)
Affected: 170cd6a66d9a164180eb4dc72d50afa6ce1ce566 , < 0f7eaeb950adb77f71beb546e5ab30f90b41fe6f (git)
Affected: 170cd6a66d9a164180eb4dc72d50afa6ce1ce566 , < 901a73523e093beff123b54b1ceaf3113f18acc9 (git)
Affected: 170cd6a66d9a164180eb4dc72d50afa6ce1ce566 , < 952c02b33f56207a160421bcd61e7ac53c9c59ae (git)
Create a notification for this product.
Linux Linux Affected: 6.4
Unaffected: 0 , < 6.4 (semver)
Unaffected: 6.6.148 , ≤ 6.6.* (semver)
Unaffected: 6.12.101 , ≤ 6.12.* (semver)
Unaffected: 6.18.42 , ≤ 6.18.* (semver)
Unaffected: 7.1.6 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc5 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/mac80211/link.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "329589417214d3b7221432e5b266ed2bba7ff674",
              "status": "affected",
              "version": "170cd6a66d9a164180eb4dc72d50afa6ce1ce566",
              "versionType": "git"
            },
            {
              "lessThan": "c57d97f381306bbfba174e8f708419e007824e0c",
              "status": "affected",
              "version": "170cd6a66d9a164180eb4dc72d50afa6ce1ce566",
              "versionType": "git"
            },
            {
              "lessThan": "0f7eaeb950adb77f71beb546e5ab30f90b41fe6f",
              "status": "affected",
              "version": "170cd6a66d9a164180eb4dc72d50afa6ce1ce566",
              "versionType": "git"
            },
            {
              "lessThan": "901a73523e093beff123b54b1ceaf3113f18acc9",
              "status": "affected",
              "version": "170cd6a66d9a164180eb4dc72d50afa6ce1ce566",
              "versionType": "git"
            },
            {
              "lessThan": "952c02b33f56207a160421bcd61e7ac53c9c59ae",
              "status": "affected",
              "version": "170cd6a66d9a164180eb4dc72d50afa6ce1ce566",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/mac80211/link.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": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.148",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.101",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.6",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.148",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.101",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.42",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.6",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc5",
                  "versionStartIncluding": "6.4",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mac80211: tear down new links on vif update error path\n\nWhen ieee80211_vif_update_links() adds new links it allocates a link\ncontainer for each and calls ieee80211_link_init() (which registers the\nper-link debugfs files with file-\u003eprivate_data pointing into the container)\nand ieee80211_link_setup(). If the subsequent drv_change_vif_links() fails,\nthe error path restores the old pointers and jumps to \u0027free\u0027, which frees\nthe new containers but never removes their debugfs entries or stops the\nlinks. The debugfs files survive with file-\u003eprivate_data dangling at the\nfreed container, so a later open()+read() (e.g. link-1/txpower)\ndereferences freed memory in ieee80211_if_read_link(), a use-after-free.\n\nThe removal path already dismantles links correctly via\nieee80211_tear_down_links(), which removes each link\u0027s keys and debugfs\nentries and calls ieee80211_link_stop(); the add path on the error branch\ndoes not. Commit be1ba9ed221f (\"wifi: mac80211: avoid weird state in error\npath\") hardened this same error path for the link-removal case\n(new_links == 0) but left the newly-added links\u0027 teardown unaddressed.\n\ndrv_change_vif_links() can fail at runtime on MLO drivers (internal\nallocation / queue / firmware command failures).\n\nRemove the new links\u0027 debugfs entries and stop them before freeing.\n\n  BUG: KASAN: slab-use-after-free in ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127)\n  Read of size 8 at addr ffff888011290000 by task exploit/145\n  Call Trace:\n   ...\n   ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127)\n   short_proxy_read (fs/debugfs/file.c:373)\n   vfs_read (fs/read_write.c:572)\n   ksys_read (fs/read_write.c:716)\n   do_syscall_64 (arch/x86/entry/syscall_64.c:94)\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\n  ...\n  Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a\n  RIP: 0010:ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127)\n  Kernel panic - not syncing: Fatal exception"
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The bug is reached via local nl80211 link updates (NL80211_CMD_ADD_LINK / ieee80211_vif_set_links \u2192 ieee80211_vif_update_links) and completed by a local debugfs open/read of the dangling per-link file, not by processing over-the-air frames alone.\nAC:L - An attacker can reliably force the error path by adding an MLO AP link whose MAC duplicates an existing link so ieee80211_check_dup_link_addrs() fails after ieee80211_link_init() already registered debugfs, then read the leftover file; no attacker-independent condition is required.\nPR:L - NL80211_CMD_ADD_LINK is gated by GENL_UNS_ADMIN_PERM (CAP_NET_ADMIN in the netns user_ns), which an unprivileged user can obtain via user/net namespaces or common WiFi management paths, so privileges are Low rather than init-namespace root.\nUI:N - The attacker issues the nl80211 ADD_LINK sequence and the subsequent debugfs read themselves; no separate victim action such as mounting a filesystem or opening a hostile file is required.\nS:U - The use-after-free and resulting kernel memory corruption stay within the host mac80211/debugfs authority and do not cross a VM, IOMMU, or other separate security boundary.\nC:H - Dangling debugfs file-\u003eprivate_data points at the freed link_container; reading it (ieee80211_if_read_link) is a slab use-after-free that can be reclaimed/sprayed for arbitrary kernel memory disclosure.\nI:H - The same freed link object is the debugfs private_data for readable/writable per-link files, so UAF reclaim enables attacker-controlled structure contents and control-flow hijack consistent with kernel UAF integrity High.\nA:H - The fix commit\u2019s KASAN slab-use-after-free in ieee80211_if_read_link leads to a general protection fault and kernel panic, so availability impact is High even without full exploitation."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-08T15:13:11.689Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/329589417214d3b7221432e5b266ed2bba7ff674"
        },
        {
          "url": "https://git.kernel.org/stable/c/c57d97f381306bbfba174e8f708419e007824e0c"
        },
        {
          "url": "https://git.kernel.org/stable/c/0f7eaeb950adb77f71beb546e5ab30f90b41fe6f"
        },
        {
          "url": "https://git.kernel.org/stable/c/901a73523e093beff123b54b1ceaf3113f18acc9"
        },
        {
          "url": "https://git.kernel.org/stable/c/952c02b33f56207a160421bcd61e7ac53c9c59ae"
        }
      ],
      "title": "wifi: mac80211: tear down new links on vif update error path",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64574",
    "datePublished": "2026-08-05T08:08:10.272Z",
    "dateReserved": "2026-07-19T15:36:31.797Z",
    "dateUpdated": "2026-08-08T15:13:11.689Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64574",
      "date": "2026-08-10",
      "epss": "0.00116",
      "percentile": "0.01885"
    },
    "microsoft_vex": {
      "current_release_date": "2026-08-09T01:42:39.000Z",
      "cve": "CVE-2026-64574",
      "id": "msrc_CVE-2026-64574",
      "initial_release_date": "2026-08-09T01:42:39.000Z",
      "product_status:fixed": "1",
      "product_status:known_affected": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "wifi: mac80211: tear down new links on vif update error path",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-64574.json",
      "version": "1"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64574\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-08-05T08:16:37.203\",\"lastModified\":\"2026-08-08T15:16:32.263\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nwifi: mac80211: tear down new links on vif update error path\\n\\nWhen ieee80211_vif_update_links() adds new links it allocates a link\\ncontainer for each and calls ieee80211_link_init() (which registers the\\nper-link debugfs files with file-\u003eprivate_data pointing into the container)\\nand ieee80211_link_setup(). If the subsequent drv_change_vif_links() fails,\\nthe error path restores the old pointers and jumps to \u0027free\u0027, which frees\\nthe new containers but never removes their debugfs entries or stops the\\nlinks. The debugfs files survive with file-\u003eprivate_data dangling at the\\nfreed container, so a later open()+read() (e.g. link-1/txpower)\\ndereferences freed memory in ieee80211_if_read_link(), a use-after-free.\\n\\nThe removal path already dismantles links correctly via\\nieee80211_tear_down_links(), which removes each link\u0027s keys and debugfs\\nentries and calls ieee80211_link_stop(); the add path on the error branch\\ndoes not. Commit be1ba9ed221f (\\\"wifi: mac80211: avoid weird state in error\\npath\\\") hardened this same error path for the link-removal case\\n(new_links == 0) but left the newly-added links\u0027 teardown unaddressed.\\n\\ndrv_change_vif_links() can fail at runtime on MLO drivers (internal\\nallocation / queue / firmware command failures).\\n\\nRemove the new links\u0027 debugfs entries and stop them before freeing.\\n\\n  BUG: KASAN: slab-use-after-free in ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127)\\n  Read of size 8 at addr ffff888011290000 by task exploit/145\\n  Call Trace:\\n   ...\\n   ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127)\\n   short_proxy_read (fs/debugfs/file.c:373)\\n   vfs_read (fs/read_write.c:572)\\n   ksys_read (fs/read_write.c:716)\\n   do_syscall_64 (arch/x86/entry/syscall_64.c:94)\\n   entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)\\n  ...\\n  Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a\\n  RIP: 0010:ieee80211_if_read_link (net/mac80211/debugfs_netdev.c:127)\\n  Kernel panic - not syncing: Fatal exception\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"net/mac80211/link.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"170cd6a66d9a164180eb4dc72d50afa6ce1ce566\",\"lessThan\":\"329589417214d3b7221432e5b266ed2bba7ff674\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"170cd6a66d9a164180eb4dc72d50afa6ce1ce566\",\"lessThan\":\"c57d97f381306bbfba174e8f708419e007824e0c\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"170cd6a66d9a164180eb4dc72d50afa6ce1ce566\",\"lessThan\":\"0f7eaeb950adb77f71beb546e5ab30f90b41fe6f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"170cd6a66d9a164180eb4dc72d50afa6ce1ce566\",\"lessThan\":\"901a73523e093beff123b54b1ceaf3113f18acc9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"170cd6a66d9a164180eb4dc72d50afa6ce1ce566\",\"lessThan\":\"952c02b33f56207a160421bcd61e7ac53c9c59ae\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"net/mac80211/link.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.4\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.4\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.148\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.101\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.42\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.6\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc5\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":7.8,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.9}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/0f7eaeb950adb77f71beb546e5ab30f90b41fe6f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/329589417214d3b7221432e5b266ed2bba7ff674\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/901a73523e093beff123b54b1ceaf3113f18acc9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/952c02b33f56207a160421bcd61e7ac53c9c59ae\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c57d97f381306bbfba174e8f708419e007824e0c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-08T16:34:58+00:00",
      "cve": "CVE-2026-64574",
      "id": "CVE-2026-64574",
      "initial_release_date": "2026-08-05T00:00:00+00:00",
      "product_status:known_affected": "232",
      "product_status:known_not_affected": "42",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: wifi: mac80211: tear down new links on vif update error path",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-64574.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-06T23:56:19Z",
      "cve": "CVE-2026-64574",
      "id": "CVE-2026-64574",
      "initial_release_date": "2026-08-06T01:06:22Z",
      "product_status:known_affected": "30",
      "product_status:known_not_affected": "266",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64574",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64574.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…