Vulnerability in Kernel (CVE-2026-31695)
Summary
Vulnerability in Kernel (CVE-2026-31695). Successful exploitation can lead to full system takeover. Exploitable via dev.parent. Mitigation: upgrade to 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12 or later.
Original description
The description as published by the source.
In the Linux kernel, the following vulnerability has been resolved:
wifi: virt_wifi: remove SET_NETDEV_DEV to avoid use-after-free
Currently we execute SET_NETDEV_DEV(dev, &priv->lowerdev->dev) for
the virt_wifi net devices. However, unregistering a virt_wifi device in
netdev_run_todo() can happen together with the device referenced by
SET_NETDEV_DEV().
It can result in use-after-free during the ethtool operations performed
on a virt_wifi device that is currently being unregistered. Such a net
device can have the dev.parent field pointing to the freed memory,
but ethnl_ops_begin() calls pm_runtime_get_sync(dev->dev.parent).
Let's remove SET_NETDEV_DEV for virt_wifi to avoid bugs like this:
==================================================================
BUG: KASAN: slab-use-after-free in __pm_runtime_resume+0xe2/0xf0
Read of size 2 at addr ffff88810cfc46f8 by task pm/606
Call Trace:
dump_stack_lvl+0x4d/0x70
print_report+0x170/0x4f3
? __pfx__raw_spin_lock_irqsave+0x10/0x10
kasan_report+0xda/0x110
? __pm_runtime_resume+0xe2/0xf0
? __pm_runtime_resume+0xe2/0xf0
__pm_runtime_resume+0xe2/0xf0
ethnl_ops_begin+0x49/0x270
ethnl_set_features+0x23c/0xab0
? __pfx_ethnl_set_features+0x10/0x10
? kvm_sched_clock_read+0x11/0x20
? local_clock_noinstr+0xf/0xf0
? local_clock+0x10/0x30
? kasan_save_track+0x25/0x60
? __kasan_kmalloc+0x7f/0x90
? genl_family_rcv_msg_attrs_parse.isra.0+0x150/0x2c0
genl_family_rcv_msg_doit+0x1e7/0x2c0
? _pfx…
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-31695 has been found in Kernel.
Attackers can target a specific entry point like dev.parent over the network to misuse the product.
Successful exploitation can lead to full system takeover.
What to do: upgrade Kernel to 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12 or later.
If unsure, ask your IT team or search "Kernel CVE-2026-31695" on the vendor's site.
CVE-2026-31695 (Kernel)
Attack vector: local / no user interaction
Attack surface: dev.parent
Patched: 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (unclassified) exists in Kernel. Attackers reach the vulnerable code path via dev.parent.
Check the vendor advisory for the affected versions of Kernel. Attack surface: dev.parent.
Severity: ?. Successful exploitation can lead to full system takeover.
Update to 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Kernel' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'Kernel' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Kernelを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply patch patch
Upgrade Kernel to 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12ステージング環境で 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- BellSoft Alpaquita BELL-CVE-2026-31695 linux-lts Fixed in: 6.1.168-r0
- Debian DEBIAN-CVE-2026-31695 linux Fixed in: 6.1.170-1
- Ubuntu UBUNTU-CVE-2026-31695 linux-hwe-edge
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org