# CVE-2026-98311: wifi: virt_wifi: don't transfer operstate before register

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-10-06T08:46:07.562Z
- Modified: 2026-10-19T10:18:33.153Z
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from c7cdba31ed8b87526db978976392802d3f93110c before ee9ea1afd6990def51d52b3a0aecd5cfcc951da0; from c7cdba31ed8b87526db978976392802d3f93110c before 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225; from c7cdba31ed8b87526db978976392802d3f93110c before f9526054c2b2cace5916b7225603d008834ec011; from c7cdba31ed8b87526db978976392802d3f93110c before e8304e25c6dabb8accf38b807969438d0ce84fd7; from c7cdba31ed8b87526db978976392802d3f93110c before ca49763c42c1089d654bf11b037980a9ede3772c; from c7cdba31ed8b87526db978976392802d3f93110c before 293c56a66510bb7de073a1aba388e38abddff1fb; from c7cdba31ed8b87526db978976392802d3f93110c before b808a9af5fd21f9c68b0d024eda7535b5dce6a4e; from c7cdba31ed8b87526db978976392802d3f93110c before e5c8d7acd31b27057ea42cd405d0b3ece097bc89; 5.0 (not affected: before 5.0; from 5.10.271 up to 5.10.*; from 5.15.222 up to 5.15.*; from 6.1.189 up to 6.1.*; from 6.6.158 up to 6.6.*; from 6.12.112 up to 6.12.*; from 6.18.54 up to 6.18.*; from 7.2.8 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/ee9ea1afd6990def51d52b3a0aecd5cfcc951da0>
- <https://git.kernel.org/stable/c/9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225>
- <https://git.kernel.org/stable/c/f9526054c2b2cace5916b7225603d008834ec011>
- <https://git.kernel.org/stable/c/e8304e25c6dabb8accf38b807969438d0ce84fd7>
- <https://git.kernel.org/stable/c/ca49763c42c1089d654bf11b037980a9ede3772c>
- <https://git.kernel.org/stable/c/293c56a66510bb7de073a1aba388e38abddff1fb>
- <https://git.kernel.org/stable/c/b808a9af5fd21f9c68b0d024eda7535b5dce6a4e>
- <https://git.kernel.org/stable/c/e5c8d7acd31b27057ea42cd405d0b3ece097bc89>

## Sources

- CVE List: [CVE-2026-98311](https://www.cve.org/CVERecord?id=CVE-2026-98311), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98311](https://nvd.nist.gov/vuln/detail/CVE-2026-98311), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98311 · Whole record: https://cve.day/CVE-2026-98311.json · Rebuilt by cve.day 2026-11-25T22:59:42.325Z
