{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-52736","id":"CVE-2023-52736","title":"ALSA: hda: Do not unset preset when cleaning up codec","description":"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 ","descriptionLong":"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.","published":"2024-05-21T15:23:00.572Z","updated":"2026-10-28T02:30:58.738036718Z","reserved":"2024-05-21T15:19:24.232Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","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"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","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"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7fc4e7191eae9d9325511e03deadfdb2224914f8","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/e909f5f2aa55a8f9aa6919cce08015cb0e8d4668","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/427ca2530da8dc61a42620d7113b05e187b6c2c0","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/87978e6ad45a16835cc58234451111091be3c59a","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52736.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52736","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0024,"epssPercentile":0.15243,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-52736","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52736","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-52736","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-52736","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}