# wifi: virt_wifi: remove SET_NETDEV_DEV to avoid use-after-free

CVE record · `CVE-2026-31695`

- **Identifiers:** `CVE-2026-31695`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 1 May 2026
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 1 May 2026, 13:53 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `d43c65b05b848e0b2db1a6c78b02c189da3a95b5 to before e90f3e74e1ebc26c461a74be490d322716bcdcb4` (git)
  - affected: `d43c65b05b848e0b2db1a6c78b02c189da3a95b5 to before dcb5915696bd7b32b6404a897c24ee47cb23e772` (git)
  - affected: `d43c65b05b848e0b2db1a6c78b02c189da3a95b5 to before d1e3aa80e6e04410ba89eaaba4441a0d749d181d` (git)
  - affected: `d43c65b05b848e0b2db1a6c78b02c189da3a95b5 to before c5fa98842783ed227365d1303785de6a67020c8d` (git)
  - affected: `d43c65b05b848e0b2db1a6c78b02c189da3a95b5 to before 5bbadf60b121065ffb267ec92018607b9c1c7524` (git)
  - affected: `d43c65b05b848e0b2db1a6c78b02c189da3a95b5 to before 5adc01506da94dfaab76f3d1b8410a8ca7bfc59d` (git)
  - affected: `d43c65b05b848e0b2db1a6c78b02c189da3a95b5 to before 789b06f9f39cdc7e895bdab2c034e39c41c8f8d6` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.15`
  - unaffected: `before 5.15` (semver)
  - unaffected: `5.15.203 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.168 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.134 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.81 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.22 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.12 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 1 May 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31695)

## Sources

- [CVE List: CVE-2026-31695](https://www.cve.org/CVERecord?id=CVE-2026-31695)
- [NVD: CVE-2026-31695](https://nvd.nist.gov/vuln/detail/CVE-2026-31695)

### References from the CNA

- <https://git.kernel.org/stable/c/e90f3e74e1ebc26c461a74be490d322716bcdcb4>
- <https://git.kernel.org/stable/c/dcb5915696bd7b32b6404a897c24ee47cb23e772>
- <https://git.kernel.org/stable/c/d1e3aa80e6e04410ba89eaaba4441a0d749d181d>
- <https://git.kernel.org/stable/c/c5fa98842783ed227365d1303785de6a67020c8d>
- <https://git.kernel.org/stable/c/5bbadf60b121065ffb267ec92018607b9c1c7524>
- <https://git.kernel.org/stable/c/5adc01506da94dfaab76f3d1b8410a8ca7bfc59d>
- <https://git.kernel.org/stable/c/789b06f9f39cdc7e895bdab2c034e39c41c8f8d6>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31695>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31695/>. Everything for agents: <https://agentprime.io/llms.txt>.
