Linux Kernel
CVE-2025-38443
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local privileged access
-
DeliveryIssue nbd netlink connect (NBD_CMD_CONNECT)
-
ExploitTrigger connect error path after device start
-
Executionrecv_work writes to freed config object
-
ImpactKernel use-after-free / potential privilege escalation
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires local access on a Linux host with the nbd (Network Block Device) driver available, and the privileges needed to use the nbd generic-netlink configuration interface (nbd device setup is an administrative/CAP_SYS_ADMIN-class operation). The specific trigger is a failure along the nbd_genl_connect() error path after nbd_start_device() has already run, so the attacker must drive a connect operation into that error condition while the recv_work kworker is active - the exact way to force that error is not detailed beyond the connect/receive-control failure shown in the report. Limiting factors that reduce realistic risk: the flaw is local-only (AV:L, not remotely reachable), requires privileges (PR:L), affects only systems that actually load and use the nbd driver, and the versions in scope include 6.16 release candidates (rc1-rc5) alongside the stable branches patched by the referenced commits. |
| Impact | This is a CWE-416 use-after-free in the Linux kernel's Network Block Device (nbd) driver, scored CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H). The vector is explicitly LOCAL (AV:L) with low privileges (PR:L), not network-reachable, so the high base score reflects local kernel memory corruption rather than remote compromise. The real-world exploitation signals contradict the severity score: EPSS is only 0.18% (8th percentile), there is no CISA KEV listing, and no public exploit code is referenced in the input - the only references are the fixing git.kernel.org commits and a Debian LTS announcement. The crash was surfaced by automated fuzzing (the KASAN report is tagged syzkaller), which demonstrates reachability under instrumentation but is not the same as a weaponized local-privilege-escalation exploit. The vuln.today decision label is 'this_week', which indicates it should be patched on a normal prioritized cadence, not treated as an emergency. In short: a genuine kernel UAF worth patching, but the combination of local-only vector, required privileges, low EPSS, and absence of KEV/known exploit places it as a routine-priority hardening fix rather than an actively-exploited emergency. |
| Exploit ScenarioDerived | A local user (or compromised process) holding the privileges needed to drive the nbd netlink interface issues a connect request that fails along the specific error path after the device has already been started; recv_work then operates on the freed nbd config, corrupting kernel memory. No public exploit code is identified in the provided data, only a fuzzer-generated KASAN crash report, so reliable local privilege escalation from this UAF would still require development effort. Because the CVSS vector is AV:L/PR:L, this cannot be triggered remotely or without privileges. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 05, 2026
Use-after-free in the Linux kernel's Network Block Device (nbd) driver lets a local attacker with the privileges required to configure nbd devices crash or corrupt kernel memory when a connect operation fails partway through. The bug is in nbd_genl_connect(): on certain error paths taken after nbd_start_device() has already launched the receive workqueue, the cleanup code drops the nbd->config reference while recv_work is still running and dereferencing it, producing a slab-use-after-free write that KASAN reports at drivers/block/nbd.c:1022. Rated CVSS 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), it is local-only and requires privileges, affects kernels through the 6.16-rc5 development snapshots as well as older stable branches, and carries no public exploit code and confirmed active exploitation; EPSS is 0.18% (8th percentile).
RemediationAI
Apply the vendor-released kernel update: the fix is available from the vendor as upstream stable commits that reorder nbd_genl_connect() so nbd_start_device() runs only after the backend file has been created - cherry-pick or update to the revisions in https://git.kernel.org/stable/c/002aca89753f666d878ca0eb8584c372684ac4ba, https://git.kernel.org/stable/c/8586552df591e0a367eff44af0c586213eeecc3f, https://git.kernel.org/stable/c/91fa560c73a8126868848ed6cd70607cbf8d87e2, https://git.kernel.org/stable/c/aa9552438ebf015fc5f9f890dbfe39f0c53cf37e, https://git.kernel.org/stable/c/cb121c47f364b51776c4db904a6a5a90ab0a7ec5 and https://git.kernel.org/stable/c/d46186eb7bbd9a11c145120f2d77effa8d4d44c2, and Debian users should take the LTS kernel update described at https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html. Because exploitation is local and gated on the privileges needed to drive the nbd generic-netlink configuration interface, interim exposure can be reduced by ensuring only trusted, CAP_SYS_ADMIN-capable processes can issue nbd netlink connect requests and by not loading the nbd module on hosts that do not use network block devices (blacklisting the module); the trade-off is that nbd-backed storage and any tooling depending on it stops working until the patched kernel is installed.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The Network Block Device driver exports block devices backed by a userspace or network server over the nbd generic-netlink configuration interface (nbd_genl_connect, nbd_genl_disconnect and related commands). Connecting a device allocates an nbd_config, starts the device via nbd_start_device(), and spawns per-connection receive workers (recv_work) on the nbd<N>-recv workqueue that repeatedly touch the config - for example the atomic reference accounting at drivers/block/nbd.c:1022. The defect is CWE-416 (use-after-free): the error path in nbd_genl_connect() does not reliably stop the device or drain those workers after nbd_start_device() has run, so it can put the final reference on nbd->config while a worker is still executing, leaving recv_work writing into freed slab memory (the report shows 'Receive control failed (result -104)' followed by socket shutdown and then the KASAN write of size 4). The upstream fix reorders initialization, moving nbd_start_device() after the backend file creation, so no workers exist on paths that can fail and unwind. Triggering it therefore requires steering a connect into that failure condition while the receive worker is live; the exact way to force the error is not detailed beyond the connect/receive-control failure shown in the report.
Know when Debian Linux gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Triggered locally through the privileged nbd netlink interface (AV:L, PR:L, UI:N); a kernel UAF yields high confidentiality, integrity, and availability impact within the same unchanged scope.
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
In the Linux kernel, the following vulnerability has been resolved:
nbd: fix uaf in nbd_genl_connect() error path
There is a use-after-free issue in nbd:
block nbd6: Receive control failed (result -104) block nbd6: shutting down sockets ============== BUG: KASAN: slab-use-after-free in recv_work+0x694/0xa80 drivers/block/nbd.c:1022 Write of size 4 at addr ffff8880295de478 by task kworker/u33:0/67
CPU: 2 UID: 0 PID: 67 Comm: kworker/u33:0 Not tainted 6.15.0-rc5-syzkaller-00123-g2c89c1b655c0 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 Workqueue: nbd6-recv recv_work Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:408 [inline] print_report+0xc3/0x670 mm/kasan/report.c:521 kasan_report+0xe0/0x110 mm/kasan/report.c:634 check_region_inline mm/kasan/generic.c:183 [inline] kasan_check_range+0xef/0x1a0 mm/kasan/generic.c:189 instrument_atomic_read_write include/linux/instrumented.h:96 [inline] atomic_dec include/linux/atomic/atomic-instrumented.h:592 [inline] recv_work+0x694/0xa80 drivers/block/nbd.c:1022 process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238 process_scheduled_works kernel/workqueue.c:3319 [inline] worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400 kthread+0x3c2/0x780 kernel/kthread.c:464 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK>
nbd_genl_connect() does not properly stop the device on certain error paths after nbd_start_device() has been called. This causes the error path to put nbd->config while recv_work continue to use the config after putting it, leading to use-after-free in recv_work.
This patch moves nbd_start_device() after the backend file creation.
Executive ViewAI
A high-severity flaw in the Linux kernel's network block device driver affects systems whose kernels have not been updated, exposing them to memory corruption or crashes triggered by a local user with device-configuration privileges. Because exploitation is local and requires elevated access, the practical risk to the organization is contained but meaningful for multi-tenant, container-hosted, or privileged-access-heavy environments where such users exist.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Affected Products (CPE)NVD
More in Debian Linux
View allApache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allo
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o
The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.
When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTT
When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate
A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB