CVE-2026-98341 (GCVE-0-2026-98341)

Vulnerability from cvelistv5 – Published: 2026-10-06 08:46 – Updated: 2026-10-07 06:50
VLAI
Title
wifi: cfg80211: don't free driver-owned scan requests
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: don't free driver-owned scan requests When an interface goes down while a scan is running, cfg80211 completes the scan towards userspace and frees the scan request. However, the driver can be convinced that it owns the request, since the cancellation is (intended to be) asynchronous. The WARN_ON() in the netdev notifier was meant to catch this, but it's not actually avoidable, so it triggers and we get a UAF in scan_done(). There doesn't seem to be a great way around it, so just track that the driver is still convinced it owns the request, and then just free it on completion if it was already cancelled. Also remove the warnings since they can trigger in the intended architecture.
Assigner
Linux CNA under the mitre root
CNA scorecard D 54/100 over 6633 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 4a58e7c38443154fce1b47910e1a9184f65c5d72 , < e8c75736cfd0c6c87562cda2312e3fe5e2227955 (git)
Affected: 4a58e7c38443154fce1b47910e1a9184f65c5d72 , < cf6da29d17994865f73ca70976495ea856909c63 (git)
Affected: 4a58e7c38443154fce1b47910e1a9184f65c5d72 , < dab68a74e90b8e07f08ed9deaa5884857a3cfe89 (git)
guessed Create a notification for this product.
Linux Linux Affected: 3.14
Unaffected: 0 , < 3.14 (semver)
Unaffected: 6.18.54 , ≤ 6.18.* (semver)
Unaffected: 7.2.8 , ≤ 7.2.* (semver)
Unaffected: 7.3-rc4 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/wireless/core.c",
            "net/wireless/core.h",
            "net/wireless/rdev-ops.h",
            "net/wireless/scan.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "e8c75736cfd0c6c87562cda2312e3fe5e2227955",
              "status": "affected",
              "version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
              "versionType": "git"
            },
            {
              "lessThan": "cf6da29d17994865f73ca70976495ea856909c63",
              "status": "affected",
              "version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
              "versionType": "git"
            },
            {
              "lessThan": "dab68a74e90b8e07f08ed9deaa5884857a3cfe89",
              "status": "affected",
              "version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/wireless/core.c",
            "net/wireless/core.h",
            "net/wireless/rdev-ops.h",
            "net/wireless/scan.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.14"
            },
            {
              "lessThan": "3.14",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.54",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.8",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc4",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.54",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.8",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc4",
                  "versionStartIncluding": "3.14",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: don\u0027t free driver-owned scan requests\n\nWhen an interface goes down while a scan is running, cfg80211 completes\nthe scan towards userspace and frees the scan request. However, the\ndriver can be convinced that it owns the request, since the cancellation\nis (intended to be) asynchronous.\n\nThe WARN_ON() in the netdev notifier was meant to catch this, but it\u0027s\nnot actually avoidable, so it triggers and we get a UAF in scan_done().\n\nThere doesn\u0027t seem to be a great way around it, so just track that the\ndriver is still convinced it owns the request, and then just free it on\ncompletion if it was already cancelled. Also remove the warnings since\nthey can trigger in the intended architecture."
        }
      ],
      "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 - Nothing from the air causes this. It needs the interface taken down during a running scan, which is done locally: link-down/dev_close to the NETDEV_DOWN branch of cfg80211_netdev_notifier_call(), or a /dev/rfkill soft-block via cfg80211_rfkill_set_block()-\u003ecfg80211_shutdown_all_interfaces(). A WiFi peer cannot cause either, so the vector is local.\nAC:L - The attacker causes both sides: start a scan (nl80211 TRIGGER_SCAN or a NetworkManager scan request), then block rfkill or bring the link down. With hw_scan drivers ieee80211_scan_cancel() only calls drv_cancel_hw_scan() and returns. ___cfg80211_scan_done() frees the request before the driver\u0027s async completion calls cfg80211_scan_done(), so the window is the whole multi-second scan.\nPR:L - Direct nl80211/rtnetlink control of an init_net wiphy needs CAP_NET_ADMIN. But on standard systemd desktops the active console user can write /dev/rfkill (uaccess rule), and an rfkill block runs dev_close() into the freeing notifier. That user can also request scans, so an ordinary local user is enough.\nUI:N - The attacker does both steps (start the scan, then rfkill-block or take the link down) without any action from another user.\nS:U - The UAF corrupts kernel heap memory under the same kernel authority. No VM, IOMMU or sandbox boundary is crossed.\nC:H - The freed cfg80211_scan_request_int is a kmalloc object whose size the attacker sets through the scan\u0027s channel count and IE length. The driver and cfg80211_scan_done() later read it (info, wdev, notified), so a reclaimed object can be used to leak kernel memory.\nI:H - cfg80211_scan_done() writes into the freed request (intreq-\u003einfo, notified) and follows req.wdev from it. Reclaiming the slot with attacker-controlled data gives a write and pointer-confusion primitive that could be used for privilege escalation.\nA:H - The use-after-free in cfg80211_scan_done() reached from the mac80211 scan completion work (syzbot report) gives a KASAN splat or kernel oops, and it can be repeated at will."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-10-07T06:50:09.191Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/e8c75736cfd0c6c87562cda2312e3fe5e2227955"
        },
        {
          "url": "https://git.kernel.org/stable/c/cf6da29d17994865f73ca70976495ea856909c63"
        },
        {
          "url": "https://git.kernel.org/stable/c/dab68a74e90b8e07f08ed9deaa5884857a3cfe89"
        }
      ],
      "title": "wifi: cfg80211: don\u0027t free driver-owned scan requests",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-98341",
    "datePublished": "2026-10-06T08:46:31.585Z",
    "dateReserved": "2026-09-25T10:25:14.342Z",
    "dateUpdated": "2026-10-07T06:50:09.191Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-98341",
      "date": "2026-10-08",
      "epss": "0.00136",
      "percentile": "0.02628"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/wireless/core.c",
                  "net/wireless/core.h",
                  "net/wireless/rdev-ops.h",
                  "net/wireless/scan.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "e8c75736cfd0c6c87562cda2312e3fe5e2227955",
                    "status": "affected",
                    "version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "cf6da29d17994865f73ca70976495ea856909c63",
                    "status": "affected",
                    "version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "dab68a74e90b8e07f08ed9deaa5884857a3cfe89",
                    "status": "affected",
                    "version": "4a58e7c38443154fce1b47910e1a9184f65c5d72",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/wireless/core.c",
                  "net/wireless/core.h",
                  "net/wireless/rdev-ops.h",
                  "net/wireless/scan.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "3.14"
                  },
                  {
                    "lessThan": "3.14",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.54",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.2.*",
                    "status": "unaffected",
                    "version": "7.2.8",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "*",
                    "status": "unaffected",
                    "version": "7.3-rc4",
                    "versionType": "original_commit_for_fix"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: cfg80211: don\u0027t free driver-owned scan requests\n\nWhen an interface goes down while a scan is running, cfg80211 completes\nthe scan towards userspace and frees the scan request. However, the\ndriver can be convinced that it owns the request, since the cancellation\nis (intended to be) asynchronous.\n\nThe WARN_ON() in the netdev notifier was meant to catch this, but it\u0027s\nnot actually avoidable, so it triggers and we get a UAF in scan_done().\n\nThere doesn\u0027t seem to be a great way around it, so just track that the\ndriver is still convinced it owns the request, and then just free it on\ncompletion if it was already cancelled. Also remove the warnings since\nthey can trigger in the intended architecture."
          }
        ],
        "id": "CVE-2026-98341",
        "lastModified": "2026-10-07T07:17:09.690",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-10-06T09:18:26.873",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/cf6da29d17994865f73ca70976495ea856909c63"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/dab68a74e90b8e07f08ed9deaa5884857a3cfe89"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e8c75736cfd0c6c87562cda2312e3fe5e2227955"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-10-08T16:47:09Z",
      "cve": "CVE-2026-98341",
      "id": "CVE-2026-98341",
      "initial_release_date": "2026-10-08T16:47:09Z",
      "product_status:known_affected": "343",
      "product_status:known_not_affected": "4",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-98341",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-98341.json",
      "version": "2"
    }
  }
}



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…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…