Lucene search

K
cveLinuxCVE-2024-46737
HistorySep 18, 2024 - 8:15 a.m.

CVE-2024-46737

2024-09-1808:15:03
Linux
web.nvd.nist.gov
5
linux kernel
vulnerability
nvmet-tcp
kernel crash
commands allocation

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

11.0%

In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: fix kernel crash if commands allocation fails

If the commands allocation fails in nvmet_tcp_alloc_cmds()
the kernel crashes in nvmet_tcp_release_queue_work() because of
a NULL pointer dereference.

nvmet: failed to install queue 0 cntlid 1 ret 6
Unable to handle kernel NULL pointer dereference at
virtual address 0000000000000008

Fix the bug by setting queue->nr_cmds to zero in case
nvmet_tcp_alloc_cmd() fails.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.05.4.284
OR
linuxlinux_kernelRange5.5.05.10.226
OR
linuxlinux_kernelRange5.11.05.15.167
OR
linuxlinux_kernelRange5.16.06.1.110
OR
linuxlinux_kernelRange6.2.06.6.51
OR
linuxlinux_kernelRange6.7.06.10.10
OR
linuxlinux_kernelRange6.11.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

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/tcp.c"
    ],
    "versions": [
      {
        "version": "872d26a391da",
        "lessThan": "03e1fd0327fa",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "872d26a391da",
        "lessThan": "50632b877ce5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "872d26a391da",
        "lessThan": "91dad30c5607",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "872d26a391da",
        "lessThan": "7957c731fc2b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "872d26a391da",
        "lessThan": "489f2913a63f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "872d26a391da",
        "lessThan": "6c04d1e3ab22",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "872d26a391da",
        "lessThan": "5572a55a6f83",
        "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/tcp.c"
    ],
    "versions": [
      {
        "version": "5.0",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.0",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.284",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.226",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.167",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.110",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.51",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.6

Confidence

Low

EPSS

0

Percentile

11.0%

Related for CVE-2024-46737