GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2023-53118 (GCVE-0-2023-53118)

Vulnerability from cvelistv5 – Published: 2025-05-02 15:55 – Updated: 2026-05-23 15:28
VLAI
Title
scsi: core: Fix a procfs host directory removal regression
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fix a procfs host directory removal regression scsi_proc_hostdir_rm() decreases a reference counter and hence must only be called once per host that is removed. This change does not require a scsi_add_host_with_dma() change since scsi_add_host_with_dma() will return 0 (success) if scsi_proc_host_add() is called.
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 891a3cba425cf483d96facca55aebd6ff1da4338 , < 88c3d3bb6469cea929ac68fd326bdcbefcdfdd83 (git)
Affected: 6b223e32d66ca9db1f252f433514783d8b22a8e1 , < 68c665bb185037e7eb66fb792c61da9d7151e99c (git)
Affected: e471e928de97b00f297ad1015cc14f9459765713 , < 2a764d55e938743efa7c2cba7305633bcf227f09 (git)
Affected: 17e98a5ede81b7696bec421f7afa2dfe467f5e6b , < 7e0ae8667fcdd99d1756922e1140cac75f5fa279 (git)
Affected: 1ec363599f8346d5a8d08c71a0d9860d6c420ec0 , < 73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51 (git)
Affected: fc663711b94468f4e1427ebe289c9f05669699c9 , < be03df3d4bfe7e8866d4aa43d62e648ffe884f5f (git)
Affected: 13daafe1e209b03e9bda16ff2bd2b2da145a139b (git)
Affected: 4.19.278 , < 4.20 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 5.4.237 , < 5.4.238 (semver)
Affected: 5.10.175 , < 5.10.176 (semver)
Affected: 5.15.103 , < 5.15.104 (semver)
Affected: 6.1.20 , < 6.1.21 (semver)
Affected: 6.2.7 , < 6.2.8 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/hosts.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "88c3d3bb6469cea929ac68fd326bdcbefcdfdd83",
              "status": "affected",
              "version": "891a3cba425cf483d96facca55aebd6ff1da4338",
              "versionType": "git"
            },
            {
              "lessThan": "68c665bb185037e7eb66fb792c61da9d7151e99c",
              "status": "affected",
              "version": "6b223e32d66ca9db1f252f433514783d8b22a8e1",
              "versionType": "git"
            },
            {
              "lessThan": "2a764d55e938743efa7c2cba7305633bcf227f09",
              "status": "affected",
              "version": "e471e928de97b00f297ad1015cc14f9459765713",
              "versionType": "git"
            },
            {
              "lessThan": "7e0ae8667fcdd99d1756922e1140cac75f5fa279",
              "status": "affected",
              "version": "17e98a5ede81b7696bec421f7afa2dfe467f5e6b",
              "versionType": "git"
            },
            {
              "lessThan": "73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51",
              "status": "affected",
              "version": "1ec363599f8346d5a8d08c71a0d9860d6c420ec0",
              "versionType": "git"
            },
            {
              "lessThan": "be03df3d4bfe7e8866d4aa43d62e648ffe884f5f",
              "status": "affected",
              "version": "fc663711b94468f4e1427ebe289c9f05669699c9",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "13daafe1e209b03e9bda16ff2bd2b2da145a139b",
              "versionType": "git"
            },
            {
              "lessThan": "4.20",
              "status": "affected",
              "version": "4.19.278",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/hosts.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "5.4.238",
              "status": "affected",
              "version": "5.4.237",
              "versionType": "semver"
            },
            {
              "lessThan": "5.10.176",
              "status": "affected",
              "version": "5.10.175",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.104",
              "status": "affected",
              "version": "5.15.103",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.21",
              "status": "affected",
              "version": "6.1.20",
              "versionType": "semver"
            },
            {
              "lessThan": "6.2.8",
              "status": "affected",
              "version": "6.2.7",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.238",
                  "versionStartIncluding": "5.4.237",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.176",
                  "versionStartIncluding": "5.10.175",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.104",
                  "versionStartIncluding": "5.15.103",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.21",
                  "versionStartIncluding": "6.1.20",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.8",
                  "versionStartIncluding": "6.2.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "4.19.278",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: Fix a procfs host directory removal regression\n\nscsi_proc_hostdir_rm() decreases a reference counter and hence must only be\ncalled once per host that is removed. This change does not require a\nscsi_add_host_with_dma() change since scsi_add_host_with_dma() will return\n0 (success) if scsi_proc_host_add() is called."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-23T15:28:05.192Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/88c3d3bb6469cea929ac68fd326bdcbefcdfdd83"
        },
        {
          "url": "https://git.kernel.org/stable/c/68c665bb185037e7eb66fb792c61da9d7151e99c"
        },
        {
          "url": "https://git.kernel.org/stable/c/2a764d55e938743efa7c2cba7305633bcf227f09"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e0ae8667fcdd99d1756922e1140cac75f5fa279"
        },
        {
          "url": "https://git.kernel.org/stable/c/73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51"
        },
        {
          "url": "https://git.kernel.org/stable/c/be03df3d4bfe7e8866d4aa43d62e648ffe884f5f"
        }
      ],
      "title": "scsi: core: Fix a procfs host directory removal regression",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53118",
    "datePublished": "2025-05-02T15:55:56.177Z",
    "dateReserved": "2025-05-02T15:51:43.555Z",
    "dateUpdated": "2026-05-23T15:28:05.192Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-53118",
      "date": "2026-09-19",
      "epss": "0.00194",
      "percentile": "0.09402"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/scsi/hosts.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "88c3d3bb6469cea929ac68fd326bdcbefcdfdd83",
                    "status": "affected",
                    "version": "891a3cba425cf483d96facca55aebd6ff1da4338",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "68c665bb185037e7eb66fb792c61da9d7151e99c",
                    "status": "affected",
                    "version": "6b223e32d66ca9db1f252f433514783d8b22a8e1",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "2a764d55e938743efa7c2cba7305633bcf227f09",
                    "status": "affected",
                    "version": "e471e928de97b00f297ad1015cc14f9459765713",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7e0ae8667fcdd99d1756922e1140cac75f5fa279",
                    "status": "affected",
                    "version": "17e98a5ede81b7696bec421f7afa2dfe467f5e6b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51",
                    "status": "affected",
                    "version": "1ec363599f8346d5a8d08c71a0d9860d6c420ec0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "be03df3d4bfe7e8866d4aa43d62e648ffe884f5f",
                    "status": "affected",
                    "version": "fc663711b94468f4e1427ebe289c9f05669699c9",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "13daafe1e209b03e9bda16ff2bd2b2da145a139b",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "4.20",
                    "status": "affected",
                    "version": "4.19.278",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "drivers/scsi/hosts.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "5.4.238",
                    "status": "affected",
                    "version": "5.4.237",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.10.176",
                    "status": "affected",
                    "version": "5.10.175",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "5.15.104",
                    "status": "affected",
                    "version": "5.15.103",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.1.21",
                    "status": "affected",
                    "version": "6.1.20",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.2.8",
                    "status": "affected",
                    "version": "6.2.7",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "35867D8C-C60E-45C2-8EE9-39A4E3EF91F3",
                    "versionEndExcluding": "4.20",
                    "versionStartIncluding": "4.19.278",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.4.237:*:*:*:*:*:*:*",
                    "matchCriteriaId": "A0C4A400-BF1C-4D41-98B3-E639419C1B25",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.10.175:*:*:*:*:*:*:*",
                    "matchCriteriaId": "344E76D2-2659-4379-ADF2-01C772925245",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:5.15.103:*:*:*:*:*:*:*",
                    "matchCriteriaId": "8A848597-242F-43EC-9D61-6A2B2C98F7B8",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.1.20:*:*:*:*:*:*:*",
                    "matchCriteriaId": "36E6ECBE-C10D-40AF-B0FA-2EF41789D2EE",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.2.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2CF554BC-2C12-456C-BECE-A85F92BF95FA",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.3:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "B8E3B0E8-FA27-4305-87BB-AF6C25B160CB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:o:linux:linux_kernel:6.3:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "A47F0FC3-CE52-4BA1-BA51-22F783938431",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: core: Fix a procfs host directory removal regression\n\nscsi_proc_hostdir_rm() decreases a reference counter and hence must only be\ncalled once per host that is removed. This change does not require a\nscsi_add_host_with_dma() change since scsi_add_host_with_dma() will return\n0 (success) if scsi_proc_host_add() is called."
          },
          {
            "lang": "es",
            "value": "En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: scsi: core: Se corrige una regresi\u00f3n de eliminaci\u00f3n del directorio del host procfs. scsi_proc_hostdir_rm() disminuye un contador de referencias y, por lo tanto, solo debe llamarse una vez por cada host eliminado. Este cambio no requiere modificar scsi_add_host_with_dma(), ya que scsi_add_host_with_dma() devolver\u00e1 0 (\u00e9xito) si se llama a scsi_proc_host_add()."
          }
        ],
        "id": "CVE-2023-53118",
        "lastModified": "2026-06-17T06:44:20.023",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2025-05-02T16:15:30.880",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/2a764d55e938743efa7c2cba7305633bcf227f09"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/68c665bb185037e7eb66fb792c61da9d7151e99c"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/73f030d4ef6d1ad17f824a0a2eb637ef7a9c7d51"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/7e0ae8667fcdd99d1756922e1140cac75f5fa279"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/88c3d3bb6469cea929ac68fd326bdcbefcdfdd83"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "tags": [
              "Patch"
            ],
            "url": "https://git.kernel.org/stable/c/be03df3d4bfe7e8866d4aa43d62e648ffe884f5f"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "NVD-CWE-Other"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-29T22:09:23+00:00",
      "cve": "CVE-2023-53118",
      "id": "CVE-2023-53118",
      "initial_release_date": "2023-01-01T00:00:00+00:00",
      "product_status:known_affected": "198",
      "product_status:known_not_affected": "76",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: scsi: core: Fix a procfs host directory removal regression",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-53118.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-01T01:16:38Z",
      "cve": "CVE-2023-53118",
      "id": "CVE-2023-53118",
      "initial_release_date": "2025-05-03T02:50:21Z",
      "product_status:known_affected": "339",
      "product_status:known_not_affected": "343",
      "product_status:recommended": "237",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-53118",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-53118.json",
      "version": "48"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…