{"id":"CVE-2026-98311","aliases":["CVE-2026-98311"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: virt_wifi: don't transfer operstate before register","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-06T08:46:07.562Z","modified":"2026-10-19T10:18:33.153Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"ee9ea1afd6990def51d52b3a0aecd5cfcc951da0","status":"affected"},{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225","status":"affected"},{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"f9526054c2b2cace5916b7225603d008834ec011","status":"affected"},{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"e8304e25c6dabb8accf38b807969438d0ce84fd7","status":"affected"},{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"ca49763c42c1089d654bf11b037980a9ede3772c","status":"affected"},{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"293c56a66510bb7de073a1aba388e38abddff1fb","status":"affected"},{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"b808a9af5fd21f9c68b0d024eda7535b5dce6a4e","status":"affected"},{"type":"git","introduced":"c7cdba31ed8b87526db978976392802d3f93110c","fixed":"e5c8d7acd31b27057ea42cd405d0b3ece097bc89","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.112","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.54","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.8","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ee9ea1afd6990def51d52b3a0aecd5cfcc951da0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ce26201f6dedf3fa02b97da8c67ee6f6c5f7225","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f9526054c2b2cace5916b7225603d008834ec011","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e8304e25c6dabb8accf38b807969438d0ce84fd7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ca49763c42c1089d654bf11b037980a9ede3772c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/293c56a66510bb7de073a1aba388e38abddff1fb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b808a9af5fd21f9c68b0d024eda7535b5dce6a4e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e5c8d7acd31b27057ea42cd405d0b3ece097bc89","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98311","url":"https://www.cve.org/CVERecord?id=CVE-2026-98311","licence":"CVE Terms of Use","modified":"2026-10-19T09:17:21.813Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98311","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98311","licence":"Public domain","modified":"2026-10-19T10:18:33.153Z"}],"updatedAt":"2026-11-25T22:59:42.325Z","epss":{"score":0.00135,"percentile":0.03173,"date":"2026-12-01T12:00:22.000Z"}}