CVE-2023-53456 (GCVE-0-2023-53456)

Vulnerability from cvelistv5 – Published: 2025-10-01 11:42 – Updated: 2026-05-11 19:45
VLAI?
Title
scsi: qla4xxx: Add length check when parsing nlattrs
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: qla4xxx: Add length check when parsing nlattrs There are three places that qla4xxx parses nlattrs: - qla4xxx_set_chap_entry() - qla4xxx_iface_set_param() - qla4xxx_sysfs_ddb_set_param() and each of them directly converts the nlattr to specific pointer of structure without length checking. This could be dangerous as those attributes are not validated and a malformed nlattr (e.g., length 0) could result in an OOB read that leaks heap dirty data. Add the nla_len check before accessing the nlattr data and return EINVAL if the length check fails.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < cfa6a1a79ed6d336fac7a5d87eb5471e4401829f (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < 5925e224cc6edfef57b20447f18323208461309b (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < 47f3be62eab50b8cd7e1ae5fc2c4dae687497c34 (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < 6d65079c69dc1feb817ed71f5bd15e83a7d6832d (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < f61fc650c47849637fa1771a31a11674c824138a (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < 25feffb3fbd51ae81d92c65cebc0e932663828b3 (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < 4ed21975311247bb84e82298eeb359ec0a0fa84d (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < b018c0440b871d8b001c996e95fa4538bd292de6 (git)
Affected: 00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80 , < 47cd3770e31df942e2bb925a9a855c79ed0662eb (git)
Create a notification for this product.
Linux Linux Affected: 3.2
Unaffected: 0 , < 3.2 (semver)
Unaffected: 4.14.326 , ≤ 4.14.* (semver)
Unaffected: 4.19.295 , ≤ 4.19.* (semver)
Unaffected: 5.4.257 , ≤ 5.4.* (semver)
Unaffected: 5.10.195 , ≤ 5.10.* (semver)
Unaffected: 5.15.132 , ≤ 5.15.* (semver)
Unaffected: 6.1.53 , ≤ 6.1.* (semver)
Unaffected: 6.4.16 , ≤ 6.4.* (semver)
Unaffected: 6.5.3 , ≤ 6.5.* (semver)
Unaffected: 6.6 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla4xxx/ql4_os.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "cfa6a1a79ed6d336fac7a5d87eb5471e4401829f",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "5925e224cc6edfef57b20447f18323208461309b",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "47f3be62eab50b8cd7e1ae5fc2c4dae687497c34",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "6d65079c69dc1feb817ed71f5bd15e83a7d6832d",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "f61fc650c47849637fa1771a31a11674c824138a",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "25feffb3fbd51ae81d92c65cebc0e932663828b3",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "4ed21975311247bb84e82298eeb359ec0a0fa84d",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "b018c0440b871d8b001c996e95fa4538bd292de6",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            },
            {
              "lessThan": "47cd3770e31df942e2bb925a9a855c79ed0662eb",
              "status": "affected",
              "version": "00c31889f7513e9ffa6b2b4de8ad6d7f59a61c80",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/qla4xxx/ql4_os.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.2"
            },
            {
              "lessThan": "3.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.326",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.295",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.257",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.195",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.132",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.53",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.4.*",
              "status": "unaffected",
              "version": "6.4.16",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.5.*",
              "status": "unaffected",
              "version": "6.5.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.6",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.326",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.295",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.257",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.195",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.132",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.53",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.4.16",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.5.3",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6",
                  "versionStartIncluding": "3.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla4xxx: Add length check when parsing nlattrs\n\nThere are three places that qla4xxx parses nlattrs:\n\n - qla4xxx_set_chap_entry()\n\n - qla4xxx_iface_set_param()\n\n - qla4xxx_sysfs_ddb_set_param()\n\nand each of them directly converts the nlattr to specific pointer of\nstructure without length checking. This could be dangerous as those\nattributes are not validated and a malformed nlattr (e.g., length 0) could\nresult in an OOB read that leaks heap dirty data.\n\nAdd the nla_len check before accessing the nlattr data and return EINVAL if\nthe length check fails."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T19:45:21.497Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f"
        },
        {
          "url": "https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b"
        },
        {
          "url": "https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34"
        },
        {
          "url": "https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d"
        },
        {
          "url": "https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a"
        },
        {
          "url": "https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3"
        },
        {
          "url": "https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d"
        },
        {
          "url": "https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6"
        },
        {
          "url": "https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb"
        }
      ],
      "title": "scsi: qla4xxx: Add length check when parsing nlattrs",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-53456",
    "datePublished": "2025-10-01T11:42:27.821Z",
    "dateReserved": "2025-09-17T14:54:09.754Z",
    "dateUpdated": "2026-05-11T19:45:21.497Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-53456",
      "date": "2026-05-24",
      "epss": "0.00016",
      "percentile": "0.03981"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-53456\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-01T12:15:45.983\",\"lastModified\":\"2026-01-16T21:09:17.963\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: qla4xxx: Add length check when parsing nlattrs\\n\\nThere are three places that qla4xxx parses nlattrs:\\n\\n - qla4xxx_set_chap_entry()\\n\\n - qla4xxx_iface_set_param()\\n\\n - qla4xxx_sysfs_ddb_set_param()\\n\\nand each of them directly converts the nlattr to specific pointer of\\nstructure without length checking. This could be dangerous as those\\nattributes are not validated and a malformed nlattr (e.g., length 0) could\\nresult in an OOB read that leaks heap dirty data.\\n\\nAdd the nla_len check before accessing the nlattr data and return EINVAL if\\nthe length check fails.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":5.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"3.2\",\"versionEndExcluding\":\"4.14.326\",\"matchCriteriaId\":\"5101C2A9-BFF1-4181-A09E-AD65D7795F6B\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.15\",\"versionEndExcluding\":\"4.19.295\",\"matchCriteriaId\":\"D419C7D6-F33D-4EF8-8950-1CB5DDF6A55D\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"4.20\",\"versionEndExcluding\":\"5.4.257\",\"matchCriteriaId\":\"834BD148-28EC-43A4-A4F5-458124A1E39F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.5\",\"versionEndExcluding\":\"5.10.195\",\"matchCriteriaId\":\"C385B650-53DB-4BFB-83D1-1D8FADF653EF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.11\",\"versionEndExcluding\":\"5.15.132\",\"matchCriteriaId\":\"5913891D-409A-4EEC-9231-F2EF5A493BC7\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.16\",\"versionEndExcluding\":\"6.1.53\",\"matchCriteriaId\":\"B20754AF-3B8C-4574-A70D-EC24933810E5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.4.16\",\"matchCriteriaId\":\"C3039EA3-F6CA-43EF-9F17-81A7EC6841EF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.5\",\"versionEndExcluding\":\"6.5.3\",\"matchCriteriaId\":\"880C803A-BEAE-4DA0-8A59-AC023F7B4EE3\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/25feffb3fbd51ae81d92c65cebc0e932663828b3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/47cd3770e31df942e2bb925a9a855c79ed0662eb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/47f3be62eab50b8cd7e1ae5fc2c4dae687497c34\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/4ed21975311247bb84e82298eeb359ec0a0fa84d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/5925e224cc6edfef57b20447f18323208461309b\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/6d65079c69dc1feb817ed71f5bd15e83a7d6832d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/b018c0440b871d8b001c996e95fa4538bd292de6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/cfa6a1a79ed6d336fac7a5d87eb5471e4401829f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/f61fc650c47849637fa1771a31a11674c824138a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}"
  }
}


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…