CVE-2025-68366
Use-After-Free in Linux Kernel NBD Component Causes Potential Crash
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free issue in the Linux kernel's Network Block Device (NBD) subsystem. It occurs in the nbd_genl_connect function when handling NBD_CMD_CONNECT and NBD_CLEAR_SOCK commands. Specifically, the problem arises due to improper reference counting on the config_refs variable, where a reference count increment happens after the reference count has dropped to zero, leading to a use-after-free condition.
How can this vulnerability impact me? :
The use-after-free vulnerability can lead to undefined behavior such as kernel crashes or potential execution of arbitrary code with kernel privileges. This can compromise system stability and security, potentially allowing attackers to escalate privileges or cause denial of service.