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.
Published: 2026-10-06
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use-after-Free kernel memory corruption
Action: Apply Patch
AI Analysis

Impact

The virt_wifi driver of the Linux kernel transfers a device’s operational state before the device is registered. If registration fails—such as when an invalid device name is supplied—the driver frees the device structure immediately, while a previously queued link watch event still holds a reference to that structure. This sequence causes a use‑after‑free that can corrupt kernel memory, potentially enabling local privilege escalation or system compromise.

Affected Systems

Any Linux distribution or kernel build that includes the virt_wifi driver is potentially affected, regardless of the specific kernel version, because the flaw resides in the driver’s registration logic.

Risk and Exploitability

The CVSS score of 7.8 reflects a medium‑to‑high severity risk, while the EPSS score of <1% indicates an exceptionally low probability of exploitation in the wild. The flaw is not listed in the CISA KEV catalog. Exploitation requires local access to trigger a registration failure and a subsequent link watch event, so it is unlikely to be widely exploited but could be leveraged by a determined attacker with local privileges, or during system boot if the kernel loads an invalid device name.

Generated by OpenCVE AI on October 10, 2026 at 03:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch moving operstate transfer after registration
  • If a patch is not yet applied, unload or blacklist the virt_wifi kernel module to prevent the flaw from being activated
  • Monitor dmesg and kernel logs for use‑after‑free or warning messages that may indicate an unrecognized device name has been registered

Generated by OpenCVE AI on October 10, 2026 at 03:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6568-1 linux security update
History

Sat, 10 Oct 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sat, 10 Oct 2026 00:30:00 +0000


Wed, 07 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 07 Oct 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Wed, 07 Oct 2026 07:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Tue, 06 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 06 Oct 2026 09:00:00 +0000

Type Values Removed Values Added
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.
Title wifi: virt_wifi: don't transfer operstate before register
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:17:21.813Z

Reserved: 2026-09-25T10:25:14.339Z

Link: CVE-2026-98311

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-06T09:18:22.573

Modified: 2026-10-19T10:18:33.153

Link: CVE-2026-98311

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-06T00:00:00Z

Links: CVE-2026-98311 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-10T03:30:16Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference