In the Linux kernel, the following vulnerability has been resolved: nvme: fix cdev lifetime Sashiko bot reported a potential problem for the cdev… (CVE-2026-98815)
Description
A use-after-free vulnerability in the Linux kernel NVMe driver related to character device (cdev) lifetime management has been resolved. The issue occurs in multipath mode when the NVMe namespace head is torn down, causing open cdev file operations to reference freed memory. This can lead to kernel memory corruption and potential crashes. The vulnerability was reported by the Sashiko bot and fixed in the Linux kernel.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability involves improper management of the nvme_ns_head reference count in the Linux kernel NVMe driver. When tearing down the namespace head in multipath mode, the cdev device is deleted, but existing open file descriptors still reference the cdev operations. This results in use-after-free conditions when those file operations are invoked after the nvme_ns_head has been freed. The issue was demonstrated by a delayed ioctl call on an open cdev during teardown, triggering a KASAN slab-use-after-free error. The fix addresses the lifetime management of the cdev to prevent referencing freed memory.
Potential Impact
The vulnerability can cause kernel memory corruption through use-after-free, leading to system instability or crashes. There is no evidence of known exploits in the wild. The impact is limited to systems using the NVMe driver in multipath mode where the namespace head is torn down while file descriptors remain open.
Mitigation Recommendations
A fix has been applied to the Linux kernel to properly manage the lifetime of the NVMe cdev and prevent use-after-free conditions. Users should update to a Linux kernel version that includes this fix. No additional mitigation steps are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x2m3-gxmv-qw6j
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98815"]
Threat ID: 6ad520a92cdf04f6569938b0
Added to database: 10/18/2026, 19:40:25 UTC
Last enriched: 10/18/2026, 22:18:18 UTC
Last updated: 10/18/2026, 22:18:18 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.