{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38573","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T04:51:24.025Z","datePublished":"2025-08-19T17:02:53.008Z","dateUpdated":"2026-08-05T12:03:01.778Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T12:03:01.778Z"},"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":{"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"},"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 — 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's own security authority — no hypervisor, IOMMU, or sandbox boundary is crossed.\nC:H - The walk is unbounded — it continues until it happens to find a zero `.name` — 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 — an oops during probe that leaves audio and potentially the boot unusable."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-cs42l43.c"],"versions":[{"version":"0ca645ab5b1528666f6662a0e620140355b5aea3","lessThan":"674328102baad76c7a06628efc01974ece5ae27f","status":"affected","versionType":"git"},{"version":"0ca645ab5b1528666f6662a0e620140355b5aea3","lessThan":"9f0035ae38d2571f5ddedc829d74492013caa625","status":"affected","versionType":"git"},{"version":"0ca645ab5b1528666f6662a0e620140355b5aea3","lessThan":"139b5df757a0aa436f763b0038e0b73808d2f4b6","status":"affected","versionType":"git"},{"version":"0ca645ab5b1528666f6662a0e620140355b5aea3","lessThan":"ffcfd071eec7973e58c4ffff7da4cb0e9ca7b667","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/spi/spi-cs42l43.c"],"versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","status":"unaffected","versionType":"semver"},{"version":"6.12.42","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.10","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16.1","lessThanOrEqual":"6.16.*","status":"unaffected","versionType":"semver"},{"version":"6.17","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.42"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.15.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.16.1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.17"}]}]}],"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"}}}}