CVE-2023-54260 (GCVE-0-2023-54260)

Vulnerability from cvelistv5 – Published: 2025-12-30 12:15 – Updated: 2025-12-30 12:15
VLAI?
Title
cifs: Fix lost destroy smbd connection when MR allocate failed
Summary
In the Linux kernel, the following vulnerability has been resolved: cifs: Fix lost destroy smbd connection when MR allocate failed If the MR allocate failed, the smb direct connection info is NULL, then smbd_destroy() will directly return, then the connection info will be leaked. Let's set the smb direct connection info to the server before call smbd_destroy().
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: c7398583340a6d82b8bb7f7f21edcde27dc6a898 , < d303e25887127364a6765eaf7ac68aa2bac518a9 (git)
Affected: c7398583340a6d82b8bb7f7f21edcde27dc6a898 , < 324c0c34fff1affd436e509325cb46739209704e (git)
Affected: c7398583340a6d82b8bb7f7f21edcde27dc6a898 , < caac205e0d5b44c4c23a10c6c0976d50ebe16ac2 (git)
Affected: c7398583340a6d82b8bb7f7f21edcde27dc6a898 , < 46cd6c639cddba2bd2d810ceb16bb20374ad75b0 (git)
Affected: c7398583340a6d82b8bb7f7f21edcde27dc6a898 , < c51ae01104b318bf15f3c5097faba5c72addba7a (git)
Affected: c7398583340a6d82b8bb7f7f21edcde27dc6a898 , < 04b7e13b8a13264282f874db5378fc3d3253cfac (git)
Affected: c7398583340a6d82b8bb7f7f21edcde27dc6a898 , < e9d3401d95d62a9531082cd2453ed42f2740e3fd (git)
Create a notification for this product.
    Linux Linux Affected: 4.16
Unaffected: 0 , < 4.16 (semver)
Unaffected: 4.19.276 , ≤ 4.19.* (semver)
Unaffected: 5.4.235 , ≤ 5.4.* (semver)
Unaffected: 5.10.173 , ≤ 5.10.* (semver)
Unaffected: 5.15.99 , ≤ 5.15.* (semver)
Unaffected: 6.1.16 , ≤ 6.1.* (semver)
Unaffected: 6.2.3 , ≤ 6.2.* (semver)
Unaffected: 6.3 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/cifs/smbdirect.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "d303e25887127364a6765eaf7ac68aa2bac518a9",
              "status": "affected",
              "version": "c7398583340a6d82b8bb7f7f21edcde27dc6a898",
              "versionType": "git"
            },
            {
              "lessThan": "324c0c34fff1affd436e509325cb46739209704e",
              "status": "affected",
              "version": "c7398583340a6d82b8bb7f7f21edcde27dc6a898",
              "versionType": "git"
            },
            {
              "lessThan": "caac205e0d5b44c4c23a10c6c0976d50ebe16ac2",
              "status": "affected",
              "version": "c7398583340a6d82b8bb7f7f21edcde27dc6a898",
              "versionType": "git"
            },
            {
              "lessThan": "46cd6c639cddba2bd2d810ceb16bb20374ad75b0",
              "status": "affected",
              "version": "c7398583340a6d82b8bb7f7f21edcde27dc6a898",
              "versionType": "git"
            },
            {
              "lessThan": "c51ae01104b318bf15f3c5097faba5c72addba7a",
              "status": "affected",
              "version": "c7398583340a6d82b8bb7f7f21edcde27dc6a898",
              "versionType": "git"
            },
            {
              "lessThan": "04b7e13b8a13264282f874db5378fc3d3253cfac",
              "status": "affected",
              "version": "c7398583340a6d82b8bb7f7f21edcde27dc6a898",
              "versionType": "git"
            },
            {
              "lessThan": "e9d3401d95d62a9531082cd2453ed42f2740e3fd",
              "status": "affected",
              "version": "c7398583340a6d82b8bb7f7f21edcde27dc6a898",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/cifs/smbdirect.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.16"
            },
            {
              "lessThan": "4.16",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.173",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.99",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.2.*",
              "status": "unaffected",
              "version": "6.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.276",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "4.16",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncifs: Fix lost destroy smbd connection when MR allocate failed\n\nIf the MR allocate failed, the smb direct connection info is NULL,\nthen smbd_destroy() will directly return, then the connection info\nwill be leaked.\n\nLet\u0027s set the smb direct connection info to the server before call\nsmbd_destroy()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-12-30T12:15:54.205Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/d303e25887127364a6765eaf7ac68aa2bac518a9"
        },
        {
          "url": "https://git.kernel.org/stable/c/324c0c34fff1affd436e509325cb46739209704e"
        },
        {
          "url": "https://git.kernel.org/stable/c/caac205e0d5b44c4c23a10c6c0976d50ebe16ac2"
        },
        {
          "url": "https://git.kernel.org/stable/c/46cd6c639cddba2bd2d810ceb16bb20374ad75b0"
        },
        {
          "url": "https://git.kernel.org/stable/c/c51ae01104b318bf15f3c5097faba5c72addba7a"
        },
        {
          "url": "https://git.kernel.org/stable/c/04b7e13b8a13264282f874db5378fc3d3253cfac"
        },
        {
          "url": "https://git.kernel.org/stable/c/e9d3401d95d62a9531082cd2453ed42f2740e3fd"
        }
      ],
      "title": "cifs: Fix lost destroy smbd connection when MR allocate failed",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-54260",
    "datePublished": "2025-12-30T12:15:54.205Z",
    "dateReserved": "2025-12-30T12:06:44.516Z",
    "dateUpdated": "2025-12-30T12:15:54.205Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-54260\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-12-30T13:16:14.777\",\"lastModified\":\"2025-12-30T13:16:14.777\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\ncifs: Fix lost destroy smbd connection when MR allocate failed\\n\\nIf the MR allocate failed, the smb direct connection info is NULL,\\nthen smbd_destroy() will directly return, then the connection info\\nwill be leaked.\\n\\nLet\u0027s set the smb direct connection info to the server before call\\nsmbd_destroy().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/04b7e13b8a13264282f874db5378fc3d3253cfac\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/324c0c34fff1affd436e509325cb46739209704e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/46cd6c639cddba2bd2d810ceb16bb20374ad75b0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c51ae01104b318bf15f3c5097faba5c72addba7a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/caac205e0d5b44c4c23a10c6c0976d50ebe16ac2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/d303e25887127364a6765eaf7ac68aa2bac518a9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/e9d3401d95d62a9531082cd2453ed42f2740e3fd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…