Lucene search

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

CVE-2024-46742

2024-09-1808:15:03
Linux
web.nvd.nist.gov
5
linux kernel
vulnerability
smb/server
null-ptr-deref
smb2_open
parse_lease_state
parse_durable_handle_context

AI Score

6.5

Confidence

High

EPSS

0

Percentile

16.4%

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

smb/server: fix potential null-ptr-deref of lease_ctx_info in smb2_open()

null-ptr-deref will occur when (req_op_level == SMB2_OPLOCK_LEVEL_LEASE)
and parse_lease_state() return NULL.

Fix this by check if ‘lease_ctx_info’ is NULL.

Additionally, remove the redundant parentheses in
parse_durable_handle_context().

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.6.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": [
      "fs/smb/server/oplock.c",
      "fs/smb/server/smb2pdu.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "07f384c5be1f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "3b692794b81f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "4e8771a3666c",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "fs/smb/server/oplock.c",
      "fs/smb/server/smb2pdu.c"
    ],
    "versions": [
      {
        "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.5

Confidence

High

EPSS

0

Percentile

16.4%

Related for CVE-2024-46742