{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52736","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-05-21T15:19:24.232Z","datePublished":"2024-05-21T15:23:00.572Z","dateUpdated":"2026-01-05T10:17:02.881Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-01-05T10:17:02.881Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: Do not unset preset when cleaning up codec\n\nSeveral functions that take part in codec's initialization and removal\nare re-used by ASoC codec drivers implementations. Drivers mimic the\nbehavior of hda_codec_driver_probe/remove() found in\nsound/pci/hda/hda_bind.c with their component->probe/remove() instead.\n\nOne of the reasons for that is the expectation of\nsnd_hda_codec_device_new() to receive a valid pointer to an instance of\nstruct snd_card. This expectation can be met only once sound card\ncomponents probing commences.\n\nAs ASoC sound card may be unbound without codec device being actually\nremoved from the system, unsetting ->preset in\nsnd_hda_codec_cleanup_for_unbind() interferes with module unload -> load\nscenario causing null-ptr-deref. Preset is assigned only once, during\ndevice/driver matching whereas ASoC codec driver's module reloading may\noccur several times throughout the lifetime of an audio stack."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/hda_bind.c","sound/pci/hda/hda_codec.c"],"versions":[{"version":"9a6246ff78ac33af78f82704cde6fec361597eea","lessThan":"7fc4e7191eae9d9325511e03deadfdb2224914f8","status":"affected","versionType":"git"},{"version":"9a6246ff78ac33af78f82704cde6fec361597eea","lessThan":"e909f5f2aa55a8f9aa6919cce08015cb0e8d4668","status":"affected","versionType":"git"},{"version":"9a6246ff78ac33af78f82704cde6fec361597eea","lessThan":"427ca2530da8dc61a42620d7113b05e187b6c2c0","status":"affected","versionType":"git"},{"version":"9a6246ff78ac33af78f82704cde6fec361597eea","lessThan":"87978e6ad45a16835cc58234451111091be3c59a","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/pci/hda/hda_bind.c","sound/pci/hda/hda_codec.c"],"versions":[{"version":"4.1","status":"affected"},{"version":"0","lessThan":"4.1","status":"unaffected","versionType":"semver"},{"version":"5.10.169","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.95","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.13","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","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":"4.1","versionEndExcluding":"5.10.169"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"5.15.95"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.1.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1","versionEndExcluding":"6.2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/7fc4e7191eae9d9325511e03deadfdb2224914f8"},{"url":"https://git.kernel.org/stable/c/e909f5f2aa55a8f9aa6919cce08015cb0e8d4668"},{"url":"https://git.kernel.org/stable/c/427ca2530da8dc61a42620d7113b05e187b6c2c0"},{"url":"https://git.kernel.org/stable/c/87978e6ad45a16835cc58234451111091be3c59a"}],"title":"ALSA: hda: Do not unset preset when cleaning up codec","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-17T17:37:05.495763Z","id":"CVE-2023-52736","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-17T17:37:38.920Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T23:11:35.525Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/7fc4e7191eae9d9325511e03deadfdb2224914f8","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/e909f5f2aa55a8f9aa6919cce08015cb0e8d4668","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/427ca2530da8dc61a42620d7113b05e187b6c2c0","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/87978e6ad45a16835cc58234451111091be3c59a","tags":["x_transferred"]}]}]}}