Skip to main content

Linux Kernel CVE-2025-38387

MEDIUM
NULL Pointer Dereference (CWE-476)
2025-07-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to mlx5 DEVX interface
  2. Delivery
    Create DEVX event-subscription object
  3. Exploit
    Hardware async event dispatched in init window
  4. Execution
    Notifier dereferences uninitialized list_head
  5. Impact
    Kernel NULL-pointer oops (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Null pointer safety, defensive checks
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires local access on a host running the mlx5_ib RDMA driver with NVIDIA/Mellanox hardware (e.g. ConnectX/BlueField SmartNIC), plus the ability to use the DEVX interface via ib_uverbs to create an event-subscription object. The crash is triggered when a hardware async event is dispatched (via devx_event_notifier → dispatch_event_fd) in the timing window between xa_insert and initialization of obj_sub_list, as stated in the description ('may be loaded immediately after inserted'). Limiting factors: local vector only (no remote reach), required privileges (PR:L - DEVX access typically needs capabilities/device access), dependence on specific RDMA hardware and a loaded mlx5_ib driver, and availability-only impact (no data exposure); default hosts without mlx5 RDMA hardware are not exposed.

Impact

This is a genuine but low-urgency defensive-patching issue, not an emergency. The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) scores 5.5 (Medium) and describes a local, low-privilege, availability-only flaw - a NULL pointer dereference (CWE-476) in the mlx5_ib RDMA driver that crashes the kernel (DoS), with no confidentiality or integrity impact. Exploitation signals are weak and mutually consistent: EPSS is 0.21% (11th percentile), the CVE is NOT on CISA KEV, and no public exploit or PoC reference is present in the input - only upstream patch commits and Debian LTS advisories. The vuln.today decision label is 'this_month', consistent with a patchable local DoS rather than act_now/emergency. The only tension worth flagging: the CPE list pins affected versions to 6.16-rc1/rc2/rc3 (pre-release) yet eight stable-branch backport commits and Debian LTS advisories exist, implying the flaw was also present in and fixed across multiple stable branches - the precise fixed release numbers are not stated in the input (only commit hashes). Net: real but low real-world risk, limited by local access, required privileges, availability-only impact, and dependence on specific NVIDIA/Mellanox RDMA hardware.

Exploit ScenarioDerived

A local user with access to the mlx5 DEVX interface (ib_uverbs) on a host equipped with NVIDIA/Mellanox ConnectX/BlueField hardware creates an event-subscription object; if a hardware async event is dispatched in the narrow window after xa_insert but before obj_event->obj_sub_list is initialized, the notifier walks an uninitialized/poisoned list_head and dereferences a NULL pointer, oopsing the kernel. No public exploit or PoC reference is identified at time of analysis, and impact is limited to denial of service (kernel crash).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Local denial of service in the Linux kernel's mlx5 RDMA driver (mlx5_ib) occurs because a DEVX event-subscription object can be reached through the xarray immediately after xa_insert but before its obj_sub_list list_head is initialized, so a hardware async event arriving in that window dereferences a poisoned pointer and oopses the kernel. Only hosts with NVIDIA/Mellanox RDMA hardware (ConnectX/BlueField SmartNICs) running the mlx5_ib driver and exposing the DEVX interface through ib_uverbs are affected; exploitation requires local access and privileges sufficient to create DEVX event subscriptions (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). Impact is availability-only with no data exposure, EPSS is 0.21% (11th percentile), the issue is not in CISA KEV, and no public exploit was identified at time of analysis; this is a genuine but low-urgency defensive-patching item.

RemediationAI

Apply the upstream fix, which initializes obj_event->obj_sub_list before xa_insert; the stable-branch backports are available as commits https://git.kernel.org/stable/c/00ed215f593876385451423924fe0358c556179c, https://git.kernel.org/stable/c/23a3b32a274a8d6f33480d0eff436eb100981651, https://git.kernel.org/stable/c/716b555fc0580c2aa4c2c32ae4401c7e3ad9873e, https://git.kernel.org/stable/c/8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a, https://git.kernel.org/stable/c/93fccfa71c66a4003b3d2fef3a38de7307e14a4e, https://git.kernel.org/stable/c/972e968aac0dce8fe8faad54f6106de576695d8e, https://git.kernel.org/stable/c/9a28377a96fb299c180dd9cf0be3b0a038a52d4e and https://git.kernel.org/stable/c/e8069711139249994450c214cec152b917b959e0, so updating to a kernel release that includes the relevant backport resolves the issue. Debian users should install the kernel packages announced at https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html and https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html. If patching must be deferred, restricting access to the DEVX interface and RDMA device nodes (so that only trusted privileged workloads can create event subscriptions) reduces the attack surface at the cost of breaking DEVX-dependent applications, and avoiding DEVX event subscriptions on mlx5 hardware removes the trigger entirely; unpatched hosts without mlx5 RDMA hardware are not exposed.

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 flaw is a CWE-476 NULL/poisoned pointer dereference in the RDMA core driver stack, specifically in mlx5_ib's DEVX support. DEVX lets a userspace RDMA consumer (via ib_uverbs) create an event-subscription object so that asynchronous hardware events can be delivered back to a file descriptor. Registration of such an object uses the xarray API, and the object becomes visible to lookups the moment xa_insert succeeds. The obj_event structure contains a list_head (obj_sub_list) that is not initialized until after insertion; if an async event is dispatched in that window, devx_event_notifier calls dispatch_event_fd, which walks the uninitialized list and dereferences a poisoned/garbage pointer, producing the reported "Unable to handle kernel NULL pointer dereference at virtual address 0x60" oops in dispatch_event_fd with the tail of the call chain leading back through devx_event_notifier, atomic_notifier_call_chain, mlx5_eq_async_int and the mlx5_core IRQ handler. Because the trigger is a hardware async event racing object insertion, the crash is a kernel panic-level availability failure on the affected host, not a memory-corruption primitive. The CPE data identifies the affected code base as the Linux kernel, including 6.16-rc1 through 6.16-rc3.

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

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 5.5 MEDIUM

Triggered locally through the privileged DEVX/ib_uverbs interface (AV:L, PR:L); impact is a kernel crash with no data exposure, so C:N/I:N/A:H.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionNVD

In the Linux kernel, the following vulnerability has been resolved:

RDMA/mlx5: Initialize obj_event->obj_sub_list before xa_insert

The obj_event may be loaded immediately after inserted, then if the list_head is not initialized then we may get a poisonous pointer. This fixes the crash below:

mlx5_core 0000:03:00.0: MLX5E: StrdRq(1) RqSz(8) StrdSz(2048) RxCqeCmprss(0 enhanced) mlx5_core.sf mlx5_core.sf.4: firmware version: 32.38.3056 mlx5_core 0000:03:00.0 en3f0pf0sf2002: renamed from eth0 mlx5_core.sf mlx5_core.sf.4: Rate limit: 127 rates are supported, range: 0Mbps to 195312Mbps IPv6: ADDRCONF(NETDEV_CHANGE): en3f0pf0sf2002: link becomes ready Unable to handle kernel NULL pointer dereference at virtual address 0000000000000060 Mem abort info: ESR = 0x96000006 EC = 0x25: DABT (current EL), IL = 32 bits SET = 0, FnV = 0 EA = 0, S1PTW = 0 Data abort info: ISV = 0, ISS = 0x00000006 CM = 0, WnR = 0 user pgtable: 4k pages, 48-bit VAs, pgdp=00000007760fb000 [0000000000000060] pgd=000000076f6d7003, p4d=000000076f6d7003, pud=0000000777841003, pmd=0000000000000000 Internal error: Oops: 96000006 [#1] SMP Modules linked in: ipmb_host(OE) act_mirred(E) cls_flower(E) sch_ingress(E) mptcp_diag(E) udp_diag(E) raw_diag(E) unix_diag(E) tcp_diag(E) inet_diag(E) binfmt_misc(E) bonding(OE) rdma_ucm(OE) rdma_cm(OE) iw_cm(OE) ib_ipoib(OE) ib_cm(OE) isofs(E) cdrom(E) mst_pciconf(OE) ib_umad(OE) mlx5_ib(OE) ipmb_dev_int(OE) mlx5_core(OE) kpatch_15237886(OEK) mlxdevm(OE) auxiliary(OE) ib_uverbs(OE) ib_core(OE) psample(E) mlxfw(OE) tls(E) sunrpc(E) vfat(E) fat(E) crct10dif_ce(E) ghash_ce(E) sha1_ce(E) sbsa_gwdt(E) virtio_console(E) ext4(E) mbcache(E) jbd2(E) xfs(E) libcrc32c(E) mmc_block(E) virtio_net(E) net_failover(E) failover(E) sha2_ce(E) sha256_arm64(E) nvme(OE) nvme_core(OE) gpio_mlxbf3(OE) mlx_compat(OE) mlxbf_pmc(OE) i2c_mlxbf(OE) sdhci_of_dwcmshc(OE) pinctrl_mlxbf3(OE) mlxbf_pka(OE) gpio_generic(E) i2c_core(E) mmc_core(E) mlxbf_gige(OE) vitesse(E) pwr_mlxbf(OE) mlxbf_tmfifo(OE) micrel(E) mlxbf_bootctl(OE) virtio_ring(E) virtio(E) ipmi_devintf(E) ipmi_msghandler(E) [last unloaded: mst_pci] CPU: 11 PID: 20913 Comm: rte-worker-11 Kdump: loaded Tainted: G OE K 5.10.134-13.1.an8.aarch64 #1 Hardware name: https://www.mellanox.com BlueField-3 SmartNIC Main Card/BlueField-3 SmartNIC Main Card, BIOS 4.2.2.12968 Oct 26 2023 pstate: a0400089 (NzCv daIf +PAN -UAO -TCO BTYPE=--) pc : dispatch_event_fd+0x68/0x300 [mlx5_ib] lr : devx_event_notifier+0xcc/0x228 [mlx5_ib] sp : ffff80001005bcf0 x29: ffff80001005bcf0 x28: 0000000000000001 x27: ffff244e0740a1d8 x26: ffff244e0740a1d0 x25: ffffda56beff5ae0 x24: ffffda56bf911618 x23: ffff244e0596a480 x22: ffff244e0596a480 x21: ffff244d8312ad90 x20: ffff244e0596a480 x19: fffffffffffffff0 x18: 0000000000000000 x17: 0000000000000000 x16: ffffda56be66d620 x15: 0000000000000000 x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000040 x10: ffffda56bfcafb50 x9 : ffffda5655c25f2c x8 : 0000000000000010 x7 : 0000000000000000 x6 : ffff24545a2e24b8 x5 : 0000000000000003 x4 : ffff80001005bd28 x3 : 0000000000000000 x2 : 0000000000000000 x1 : ffff244e0596a480 x0 : ffff244d8312ad90 Call trace: dispatch_event_fd+0x68/0x300 [mlx5_ib] devx_event_notifier+0xcc/0x228 [mlx5_ib] atomic_notifier_call_chain+0x58/0x80 mlx5_eq_async_int+0x148/0x2b0 [mlx5_core] atomic_notifier_call_chain+0x58/0x80 irq_int_handler+0x20/0x30 [mlx5_core] __handle_irq_event_percpu+0x60/0x220 handle_irq_event_percpu+0x3c/0x90 handle_irq_event+0x58/0x158 handle_fasteoi_irq+0xfc/0x188 generic_handle_irq+0x34/0x48 ...

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
mlx5 RDMA/DEVX code path, only on NVIDIA/Mellanox ConnectX/BlueField hardware
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A null pointer dereference occurs when a program attempts to access memory through a pointer that has been set to NULL (address 0x0).

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Affected Products (CPE)NVD

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.16:rc4:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
CVE-2021-44228 CRITICAL POC
10.0 Dec 10

Apache Log4j2 contains a critical JNDI injection vulnerability known as 'Log4Shell' that allows unauthenticated remote c

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2017-7494 CRITICAL POC
9.8 May 30

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

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2022-30333 HIGH POC
7.5 May 09

RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) o

CVE-2016-3714 HIGH POC
8.4 May 05

The (1) EPHEMERAL, (2) HTTPS, (3) MVG, (4) MSL, (5) TEXT, (6) SHOW, (7) WIN, and (8) PLT coders in ImageMagick before 6.

CVE-2017-12617 HIGH POC
8.1 Oct 04

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

CVE-2020-1938 CRITICAL POC
9.8 Feb 24

When using the Apache JServ Protocol (AJP), care must be taken when trusting incoming connections to Apache Tomcat. Rate

CVE-2018-7602 CRITICAL POC
9.8 Jul 19

A remote code execution vulnerability exists within multiple subsystems of Drupal 7.x and 8.x. Rated critical severity (

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy