{"id":"CVE-2025-37934","state":"PUBLISHED","title":"ASoC: simple-card-utils: Fix pointer check in graph_util_parse_link_direction","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: simple-card-utils: Fix pointer check in graph_util_parse_link_direction\n\nActually check if the passed pointers are valid, before writing to them.\nThis also fixes a USBAN warning:\nUBSAN: invalid-load in ../sound/soc/fsl/imx-card.c:687:25\nload of value 255 is not a valid value for type '_Bool'\n\nThis is because playback_only is uninitialized and is not written to, as\nthe playback-only property is absent.","publishedAt":"2025-05-20T15:21:58.770Z","updatedAt":"2026-05-11T21:17:56.252Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"844de7eebe97a1c277f8a408457712086c957195","status":"affected","lessThan":"b41a49d5435e0f76da320f231b7252800e8f736f","versionType":"git"},{"version":"844de7eebe97a1c277f8a408457712086c957195","status":"affected","lessThan":"9b5b3088c4d1752253491705919bd7d067964288","versionType":"git"},{"version":"844de7eebe97a1c277f8a408457712086c957195","status":"affected","lessThan":"3cc393d2232ec770b5f79bf0673d67702a3536c3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/generic/simple-card-utils.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.28","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.6","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/generic/simple-card-utils.c"]}],"references":["https://git.kernel.org/stable/c/b41a49d5435e0f76da320f231b7252800e8f736f","https://git.kernel.org/stable/c/9b5b3088c4d1752253491705919bd7d067964288","https://git.kernel.org/stable/c/3cc393d2232ec770b5f79bf0673d67702a3536c3"],"weaknesses":[],"ingestedAt":"2026-10-29T20:09:03.054Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/37xxx/CVE-2025-37934.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-37934","state":"PUBLISHED","datePublished":"2025-05-20T15:21:58.770Z","dateUpdated":"2026-05-11T21:17:56.252Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-04-16T04:51:23.970Z"},"containers":{"cna":{"title":"ASoC: simple-card-utils: Fix pointer check in graph_util_parse_link_direction","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: simple-card-utils: Fix pointer check in graph_util_parse_link_direction\n\nActually check if the passed pointers are valid, before writing to them.\nThis also fixes a USBAN warning:\nUBSAN: invalid-load in ../sound/soc/fsl/imx-card.c:687:25\nload of value 255 is not a valid value for type '_Bool'\n\nThis is because playback_only is uninitialized and is not written to, as\nthe playback-only property is absent."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"844de7eebe97a1c277f8a408457712086c957195","status":"affected","lessThan":"b41a49d5435e0f76da320f231b7252800e8f736f","versionType":"git"},{"version":"844de7eebe97a1c277f8a408457712086c957195","status":"affected","lessThan":"9b5b3088c4d1752253491705919bd7d067964288","versionType":"git"},{"version":"844de7eebe97a1c277f8a408457712086c957195","status":"affected","lessThan":"3cc393d2232ec770b5f79bf0673d67702a3536c3","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/generic/simple-card-utils.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.11","versionType":"semver"},{"version":"6.12.28","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.14.6","status":"unaffected","lessThanOrEqual":"6.14.*","versionType":"semver"},{"version":"6.15","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/generic/simple-card-utils.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b41a49d5435e0f76da320f231b7252800e8f736f"},{"url":"https://git.kernel.org/stable/c/9b5b3088c4d1752253491705919bd7d067964288"},{"url":"https://git.kernel.org/stable/c/3cc393d2232ec770b5f79bf0673d67702a3536c3"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T21:17:56.252Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.12.28"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.14.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.11","versionEndExcluding":"6.15"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}