Skip to main content
Mallory
UnratedVulnerability

CVE-2025-68366: Use-after-free in Linux kernel NBD nbd_genl_connect

Published Dec 24, 2025 · Updated 7 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS0.29%14th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2025-68366CWE-416

CVE-2025-68366 is a use-after-free vulnerability in the Linux kernel Network Block Device (NBD) subsystem. In nbd_genl_connect(), the configuration mutex is released before the configuration reference count is incremented. Concurrent NBD_CMD_CONNECT and NBD_CLEAR_SOCK operations, combined with receive-worker completion and device opening and closing, can reduce config_refs to zero and free the configuration before the connect path finishes accessing it. The subsequent reference-count increment triggers a use-after-free warning. The fix defers releasing the configuration mutex to protect the configuration reference acquisition.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful triggering causes a kernel use-after-free and reference-count warning, potentially resulting in a kernel crash and local denial of service. SUSE assesses high availability impact with no confidentiality or integrity impact. Privilege escalation or arbitrary code execution has not been established for this vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until the kernel is updated, restrict access to NBD device-management interfaces to trusted administrators and prevent untrusted workloads from manipulating NBD devices. Where NBD is unnecessary, disable or unload the NBD module and prevent it from being loaded. These measures reduce exposure but do not correct the reference-counting race.

Remediation

Patch, then assume compromise.

Install a vendor-supported kernel update containing the fix that defers configuration unlocking in nbd_genl_connect(), then reboot into the updated kernel. Fixed distribution builds include Debian bookworm linux 6.1.162-1; RHEL 8.10 kernel 4.18.0-553.132.1.el8_10; RHEL 9.4 kernel 5.14.0-427.127.1.el9_4; RHEL 9.6 kernel 5.14.0-570.119.1.el9_6; and RHEL 10.0 kernel 6.12.0-55.77.1.el10_0. Use the update appropriate to the installed distribution, kernel flavor, and support channel rather than comparing version numbers across distributions.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

Frequently asked questions

Is CVE-2025-68366 exploited in the wild?
As of Nov 21, 2026, Mallory has no reports of CVE-2025-68366 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2025-68366?
As of Nov 21, 2026, Mallory has found no public exploit for CVE-2025-68366.
Is there a patch for CVE-2025-68366?
Install a vendor-supported kernel update containing the fix that defers configuration unlocking in nbd_genl_connect(), then reboot into the updated kernel. Fixed distribution builds include Debian bookworm linux 6.1.162-1; RHEL 8.10 kernel 4.18.0-553.132.1.el8_10; RHEL 9.4 kernel 5.14.0-427.127.1.el9_4; RHEL 9.6 kernel 5.14.0-570.119.1.el9_6; and RHEL 10.0 kernel 6.12.0-55.77.1.el10_0.
What products are affected by CVE-2025-68366?
Linux Kernel.
How severe is CVE-2025-68366?
CVE-2025-68366 has an EPSS score of 0.29% (14th percentile) as of Nov 21, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity3Community discussion across Reddit, Mastodon, and other social sources.