CVE-2025-38573 (GCVE-0-2025-38573)

Vulnerability from cvelistv5 – Published: 2025-08-19 17:02 – Updated: 2026-08-05 12:03
VLAI
Title
spi: cs42l43: Property entry should be a null-terminated array
Summary
In the Linux kernel, the following vulnerability has been resolved: spi: cs42l43: Property entry should be a null-terminated array The software node does not specify a count of property entries, so the array must be null-terminated. When unterminated, this can lead to a fault in the downstream cs35l56 amplifier driver, because the node parse walks off the end of the array into unknown memory.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 0ca645ab5b1528666f6662a0e620140355b5aea3 , < 674328102baad76c7a06628efc01974ece5ae27f (git)
Affected: 0ca645ab5b1528666f6662a0e620140355b5aea3 , < 9f0035ae38d2571f5ddedc829d74492013caa625 (git)
Affected: 0ca645ab5b1528666f6662a0e620140355b5aea3 , < 139b5df757a0aa436f763b0038e0b73808d2f4b6 (git)
Affected: 0ca645ab5b1528666f6662a0e620140355b5aea3 , < ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667 (git)
Create a notification for this product.
Linux Linux Affected: 6.11
Unaffected: 0 , < 6.11 (semver)
Unaffected: 6.12.42 , ≤ 6.12.* (semver)
Unaffected: 6.15.10 , ≤ 6.15.* (semver)
Unaffected: 6.16.1 , ≤ 6.16.* (semver)
Unaffected: 6.17 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-cs42l43.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "674328102baad76c7a06628efc01974ece5ae27f",
              "status": "affected",
              "version": "0ca645ab5b1528666f6662a0e620140355b5aea3",
              "versionType": "git"
            },
            {
              "lessThan": "9f0035ae38d2571f5ddedc829d74492013caa625",
              "status": "affected",
              "version": "0ca645ab5b1528666f6662a0e620140355b5aea3",
              "versionType": "git"
            },
            {
              "lessThan": "139b5df757a0aa436f763b0038e0b73808d2f4b6",
              "status": "affected",
              "version": "0ca645ab5b1528666f6662a0e620140355b5aea3",
              "versionType": "git"
            },
            {
              "lessThan": "ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667",
              "status": "affected",
              "version": "0ca645ab5b1528666f6662a0e620140355b5aea3",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/spi/spi-cs42l43.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.11"
            },
            {
              "lessThan": "6.11",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.42",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.15.*",
              "status": "unaffected",
              "version": "6.15.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.16.*",
              "status": "unaffected",
              "version": "6.16.1",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.17",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.42",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.15.10",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.16.1",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.17",
                  "versionStartIncluding": "6.11",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: cs42l43: Property entry should be a null-terminated array\n\nThe software node does not specify a count of property entries, so the\narray must be null-terminated.\n\nWhen unterminated, this can lead to a fault in the downstream cs35l56\namplifier driver, because the node parse walks off the end of the\narray into unknown memory."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The flaw lives in the cs42l43 SPI bridge probe path and is consumed by the on-board cs35l56 codec driver on the same machine; there is no network, adjacent-network, or removable-device ingress, so reaching it requires local presence on the affected laptop.\nAC:L - On affected hardware the array is unconditionally unterminated, so `property_entry_get()` reads out of bounds deterministically on every property lookup for the bridged amp \u2014 no race, timing window, or memory grooming is needed for the OOB access itself.\nPR:L - The OOB walk executes automatically during device probe with no attacker-supplied input, so an ordinary unprivileged local account on the machine is the lowest bar that meaningfully applies; no capability check gates the code path itself.\nUI:N - The bad software node is created and parsed during driver probe at boot or module load; no victim action such as opening a file or mounting a filesystem is required.\nS:U - The out-of-bounds read and any resulting fault are entirely within the kernel\u0027s own security authority \u2014 no hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - The walk is unbounded \u2014 it continues until it happens to find a zero `.name` \u2014 and passes attacker-uninfluenced heap words to `strcmp()` as pointers, producing an unbounded slab OOB read plus dereference of effectively arbitrary kernel addresses rather than a few strictly bounded bytes.\nI:L - There is no OOB write or OOB free (`property_entries_free()` is unreachable since the node is not `allocated`, and the memcpy is length-checked), but a bogus entry accepted from past-the-end memory can supply a wrong speaker ID that changes the DSP firmware file selected via `\"%04x%04x-spkid%d\"`, giving limited modification of driver state.\nA:H - Dereferencing the garbage `.name` pointer in `strcmp()` faults in kernel context, which is exactly the failure the commit and bugzilla 220371 describe \u2014 an oops during probe that leaves audio and potentially the boot unusable."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:03:01.778Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/674328102baad76c7a06628efc01974ece5ae27f"
        },
        {
          "url": "https://git.kernel.org/stable/c/9f0035ae38d2571f5ddedc829d74492013caa625"
        },
        {
          "url": "https://git.kernel.org/stable/c/139b5df757a0aa436f763b0038e0b73808d2f4b6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667"
        }
      ],
      "title": "spi: cs42l43: Property entry should be a null-terminated array",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-38573",
    "datePublished": "2025-08-19T17:02:53.008Z",
    "dateReserved": "2025-04-16T04:51:24.025Z",
    "dateUpdated": "2026-08-05T12:03:01.778Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-38573",
      "date": "2026-08-09",
      "epss": "0.00159",
      "percentile": "0.05548"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-38573\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-08-19T17:15:34.283\",\"lastModified\":\"2026-07-30T06:23:27.560\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nspi: cs42l43: Property entry should be a null-terminated array\\n\\nThe software node does not specify a count of property entries, so the\\narray must be null-terminated.\\n\\nWhen unterminated, this can lead to a fault in the downstream cs35l56\\namplifier driver, because the node parse walks off the end of the\\narray into unknown memory.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: spi: cs42l43: La entrada de propiedad debe ser una matriz con terminaci\u00f3n nula. El nodo de software no especifica un n\u00famero de entradas de propiedad, por lo que la matriz debe terminar en nulo. Si no est\u00e1 terminada, esto puede provocar un fallo en el controlador del amplificador cs35l56, ya que el an\u00e1lisis del nodo se desv\u00eda del final de la matriz hacia una memoria desconocida.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/spi/spi-cs42l43.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"0ca645ab5b1528666f6662a0e620140355b5aea3\",\"lessThan\":\"674328102baad76c7a06628efc01974ece5ae27f\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0ca645ab5b1528666f6662a0e620140355b5aea3\",\"lessThan\":\"9f0035ae38d2571f5ddedc829d74492013caa625\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0ca645ab5b1528666f6662a0e620140355b5aea3\",\"lessThan\":\"139b5df757a0aa436f763b0038e0b73808d2f4b6\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0ca645ab5b1528666f6662a0e620140355b5aea3\",\"lessThan\":\"ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/spi/spi-cs42l43.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"6.11\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"6.11\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.42\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.15.10\",\"lessThanOrEqual\":\"6.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.16.1\",\"lessThanOrEqual\":\"6.16.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.17\",\"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:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H\",\"baseScore\":7.3,\"baseSeverity\":\"HIGH\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.8,\"impactScore\":5.5},{\"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-Other\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.11\",\"versionEndExcluding\":\"6.12.42\",\"matchCriteriaId\":\"F8763925-0DBB-4581-B7CC-71A26867D63E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.13\",\"versionEndExcluding\":\"6.15.10\",\"matchCriteriaId\":\"5890C690-B295-40C2-9121-FF5F987E5142\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.16\",\"versionEndExcluding\":\"6.16.1\",\"matchCriteriaId\":\"58182352-D7DF-4CC9-841E-03C1D852C3FB\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/139b5df757a0aa436f763b0038e0b73808d2f4b6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/674328102baad76c7a06628efc01974ece5ae27f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/9f0035ae38d2571f5ddedc829d74492013caa625\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Low",
      "current_release_date": "2026-07-30T10:09:13+00:00",
      "cve": "CVE-2025-38573",
      "id": "CVE-2025-38573",
      "initial_release_date": "2025-08-19T00:00:00+00:00",
      "product_status:known_affected": "76",
      "product_status:known_not_affected": "198",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: spi: cs42l43: Property entry should be a null-terminated array",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-38573.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-07-25T00:44:15Z",
      "cve": "CVE-2025-38573",
      "id": "CVE-2025-38573",
      "initial_release_date": "2025-08-19T23:23:40Z",
      "product_status:first_fixed": "2",
      "product_status:known_not_affected": "416",
      "product_status:recommended": "154",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2025-38573",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2025-38573.json",
      "version": "21"
    }
  }
}



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…