CVE-2023-53436 (GCVE-0-2023-53436)
Vulnerability from cvelistv5
Published
2025-09-18 16:04
Modified
2025-09-18 16:04
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: snic: Fix possible memory leak if device_add() fails If device_add() returns error, the name allocated by dev_set_name() needs be freed. As the comment of device_add() says, put_device() should be used to give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanp().
Impacted products
Vendor Product Version
Linux Linux Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Version: c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa
Create a notification for this product.
   Linux Linux Version: 4.2
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/snic/snic_disc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "789275f7c0544374d40bc8d9c81f96751a41df45",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            },
            {
              "lessThan": "f830968d464f55e11bc9260a132fc77daa266aa3",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            },
            {
              "lessThan": "cea09922f5f75652d55b481ee34011fc7f19868b",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            },
            {
              "lessThan": "58889d5ad74cbc1c9595db74e13522b58b69b0ec",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            },
            {
              "lessThan": "461f8ac666fa232afee5ed6420099913ec4e4ba2",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            },
            {
              "lessThan": "7723a5d5d187626c4c640842e522cf4e9e39492e",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            },
            {
              "lessThan": "ed0acb1ee2e9322b96611635a9ca9303d15ac76c",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            },
            {
              "lessThan": "41320b18a0e0dfb236dba4edb9be12dba1878156",
              "status": "affected",
              "version": "c8806b6c9e824f47726f2a9b7fbbe7ebf19306fa",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/snic/snic_disc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.2"
            },
            {
              "lessThan": "4.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.323",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.292",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.254",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.191",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.127",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.46",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.11",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.5",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.323",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.292",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.254",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.191",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.127",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.46",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.11",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5",
                  "versionStartIncluding": "4.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: snic: Fix possible memory leak if device_add() fails\n\nIf device_add() returns error, the name allocated by dev_set_name() needs\nbe freed. As the comment of device_add() says, put_device() should be used\nto give up the reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanp()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-18T16:04:15.138Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/789275f7c0544374d40bc8d9c81f96751a41df45"
        },
        {
          "url": "https://git.kernel.org/stable/c/f830968d464f55e11bc9260a132fc77daa266aa3"
        },
        {
          "url": "https://git.kernel.org/stable/c/cea09922f5f75652d55b481ee34011fc7f19868b"
        },
        {
          "url": "https://git.kernel.org/stable/c/58889d5ad74cbc1c9595db74e13522b58b69b0ec"
        },
        {
          "url": "https://git.kernel.org/stable/c/461f8ac666fa232afee5ed6420099913ec4e4ba2"
        },
        {
          "url": "https://git.kernel.org/stable/c/7723a5d5d187626c4c640842e522cf4e9e39492e"
        },
        {
          "url": "https://git.kernel.org/stable/c/ed0acb1ee2e9322b96611635a9ca9303d15ac76c"
        },
        {
          "url": "https://git.kernel.org/stable/c/41320b18a0e0dfb236dba4edb9be12dba1878156"
        }
      ],
      "title": "scsi: snic: Fix possible memory leak if device_add() fails",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53436",
    "datePublished": "2025-09-18T16:04:15.138Z",
    "dateReserved": "2025-09-17T14:54:09.751Z",
    "dateUpdated": "2025-09-18T16:04:15.138Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53436\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-09-18T16:15:47.737\",\"lastModified\":\"2025-09-19T16:00:27.847\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: snic: Fix possible memory leak if device_add() fails\\n\\nIf device_add() returns error, the name allocated by dev_set_name() needs\\nbe freed. As the comment of device_add() says, put_device() should be used\\nto give up the reference in the error path. So fix this by calling\\nput_device(), then the name can be freed in kobject_cleanp().\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/41320b18a0e0dfb236dba4edb9be12dba1878156\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/461f8ac666fa232afee5ed6420099913ec4e4ba2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/58889d5ad74cbc1c9595db74e13522b58b69b0ec\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7723a5d5d187626c4c640842e522cf4e9e39492e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/789275f7c0544374d40bc8d9c81f96751a41df45\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cea09922f5f75652d55b481ee34011fc7f19868b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/ed0acb1ee2e9322b96611635a9ca9303d15ac76c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f830968d464f55e11bc9260a132fc77daa266aa3\",\"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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…