nday
CVE-2025-38372

RDMA/mlx5: Fix unsafe xarray access in implicit ODP handling

Linux / Linux

Divulgation : . nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité ne figure dans aucune des quatre sources de PoC. Aucune inscription au catalogue KEV de la CISA à ce jour.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

local
AV:L in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA Linux
no user interaction
UI:N in CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1) from the CNA Linux
Linux kernel
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernel
operating system
affected products in the CVE record: Linux · LinuxCPE names NVD's analysts give as vulnerable: o:linux:linux_kernelthe product type of Linux kernel in nday's product registry
étape actuelle
DIS
divulgation
CVSS
7.8 HIGH v3.1

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2025-07-25T12:53Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
aucune donnée
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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

RDMA/mlx5: Fix unsafe xarray access in implicit ODP handling

__xa_store() and __xa_erase() were used without holding the proper lock, which led to a lockdep warning due to unsafe RCU usage. This patch replaces them with xa_store() and xa_erase(), which perform the necessary locking internally.

=============================
WARNING: suspicious RCPU usage
6.14.0-rc7_for_upstream_debug_2025_03_18_15_01 #1 Not tainted
-----------------------------
./include/linux/xarray.h:1211 suspicious rcu_dereference_protected() usage!

other info that might help us debug this:

rcu_scheduler_active = 2, debug_locks = 1
3 locks held by kworker/u136:0/219:
    at: process_one_work+0xbe4/0x15f0
    process_one_work+0x75c/0x15f0
    pagefault_mr+0x9a5/0x1390 [mlx5_ib]

stack backtrace:
CPU: 14 UID: 0 PID: 219 Comm: kworker/u136:0 Not tainted
6.14.0-rc7_for_upstream_debug_2025_03_18_15_01 #1
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS
rel-1.16.0-0-gd239552ce722-prebuilt.qemu.org 04/01/2014
Workqueue: mlx5_ib_page_fault mlx5_ib_eqe_pf_action [mlx5_ib]
Call Trace:
 dump_stack_lvl+0xa8/0xc0
 lockdep_rcu_suspicious+0x1e6/0x260
 xas_create+0xb8a/0xee0
 xas_store+0x73/0x14c0
 __xa_store+0x13c/0x220
 ? xa_store_range+0x390/0x390
 ? spin_bug+0x1d0/0x1d0
 pagefault_mr+0xcb5/0x1390 [mlx5_ib]
 ? _raw_spin_unlock+0x1f/0x30
 mlx5_ib_eqe_pf_action+0x3be/0x2620 [mlx5_ib]
 ? lockdep_hardirqs_on_prepare+0x400/0x400
 ? mlx5_ib_invalidate_range+0xcb0/0xcb0 [mlx5_ib]
 process_one_work+0x7db/0x15f0
 ? pwq_dec_nr_in_flight+0xda0/0xda0
 ? assign_work+0x168/0x240
 worker_thread+0x57d/0xcd0
 ? rescuer_thread+0xc40/0xc40
 kthread+0x3b3/0x800
 ? kthread_is_per_cpu+0xb0/0xb0
 ? lock_downgrade+0x680/0x680
 ? do_raw_spin_lock+0x12d/0x270
 ? spin_bug+0x1d0/0x1d0
 ? finish_task_switch.isra.0+0x284/0x9e0
 ? lockdep_hardirqs_on_prepare+0x284/0x400
 ? kthread_is_per_cpu+0xb0/0xb0
 ret_from_fork+0x2d/0x70
 ? kthread_is_per_cpu+0xb0/0xb0
 ret_from_fork_asm+0x11/0x20

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA Linux.

Journal des événements

+DISdivulgation

Fiche CVE publiée par Linux. CVSS 7.8, gravité élevée.

source cvelist · importé en masse par nday le · brut
{
  "id": 374654,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-38372",
  "occurred_at": "2025-07-25T12:53:15.255Z",
  "observed_at": "2026-11-13T05:39:08.090137Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "version": "3.1",
      "base_score": 7.8,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2026-10-15T21:49:46.422571Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-07-25T12:53:15.255Z",
    "assigner_short_name": "Linux"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.