CVE-2025-21670: Linux kernel · vsock/bpf: return early if transport is not assigned
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 6.8.0-1030.32~22.04.1 : update Linux kernel when convenient.
Data as of 24 Nov 2026, 19:55 UTC
- Patch
- Available – fixed in 6.8.0-1030.32~22.04.1, 6.8.0-1030.35~22.04.1, 6.8.0-1031.33~22.04.1 +31
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 31 Jan 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and included in Linux kernel versions 6.8.0-1030.32~22.04.1 and later. Users should update their Linux kernel to these fixed versions or newer to remediate the vulnerability. After updating, a system reboot is required to apply the fix. Due to ABI changes, recompilation and reinstallation of third-party kernel modules may be necessary. No additional mitigation steps are required beyond applying the official update.
Description
A vulnerability in the Linux kernel's vsock/bpf subsystem could cause a kernel NULL pointer dereference when the transport is not assigned to a socket, such as after a failed connect() call. This flaw leads to a kernel crash (Oops) due to dereferencing a NULL pointer. The issue is fixed by adding an early return in the vsock_bpf_recvmsg() function if the transport is not assigned. Multiple Linux kernel versions prior to 6.8.0-1030.32~22.04.1 and related builds are affected. A patch is available and included in Linux kernel version 6.8.0 and later. The vulnerability has a CVSS score of 5.5 (medium severity) and does not impact confidentiality or integrity but causes availability impact due to kernel crashes. No known exploits in the wild have been reported. Users should update to the fixed kernel versions to mitigate this issue.
References
- ubuntu.com/security/CVE-2025-21670 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21670 (opens in a new tab)
- git.kernel.org/linus/f6abafcd32f9cfc4b1a2f820ecea70773e26d423 (opens in a new tab)
- git.kernel.org/stable/c/58e586c30d0b6f5dc0174a41026f2b0a48c9aab6 (opens in a new tab)
- git.kernel.org/stable/c/6771e1279dadf1d92a72e1465134257d9e6f2459 (opens in a new tab)
- git.kernel.org/stable/c/f6abafcd32f9cfc4b1a2f820ecea70773e26d423 (opens in a new tab)
- ubuntu.com/security/notices/USN-7445-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7448-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7596-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-7595-5 (opens in a new tab)
- ubuntu.com/security/notices/USN-7653-1 (opens in a new tab)