Skip to main content
Mallory
← Back to News
endpoint-software-vulnerabilitywidely-deployed-product-advisoryprivilege-escalation-method

Linux Kernel NVMe Double-Free Flaw Can Crash Systems on Discard Retry Failures

Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Jul 29, 2024

Linux Kernel NVMe Double-Free Flaw Can Crash Systems on Discard Retry Failures

A double-free vulnerability in the Linux kernel's NVMe subsystem, tracked as CVE-2024-41073, can let a local attacker trigger memory corruption and cause a denial of service. The bug occurs when a discard request is retried and then fails before a new special payload is attached, leaving cleanup logic to free the same resource twice unless the RQF_SPECIAL_PAYLOAD flag is cleared. The flaw affects drivers/nvme/host/core.c and is classified as CWE-1341.

The Linux kernel CVE team said the issue was fixed in stable releases 5.15.164, 6.1.101, 6.6.42, 6.9.11, and 6.10, and advised users to update to the latest stable kernel rather than cherry-picking patches. Red Hat rated the issue Moderate for its products with a CVSS v3 score of 5.5, noting fixes for multiple Red Hat Enterprise Linux 8 and 9 kernel packages through RHSA advisories, while RHEL 6 was listed as not affected; Red Hat also highlighted that external databases assigned higher scores to the same CVE.

Why it matters

Impact assessment

CVE-2024-41073 affects Linux systems running vulnerable kernels with the NVMe host subsystem and workloads capable of issuing discard/TRIM requests. A local authenticated attacker can trigger kernel memory corruption and a system crash, creating high-availability and operational-disruption risk for servers, virtual hosts, storage systems, and multi-user Linux environments.

  • Primary impact: denial of service through a kernel crash; Red Hat's product-specific vector specifies no direct confidentiality or integrity impact.
  • Scope: exposure is limited to vulnerable Linux kernel versions and configurations using NVMe storage/discard request handling, rather than all Linux hosts.
  • Severity: Red Hat rates the issue Moderate, CVSS 3.1 5.5 (AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H). NVD lists 7.8 and cve.org lists 9.8; prioritize vendor-supported package status and local environmental exposure over cross-database score differences.
  • Known exploitation: the references do not report exploitation in the wild.
  • Red Hat Enterprise Linux 8 and 9 kernel streams have affected packages; RHEL 6 is listed as not affected.

Supporting facts

  • Affected component: Linux NVMe host subsystem, drivers/nvme/host/core.c.
  • Weakness: CWE-1341, Multiple Releases of Same Resource or Handle.
  • Red Hat tracking: Bugzilla 2301637, kernel: nvme: avoid double free special payload.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

3 events · Jul 29, 2024
  1. Jul 29, 20242y ago

    Red Hat publishes CVE-2024-41073 advisory entry

    Red Hat published its CVE entry for CVE-2024-41073, describing the Linux kernel NVMe double-free flaw as a Moderate-severity issue that a local attacker could exploit to cause memory corruption and denial of service. Red Hat also noted affected and unaffected product lines, including that RHEL 6 kernel is not affected.

    CVE-2024-41073 - Red Hat Customer Portal
  2. Jul 29, 20242y ago

    Fixes for CVE-2024-41073 land in multiple stable Linux kernel releases

    The issue was fixed in Linux kernel stable releases 5.15.164, 6.1.101, 6.6.42, 6.9.11, and 6.10, with corresponding commits published for each branch. The kernel CVE announcement recommends updating to the latest stable kernel version rather than cherry-picking individual commits.

    CVE-2024-41073: nvme: avoid double free special payload
  3. Jul 29, 20242y ago

    Linux kernel CVE team assigns CVE-2024-41073 to NVMe double-free flaw

    The Linux kernel CVE team assigned CVE-2024-41073 to a vulnerability in the NVMe subsystem caused by a double free during discard request retries. The flaw affects drivers/nvme/host/core.c and can occur if a retry fails before a new special payload is added.

    CVE-2024-41073: nvme: avoid double free special payload
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Linux Kernel
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.