Skip to content
Heist/ feed
Back to feed
HighFix available

nvmet: always initialize cqe.result

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: nvmet: always initialize cqe.result The spec doesn't mandate that the first two double words (aka results) for the command queue entry need to be set to 0 when they are not used (not specified). Though, the target implemention returns 0 for TCP and FC but not for RDMA. Let's make RDMA behave the same and thus explicitly initializing the result field. This prevents leaking any data from the stack.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.209, 6.1.101, 6.6.42, 6.9.11
CVEs
CVE-2024-41079
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 04:25 UTC · Revision 1

Source evidence

nvmet: always initialize cqe.result

core-osv · Original source

Published 29 Jul 2024, 15:04 UTC

In the Linux kernel, the following vulnerability has been resolved: nvmet: always initialize cqe.result The spec doesn't mandate that the first two double words (aka results) for the command queue entry need to be set to 0 when they are not used (not specified). Though, the target implemention returns 0 for TCP and FC but not for RDMA. Let's make RDMA behave the same and thus explicitly initializing the result field. This prevents leaking any data from the stack.

osv:CVE-2024-41079

Kernel

Fixed versions: 5.15.209, 6.1.101, 6.6.42, 6.9.11

Complete source record
{
  "id": "4a2a51ae4356034d5049883772d2224f2e022f5345491a0f62c12e4c99a52211",
  "url": "https://osv.dev/vulnerability/CVE-2024-41079",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "nvmet: always initialize cqe.result",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: nvmet: always initialize cqe.result The spec doesn't mandate that the first two double words (aka results) for the command queue entry need to be set to 0 when they are not used (not specified). Though, the target implemention returns 0 for TCP and FC but not for RDMA. Let's make RDMA behave the same and thus explicitly initializing the result field. This prevents leaking any data from the stack.",
    "evidence": "osv:CVE-2024-41079",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.209",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.101",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.42",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.11",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-41079",
      "aliases": [
        "CVE-2024-41079"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "a07b4970f464f13640e28e16dad6cfa33647cc99"
                },
                {
                  "fixed": "c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29"
                },
                {
                  "fixed": "30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2"
                },
                {
                  "fixed": "10967873b80742261527a071954be8b54f0f8e4d"
                },
                {
                  "fixed": "0990e8a863645496b9e3f91cfcfd63cd95c80319"
                },
                {
                  "fixed": "cd0c1b8e045a8d2785342b385cb2684d9b48e426"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41079.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.8.0"
                },
                {
                  "fixed": "5.15.209"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.101"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.42"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.11"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-41079.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:33.141331720Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/0990e8a863645496b9e3f91cfcfd63cd95c80319",
        "https://git.kernel.org/stable/c/10967873b80742261527a071954be8b54f0f8e4d",
        "https://git.kernel.org/stable/c/30d35b24b7957922f81cfdaa66f2e1b1e9b9aed2",
        "https://git.kernel.org/stable/c/c6a2cf8b0764f3ba7d9bff58c8775a6d4476bb29",
        "https://git.kernel.org/stable/c/cd0c1b8e045a8d2785342b385cb2684d9b48e426",
        "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41079.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-41079",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41079.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-41079",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 500272,
  "published_at": "2024-07-29T15:04:16.733+00:00"
}