CVE-2025-68372
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-68372 is a use-after-free (UAF) vulnerability in the Linux kernel's NBD (Network Block Device) subsystem, specifically within the recv_work function. It arises from improper reference counting of the NBD configuration object when NBD_CLEAR_SOCK and/or NBD_CMD_RECONFIGURE operations are performed, allowing the config structure to be freed while recv_work is still executing. The vulnerability was published on December 24, 2025, and affects the Linux kernel broadly, with confirmed impact on Microsoft Azure Linux 3 kernel versions 6.6.117.1-1 and 6.6.119.3-3. It carries a CVSS v3.1 base score of 5.5 (Medium) (Feedly, Microsoft MSRC).

Technical details

The root cause is a use-after-free condition (CWE-416) in the Linux kernel NBD subsystem. A prior commit (87aac3a80af5) moved nbd_config_put() to execute before waking the waiter in recv_work to prevent nbd_start_device_ioctl() from being woken while nbd->task_recv was still set; however, nbd_start_device_ioctl() already calls flush_workqueue() after waking to ensure all work is complete, making the early config_put unnecessary and dangerous. When a local attacker with low privileges sequences NBD_CLEAR_SOCK and NBD_CMD_RECONFIGURE (or simply NBD_CLEAR_SOCK combined with closing the NBD device), the configuration reference counter can reach zero and the config memory freed before recv_work finishes, causing atomic_dec(&config->recv_threads) to access freed memory. The fix moves nbd_config_put() to the end of recv_work, ensuring the reference is held for the full lifetime of the worker thread (Feedly, kernel.org patch).

Impact

Successful exploitation by a local attacker with low privileges can cause a kernel crash (panic) via access to freed memory, resulting in a denial of service. While the primary impact is availability degradation, use-after-free vulnerabilities in kernel subsystems can in some cases be leveraged for privilege escalation or arbitrary kernel code execution, though no such exploitation has been demonstrated for this specific CVE. Confidentiality and integrity are not directly impacted under the assessed CVSS scoring (Feedly, Microsoft MSRC).

Indicators of compromise

  • Logs: Kernel oops or panic messages in /var/log/kern.log or dmesg output referencing use-after-free in the NBD subsystem (nbd, recv_work, nbd_config_put, or atomic_dec).
  • Logs: Kernel crash dumps (kdump/vmcore) triggered unexpectedly on systems using NBD devices.
  • Process/Behavior: Unexpected system reboots or kernel panics on hosts actively using NBD (Network Block Device) with concurrent socket clear and reconfigure operations.
  • File System: Presence of core dump files or crash reports in /var/crash/ or /var/lib/systemd/coredump/ following NBD operations.

Mitigation and workarounds

Apply the available kernel patch that moves nbd_config_put() to the end of recv_work, which is included in updated Linux kernel stable releases. For Microsoft Azure Linux 3, update from the vulnerable kernel versions (6.6.117.1-1 and 6.6.119.3-3) to the patched versions. Downstream distributions including Debian (linux 6.1.162-1), Ubuntu (USN-8179-1 through USN-8265-1), SUSE, Oracle Linux, and Amazon Linux 2 have also released kernel updates addressing this CVE. As a workaround, restrict NBD device access and operations to trusted users only, since exploitation requires local access with low privileges (Feedly, Microsoft MSRC, Debian Tracker, Ubuntu USN-8179-1).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management