{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-53275","id":"CVE-2023-53275","title":"ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()\n\nThe variable codec->regmap is often protected by the lock\ncodec->regmap_lock when is accessed. However, it is accessed without\nholding the lock when is accessed in snd_hdac_regmap_sync():\n\n  if (codec->regmap)\n\nIn my opinion, this may b","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()\n\nThe variable codec->regmap is often protected by the lock\ncodec->regmap_lock when is accessed. However, it is accessed without\nholding the lock when is accessed in snd_hdac_regmap_sync():\n\n  if (codec->regmap)\n\nIn my opinion, this may be a harmful race, because if codec->regmap is\nset to NULL right after the condition is checked, a null-pointer\ndereference can occur in the called function regcache_sync():\n\n  map->lock(map->lock_arg); --> Line 360 in drivers/base/regmap/regcache.c\n\nTo fix this possible null-pointer dereference caused by data race, the\nmutex_lock coverage is extended to protect the if statement as well as the\nfunction call to regcache_sync().\n\n[ Note: the lack of the regmap_lock itself is harmless for the current\n  codec driver implementations, as snd_hdac_regmap_sync() is only for\n  PM runtime resume that is prohibited during the codec probe.\n  But the change makes the whole code more consistent, so it's merged\n  as is -- tiwai ]","published":"2025-09-16T08:11:10.475Z","updated":"2026-11-17T07:00:41.546016046Z","reserved":"2025-09-16T08:09:37.990Z","status":"Modified","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"},{"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":"CISA-ADP"},{"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":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"69d5dc286d05441ca2f854ae8df11201f6f9b706","lessThan":"109f0aaa0b8838a88af9125b79579023539300a7","status":"affected","versionType":"git"},{"version":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","lessThan":"9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb","status":"affected","versionType":"git"},{"version":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","lessThan":"8703b26387e1fa4f8749db98d24c67617b873acb","status":"affected","versionType":"git"},{"version":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","lessThan":"cdd412b528dee6e0851c4735d6676ec138da13a4","status":"affected","versionType":"git"},{"version":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","lessThan":"b32e40379e5b2814de0c4bc199edc2d82317dc07","status":"affected","versionType":"git"},{"version":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","lessThan":"1f4a08fed450db87fbb5ff5105354158bdbe1a22","status":"affected","versionType":"git"},{"version":"5.4.43","lessThan":"5.4.255","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.6","status":"affected"},{"version":"0","lessThan":"5.6","status":"unaffected","versionType":"semver"},{"version":"5.4.255","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.192","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.128","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.47","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.4.12","lessThanOrEqual":"6.4.*","status":"unaffected","versionType":"semver"},{"version":"6.5","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/109f0aaa0b8838a88af9125b79579023539300a7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8703b26387e1fa4f8749db98d24c67617b873acb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/cdd412b528dee6e0851c4735d6676ec138da13a4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b32e40379e5b2814de0c4bc199edc2d82317dc07","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1f4a08fed450db87fbb5ff5105354158bdbe1a22","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53275.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53275","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.00166,"epssPercentile":0.05981,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-53275","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53275","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-53275","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-53275","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}