# CVE-2026-98311: wifi: virt\_wifi: don't transfer operstate before register

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-10-06T08:46:07.562Z
- **Modified:** 2026-10-19T10:18:33.153Z

## Who should check

- Anyone running Linux \>= c7cdba31ed8b87526db978976392802d3f93110c, \< ee9ea1afd6990def51d52b3a0aecd5cfcc951da0; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< f9526054c2b2cace5916b7225603d008834ec011; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< e8304e25c6dabb8accf38b807969438d0ce84fd7; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< ca49763c42c1089d654bf11b037980a9ede3772c; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< 293c56a66510bb7de073a1aba388e38abddff1fb; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< b808a9af5fd21f9c68b0d024eda7535b5dce6a4e; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< e5c8d7acd31b27057ea42cd405d0b3ece097bc89
- Anyone running Linux 5.0

## Description

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

wifi: virt\_wifi: don't transfer operstate before register

virt\_wifi\_newlink() calls netif\_stacked\_transfer\_operstate() before
register\_netdevice(). If the lower device is dormant, that queues the
new netdev on lweventlist while it is still uninitialized. If
registration fails after that, for example because of an invalid name
such as "bad/name", free\_netdev() immediately frees the object. A
later linkwatch\_fire\_event() then use-after-frees the list entry.

Move the transfer to after netdev\_upper\_dev\_link(), as macvlan and
ipvlan already do.

## Affected and fixed versions

- Linux: \>= c7cdba31ed8b87526db978976392802d3f93110c, \< ee9ea1afd6990def51d52b3a0aecd5cfcc951da0; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< f9526054c2b2cace5916b7225603d008834ec011; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< e8304e25c6dabb8accf38b807969438d0ce84fd7; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< ca49763c42c1089d654bf11b037980a9ede3772c; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< 293c56a66510bb7de073a1aba388e38abddff1fb; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< b808a9af5fd21f9c68b0d024eda7535b5dce6a4e; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< e5c8d7acd31b27057ea42cd405d0b3ece097bc89 (cvelist)
- Linux: 5.0 (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-98311. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98311.md
Affected: Linux >= c7cdba31ed8b87526db978976392802d3f93110c, < ee9ea1afd6990def51d52b3a0aecd5cfcc951da0; >= c7cdba31ed8b87526db978976392802d3f93110c, < 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225; >= c7cdba31ed8b87526db978976392802d3f93110c, < f9526054c2b2cace5916b7225603d008834ec011; >= c7cdba31ed8b87526db9789…
Fixed in: Linux 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225, Linux 293c56a66510bb7de073a1aba388e38abddff1fb

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-98311 being exploited?

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

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

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

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

Linux \>= c7cdba31ed8b87526db978976392802d3f93110c, \< ee9ea1afd6990def51d52b3a0aecd5cfcc951da0; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< f9526054c2b2cace5916b7225603d008834ec011; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< e8304e25c6dabb8accf38b807969438d0ce84fd7; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< ca49763c42c1089d654bf11b037980a9ede3772c; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< 293c56a66510bb7de073a1aba388e38abddff1fb; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< b808a9af5fd21f9c68b0d024eda7535b5dce6a4e; \>= c7cdba31ed8b87526db978976392802d3f93110c, \< e5c8d7acd31b27057ea42cd405d0b3ece097bc89; Linux 5.0.

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

Yes. Fixed in Linux 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225, Linux 293c56a66510bb7de073a1aba388e38abddff1fb. No fix listed yet: follow the vendor advisory.

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

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/ee9ea1afd6990def51d52b3a0aecd5cfcc951da0>
- other: <https://git.kernel.org/stable/c/9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225>
- other: <https://git.kernel.org/stable/c/f9526054c2b2cace5916b7225603d008834ec011>
- other: <https://git.kernel.org/stable/c/e8304e25c6dabb8accf38b807969438d0ce84fd7>
- other: <https://git.kernel.org/stable/c/ca49763c42c1089d654bf11b037980a9ede3772c>
- other: <https://git.kernel.org/stable/c/293c56a66510bb7de073a1aba388e38abddff1fb>
- other: <https://git.kernel.org/stable/c/b808a9af5fd21f9c68b0d024eda7535b5dce6a4e>
- other: <https://git.kernel.org/stable/c/e5c8d7acd31b27057ea42cd405d0b3ece097bc89>

## 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-98311>

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