{"id":"CVE-2026-98311","summary":"wifi: virt_wifi: don't transfer operstate before register","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: virt_wifi: don't transfer operstate before register\n\nvirt_wifi_newlink() calls netif_stacked_transfer_operstate() before\nregister_netdevice(). If the lower device is dormant, that queues the\nnew netdev on lweventlist while it is still uninitialized. If\nregistration fails after that, for example because of an invalid name\nsuch as \"bad/name\", free_netdev() immediately frees the object. A\nlater linkwatch_fire_event() then use-after-frees the list entry.\n\nMove the transfer to after netdev_upper_dev_link(), as macvlan and\nipvlan already do.","modified":"2026-10-08T02:50:03.779532347Z","published":"2026-10-06T08:46:07.562Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98311.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/293c56a66510bb7de073a1aba388e38abddff1fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b808a9af5fd21f9c68b0d024eda7535b5dce6a4e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ca49763c42c1089d654bf11b037980a9ede3772c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5c8d7acd31b27057ea42cd405d0b3ece097bc89"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e8304e25c6dabb8accf38b807969438d0ce84fd7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee9ea1afd6990def51d52b3a0aecd5cfcc951da0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f9526054c2b2cace5916b7225603d008834ec011"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98311.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98311"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c7cdba31ed8b87526db978976392802d3f93110c"},{"fixed":"ee9ea1afd6990def51d52b3a0aecd5cfcc951da0"},{"fixed":"9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225"},{"fixed":"f9526054c2b2cace5916b7225603d008834ec011"},{"fixed":"e8304e25c6dabb8accf38b807969438d0ce84fd7"},{"fixed":"ca49763c42c1089d654bf11b037980a9ede3772c"},{"fixed":"293c56a66510bb7de073a1aba388e38abddff1fb"},{"fixed":"b808a9af5fd21f9c68b0d024eda7535b5dce6a4e"},{"fixed":"e5c8d7acd31b27057ea42cd405d0b3ece097bc89"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98311.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.0.0"},{"fixed":"5.10.271"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.222"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.189"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.158"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.112"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.54"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.8"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-98311.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}