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.

Severity (CVSS)

Base score7.8
SeverityHigh
VersionCVSS 3.1
VectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Provided byCNA

Affected products

VendorProductVersions
LinuxLinuxc7cdba31ed8b87526db978976392802d3f93110c to <ee9ea1afd6990def51d52b3a0aecd5cfcc951da0; c7cdba31ed8b87526db978976392802d3f93110c to <9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225; c7cdba31ed8b87526db978976392802d3f93110c to <f9526054c2b2cace5916b7225603d008834ec011; c7cdba31ed8b87526db978976392802d3f93110c to <e8304e25c6dabb8accf38b807969438d0ce84fd7; c7cdba31ed8b87526db978976392802d3f93110c to <ca49763c42c1089d654bf11b037980a9ede3772c; c7cdba31ed8b87526db978976392802d3f93110c to <293c56a66510bb7de073a1aba388e38abddff1fb; c7cdba31ed8b87526db978976392802d3f93110c to <b808a9af5fd21f9c68b0d024eda7535b5dce6a4e; c7cdba31ed8b87526db978976392802d3f93110c to <e5c8d7acd31b27057ea42cd405d0b3ece097bc89
LinuxLinux5.0; 0 to <5.0; 5.10.271 to <=5.10.*; 5.15.222 to <=5.15.*; 6.1.189 to <=6.1.*; 6.6.158 to <=6.6.*; 6.12.112 to <=6.12.*; 6.18.54 to <=6.18.*; 7.2.8 to <=7.2.*; 7.3-rc4 to <=*

References

Authoritative sources

This page is a snapshot. For the latest enrichment and updates, view the record on CVE.org or the NVD.

Generated from the official CVE List on 07 Oct 2026 08:28 UTC.