# CVE-2026-98339: wifi: cfg80211: don't filter by BSS type when removing stale entries

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.41% (percentile 27, 2026-11-26)
- **Published:** 2026-10-06T08:46:29.998Z
- **Modified:** 2026-10-19T10:18:36.170Z

## Who should check

- Anyone running Linux \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 6ef87a853327434ae1cd9c5a2c27a557fb4047fc; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 1380ee3a202dbb9f8e8b3c3b87eb410450d57799; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< fb445ec7480da5d2b82bf681e3b4313603722729; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 64e23a36d8f04811372365b44cfca325f8e0f4bb; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 0aa44982125c86b47961be5ac1c82eddab8080f3; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< b377e1000d963e7182a987082b4b06580bd7ac84
- Anyone running Linux 5.4

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: cfg80211: don't filter by BSS type when removing stale entries

When an assoc AP switches to a channel that already has a BSS entry,
cfg80211\_update\_assoc\_bss\_entry() removes that entry before rehashing
the real one, since the two would otherwise collide in the BSS rbtree.

The lookup for that entry also required it to match the connection's BSS
type, so an entry advertising e.g. the IBSS capability bit was left in
place, and the following cfg80211\_rehash\_bss() then ran into it:

  WARN\_ON(!cmp)

Changing the type shouldn't really happen, but can be triggered by a
rogue AP/device, so drop the check and remove any entries matching
the comparison.

## Affected and fixed versions

- Linux: \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 6ef87a853327434ae1cd9c5a2c27a557fb4047fc; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 1380ee3a202dbb9f8e8b3c3b87eb410450d57799; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< fb445ec7480da5d2b82bf681e3b4313603722729; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 64e23a36d8f04811372365b44cfca325f8e0f4bb; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 0aa44982125c86b47961be5ac1c82eddab8080f3; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< b377e1000d963e7182a987082b4b06580bd7ac84 (cvelist)
- Linux: 5.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98339. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98339.md
Affected: Linux >= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, < 6ef87a853327434ae1cd9c5a2c27a557fb4047fc; >= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, < 1380ee3a202dbb9f8e8b3c3b87eb410450d57799; >= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, < fb445ec7480da5d2b82bf681e3b4313603722729; >= 0afd425b1b64251f19b5d8d…
Fixed in: Linux 6ef87a853327434ae1cd9c5a2c27a557fb4047fc, Linux 1380ee3a202dbb9f8e8b3c3b87eb410450d57799, Linux 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24, Linux 64e23a36d8f04811372365b44cfca325f8e0f4bb, Linux 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25, Linux 0aa44982125c86b47961be5ac1c82eddab8080f3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98339 being exploited?

There is no confirmed exploitation: CVE-2026-98339 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98339?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-98339?

Linux \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 6ef87a853327434ae1cd9c5a2c27a557fb4047fc; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 1380ee3a202dbb9f8e8b3c3b87eb410450d57799; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< fb445ec7480da5d2b82bf681e3b4313603722729; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 64e23a36d8f04811372365b44cfca325f8e0f4bb; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< 0aa44982125c86b47961be5ac1c82eddab8080f3; \>= 0afd425b1b64251f19b5d8d8b49bf56fefbc643f, \< b377e1000d963e7182a987082b4b06580bd7ac84; Linux 5.4.

### Is there a fix for CVE-2026-98339?

Yes. Fixed in Linux 6ef87a853327434ae1cd9c5a2c27a557fb4047fc, Linux 1380ee3a202dbb9f8e8b3c3b87eb410450d57799, Linux 65fdb973bd905bc3f5cb045a04c1828f2d2a7e24, Linux 64e23a36d8f04811372365b44cfca325f8e0f4bb, Linux 6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25, Linux 0aa44982125c86b47961be5ac1c82eddab8080f3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-98339?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/6ef87a853327434ae1cd9c5a2c27a557fb4047fc>
- other: <https://git.kernel.org/stable/c/1380ee3a202dbb9f8e8b3c3b87eb410450d57799>
- other: <https://git.kernel.org/stable/c/fb445ec7480da5d2b82bf681e3b4313603722729>
- other: <https://git.kernel.org/stable/c/65fdb973bd905bc3f5cb045a04c1828f2d2a7e24>
- other: <https://git.kernel.org/stable/c/64e23a36d8f04811372365b44cfca325f8e0f4bb>
- other: <https://git.kernel.org/stable/c/6d2fd26185678038ef2ea11dd4d2e6eccbf2dd25>
- other: <https://git.kernel.org/stable/c/0aa44982125c86b47961be5ac1c82eddab8080f3>
- other: <https://git.kernel.org/stable/c/b377e1000d963e7182a987082b4b06580bd7ac84>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98339>

HTML: <https://flawdb.com/CVE-2026-98339> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98339>
