CVE-2025-38573 (GCVE-0-2025-38573)
Vulnerability from cvelistv5
Published
2025-08-19 17:02
Modified
2026-08-05 12:03
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.
Impacted products
Vendor Product Version
Linux Linux Version: 0ca645ab5b1528666f6662a0e620140355b5aea3
Version: 0ca645ab5b1528666f6662a0e620140355b5aea3
Version: 0ca645ab5b1528666f6662a0e620140355b5aea3
Version: 0ca645ab5b1528666f6662a0e620140355b5aea3
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"
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…

Loading…