CVE-2023-7324 (GCVE-0-2023-7324)

Vulnerability from cvelistv5 – Published: 2025-10-29 13:46 – Updated: 2026-08-05 09:19
VLAI
Title
scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses
Summary
In the Linux kernel, the following vulnerability has been resolved: scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses Sanitize possible addl_desc_ptr out-of-bounds accesses in ses_enclosure_data_process().
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < af5114d824f3511a69d68beff49ca9a7c32d44e0 (git)
Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < a156a262c543fa5ff30bcb2fc6ad1a95cb4ab57a (git)
Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < 8e454aba72805241239caf8ba9b8e5a6be772b96 (git)
Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < 2ecd344173a5663d523433819da0484cb268b186 (git)
Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < 384aa697d8f2a28b5e962f5292cdfd2e528b5df7 (git)
Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < 27067c672980b497cc34048b69b12820851ac6b9 (git)
Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < b91ef85a32fdba45fcbad87dd526d73d3b6d857d (git)
Affected: 9927c68864e9c39cc317b4f559309ba29e642168 , < db95d4df71cb55506425b6e4a5f8d68e3a765b63 (git)
Create a notification for this product.
Linux Linux Affected: 2.6.25
Unaffected: 0 , < 2.6.25 (semver)
Unaffected: 4.14.308 , ≤ 4.14.* (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": [
            "drivers/scsi/ses.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "af5114d824f3511a69d68beff49ca9a7c32d44e0",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            },
            {
              "lessThan": "a156a262c543fa5ff30bcb2fc6ad1a95cb4ab57a",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            },
            {
              "lessThan": "8e454aba72805241239caf8ba9b8e5a6be772b96",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            },
            {
              "lessThan": "2ecd344173a5663d523433819da0484cb268b186",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            },
            {
              "lessThan": "384aa697d8f2a28b5e962f5292cdfd2e528b5df7",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            },
            {
              "lessThan": "27067c672980b497cc34048b69b12820851ac6b9",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            },
            {
              "lessThan": "b91ef85a32fdba45fcbad87dd526d73d3b6d857d",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            },
            {
              "lessThan": "db95d4df71cb55506425b6e4a5f8d68e3a765b63",
              "status": "affected",
              "version": "9927c68864e9c39cc317b4f559309ba29e642168",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/scsi/ses.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.25"
            },
            {
              "lessThan": "2.6.25",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.308",
              "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.14.308",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.276",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.235",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.173",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.99",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.16",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.2.3",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.3",
                  "versionStartIncluding": "2.6.25",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses\n\nSanitize possible addl_desc_ptr out-of-bounds accesses in\nses_enclosure_data_process()."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 8.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:A - The malformed data is the SES page 10 payload returned by the enclosure target over the storage fabric (SAS expander/enclosure, FC, or iSCSI/SRP target), so a rogue or compromised device on the SAN segment reaches the parser without local access. This matches the CNA\u0027s treatment of fabric-supplied OOB reads such as CVE-2026-31464 and CVE-2026-63889; a malicious USB device asserting the EncServ INQUIRY bit is an additional, less severe path.\nAC:L - The attacker fully controls both the page 10 length field and its contents, so simply reporting a page length of 0 while advertising DEVICE/ARRAY_DEVICE elements in page 1 deterministically drives addl_desc_ptr past the end of the allocation. No race, timing, or uncontrolled memory-layout condition is involved.\nPR:N - ses_intf_add() runs automatically during SCSI LUN discovery/rescan and binds to any target that sets the EncServ bit in its own INQUIRY response, so no credentials or prior authorization on the host are required. The KASAN report in the companion fix was triggered by systemd-udevd during ordinary enumeration.\nUI:N - Enclosure probing is driven by the kernel\u0027s automatic device discovery on link-up/hotplug and on session re-establishment, not by any operator action. No mount, open, or configuration step by a victim is needed.\nS:U - The out-of-bounds read stays within the kernel\u0027s own slab memory and the resulting data is exposed through the kernel\u0027s enclosure sysfs interface. No VM, IOMMU, or sandbox boundary is crossed.\nC:H - Adjacent slab memory is read out of bounds and the bytes are retained in ecomp-\u003eslot and scomp-\u003eaddr, with slot exported through the world-readable /sys/class/enclosure/*/*/slot attribute, giving a repeatable heap-adjacency oracle usable to disclose kernel heap contents and defeat layout randomization. Repeated re-probes let the attacker sample different heap neighbours.\nI:N - The defect is strictly a read overrun \u2014 ses_process_descriptor() only loads from the descriptor and writes to in-bounds fields, so there is no out-of-bounds write or control-flow primitive. Any wrong slot/address value reported is something a malicious enclosure could already report through well-formed data.\nA:H - The read can extend past the end of a page-sized page10 allocation into an adjacent frame, oopsing on configurations where that frame is unmapped (DEBUG_PAGEALLOC/KFENCE, memory holes), and trips a KASAN slab-out-of-bounds report that panics hosts running panic_on_warn. The attacker can force this on every discovery cycle."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T09:19:20.163Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/af5114d824f3511a69d68beff49ca9a7c32d44e0"
        },
        {
          "url": "https://git.kernel.org/stable/c/a156a262c543fa5ff30bcb2fc6ad1a95cb4ab57a"
        },
        {
          "url": "https://git.kernel.org/stable/c/8e454aba72805241239caf8ba9b8e5a6be772b96"
        },
        {
          "url": "https://git.kernel.org/stable/c/2ecd344173a5663d523433819da0484cb268b186"
        },
        {
          "url": "https://git.kernel.org/stable/c/384aa697d8f2a28b5e962f5292cdfd2e528b5df7"
        },
        {
          "url": "https://git.kernel.org/stable/c/27067c672980b497cc34048b69b12820851ac6b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/b91ef85a32fdba45fcbad87dd526d73d3b6d857d"
        },
        {
          "url": "https://git.kernel.org/stable/c/db95d4df71cb55506425b6e4a5f8d68e3a765b63"
        }
      ],
      "title": "scsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2023-7324",
    "datePublished": "2025-10-29T13:46:14.184Z",
    "dateReserved": "2025-10-29T13:44:46.603Z",
    "dateUpdated": "2026-08-05T09:19:20.163Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2023-7324",
      "date": "2026-08-14",
      "epss": "0.00289",
      "percentile": "0.21328"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2023-7324\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-10-29T14:15:49.927\",\"lastModified\":\"2026-08-04T11:16:41.040\",\"vulnStatus\":\"Deferred\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: ses: Fix possible addl_desc_ptr out-of-bounds accesses\\n\\nSanitize possible addl_desc_ptr out-of-bounds accesses in\\nses_enclosure_data_process().\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/scsi/ses.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"af5114d824f3511a69d68beff49ca9a7c32d44e0\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"a156a262c543fa5ff30bcb2fc6ad1a95cb4ab57a\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"8e454aba72805241239caf8ba9b8e5a6be772b96\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"2ecd344173a5663d523433819da0484cb268b186\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"384aa697d8f2a28b5e962f5292cdfd2e528b5df7\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"27067c672980b497cc34048b69b12820851ac6b9\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"b91ef85a32fdba45fcbad87dd526d73d3b6d857d\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"9927c68864e9c39cc317b4f559309ba29e642168\",\"lessThan\":\"db95d4df71cb55506425b6e4a5f8d68e3a765b63\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/scsi/ses.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"2.6.25\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"2.6.25\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.14.308\",\"lessThanOrEqual\":\"4.14.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"4.19.276\",\"lessThanOrEqual\":\"4.19.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.4.235\",\"lessThanOrEqual\":\"5.4.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.10.173\",\"lessThanOrEqual\":\"5.10.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.99\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.16\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.2.3\",\"lessThanOrEqual\":\"6.2.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.3\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H\",\"baseScore\":8.1,\"baseSeverity\":\"HIGH\",\"attackVector\":\"ADJACENT_NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":2.8,\"impactScore\":5.2}]},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/27067c672980b497cc34048b69b12820851ac6b9\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2ecd344173a5663d523433819da0484cb268b186\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/384aa697d8f2a28b5e962f5292cdfd2e528b5df7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/8e454aba72805241239caf8ba9b8e5a6be772b96\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a156a262c543fa5ff30bcb2fc6ad1a95cb4ab57a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/af5114d824f3511a69d68beff49ca9a7c32d44e0\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b91ef85a32fdba45fcbad87dd526d73d3b6d857d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/db95d4df71cb55506425b6e4a5f8d68e3a765b63\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-08-04T19:13:19+00:00",
      "cve": "CVE-2023-7324",
      "id": "CVE-2023-7324",
      "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: ses: Fix possible addl_desc_ptr out-of-bounds accesses",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-7324.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-05T01:08:10Z",
      "cve": "CVE-2023-7324",
      "id": "CVE-2023-7324",
      "initial_release_date": "2025-10-30T00:39:27Z",
      "product_status:known_affected": "478",
      "product_status:known_not_affected": "165",
      "product_status:recommended": "219",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2023-7324",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2023-7324.json",
      "version": "30"
    }
  }
}



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…

Loading…