Kernel crash via prematurely published DEVX object
Published Jul 25, 2025 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel RDMA/mlx5 driver allows local users to crash the kernel by racing a DEVX event subscription. The subscribe_event_xa_alloc function inserts obj_event into the object_ids xarray before initializing obj_sub_list, so an immediate event lookup dereferences a poisoned list pointer. Access requires a local low-privileged account, an mlx5 device exposing DEVX, and a timing race; the documented consequence is a kernel crash.
Summary
What happened
NULL pointer dereference in the Linux kernel RDMA/mlx5 driver allows local users to crash the kernel by racing a DEVX event subscription. The subscribe_event_xa_alloc function inserts obj_event into the object_ids xarray before initializing obj_sub_list, so an immediate event lookup dereferences a poisoned list pointer. Access requires a local low-privileged account, an mlx5 device exposing DEVX, and a timing race; the documented consequence is a kernel crash.
The record
- CVE
- CVE-2025-38387
- Published
- Jul 25, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 25, 2025CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=5.3
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <00ed215f593876385451423924fe0358c556179c
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <23a3b32a274a8d6f33480d0eff436eb100981651
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <716b555fc0580c2aa4c2c32ae4401c7e3ad9873e
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <8edab8a72d67742f87e9dc2e2b0cdfddda5dc29a
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <93fccfa71c66a4003b3d2fef3a38de7307e14a4e
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <972e968aac0dce8fe8faad54f6106de576695d8e
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <9a28377a96fb299c180dd9cf0be3b0a038a52d4e
- Affected versionversion=7597385371425febdaa8c6a1da3625d4ffff16f5 <e8069711139249994450c214cec152b917b959e0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo