Lucene search

K
cvelistLinuxCVELIST:CVE-2024-41079
HistoryJul 29, 2024 - 3:04 p.m.

CVE-2024-41079 nvmet: always initialize cqe.result

2024-07-2915:04:16
Linux
www.cve.org
7
linux kernel
vulnerability resolution
nvmet
command queue entry
rdma
data leak

EPSS

0

Percentile

16.2%

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.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/nvme/target/core.c",
      "drivers/nvme/target/fabrics-cmd-auth.c",
      "drivers/nvme/target/fabrics-cmd.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "30d35b24b795",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "10967873b807",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "0990e8a86364",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "cd0c1b8e045a",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/nvme/target/core.c",
      "drivers/nvme/target/fabrics-cmd-auth.c",
      "drivers/nvme/target/fabrics-cmd.c"
    ],
    "versions": [
      {
        "version": "6.1.101",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.42",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.11",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

16.2%