Lucene search

K
cvelistLinuxCVELIST:CVE-2023-52441
HistoryFeb 21, 2024 - 7:21 a.m.

CVE-2023-52441 ksmbd: fix out of bounds in init_smb2_rsp_hdr()

2024-02-2107:21:01
Linux
www.cve.org
linux kernel
vulnerability
resolved
ksmbd
fix
out of bounds
init_smb2_rsp_hdr
smb2
smb1
patch
ignore
packets
cve

8.7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

16.0%

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

ksmbd: fix out of bounds in init_smb2_rsp_hdr()

If client send smb2 negotiate request and then send smb1 negotiate
request, init_smb2_rsp_hdr is called for smb1 negotiate request since
need_neg is set to false. This patch ignore smb1 packets after ->need_neg
is set to false.

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/server.c",
      "fs/smb/server/smb_common.c",
      "fs/smb/server/smb_common.h"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "5c0df9d30c28",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "330d900620df",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "aa669ef229ae",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "536bb492d39b",
        "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/server.c",
      "fs/smb/server/smb_common.c",
      "fs/smb/server/smb_common.h"
    ],
    "versions": [
      {
        "version": "5.15.145",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.53",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.4.16",
        "lessThanOrEqual": "6.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.5",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

8.7 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

16.0%