wifi: virt_wifi: don't transfer operstate before register (Linux Linux)

CVE-2026-98311
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.14 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected c7cdba31ed8b87526db978976392802d3f93110c < ee9ea1afd6990def51d52b3a0aecd5cfcc951da0 ; affected c7cdba31ed8b87526db978976392802d3f93110c < 9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225 ; affected c7cdba31ed8b87526db978976392802d3f93110c < f9526054c2b2cace5916b7225603d008834ec011 ; affected c7cdba31ed8b87526db978976392802d3f93110c < e8304e25c6dabb8accf38b807969438d0ce84fd7 ; affected c7cdba31ed8b87526db978976392802d3f93110c < ca49763c42c1089d654bf11b037980a9ede3772c ; affected c7cdba31ed8b87526db978976392802d3f93110c < 293c56a66510bb7de073a1aba388e38abddff1fb
Linux · Linuxaffected 5.0 ; unaffected 0 < 5.0 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD