{"id":"CVE-2023-53275","aliases":["CVE-2023-53275"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()","summary":"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 ]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 ]","source":"cvelist"}],"published":"2025-09-16T08:11:10.475Z","modified":"2026-06-17T06:44:42.780Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"69d5dc286d05441ca2f854ae8df11201f6f9b706","fixed":"109f0aaa0b8838a88af9125b79579023539300a7","status":"affected"},{"type":"git","introduced":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","fixed":"9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb","status":"affected"},{"type":"git","introduced":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","fixed":"8703b26387e1fa4f8749db98d24c67617b873acb","status":"affected"},{"type":"git","introduced":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","fixed":"cdd412b528dee6e0851c4735d6676ec138da13a4","status":"affected"},{"type":"git","introduced":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","fixed":"b32e40379e5b2814de0c4bc199edc2d82317dc07","status":"affected"},{"type":"git","introduced":"1a462be52f4505a2719631fb5aa7bfdbd37bfd8d","fixed":"1f4a08fed450db87fbb5ff5105354158bdbe1a22","status":"affected"},{"type":"semver","introduced":"5.4.43","fixed":"5.4.255","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.4.255","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.192","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.128","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.47","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.12","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"5.4.255"},{"status":"affected","introduced":"5.5","fixed":"5.10.192"},{"status":"affected","introduced":"5.11","fixed":"5.15.128"},{"status":"affected","introduced":"5.16","fixed":"6.1.47"},{"status":"affected","introduced":"6.2","fixed":"6.4.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/109f0aaa0b8838a88af9125b79579023539300a7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8703b26387e1fa4f8749db98d24c67617b873acb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cdd412b528dee6e0851c4735d6676ec138da13a4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b32e40379e5b2814de0c4bc199edc2d82317dc07","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1f4a08fed450db87fbb5ff5105354158bdbe1a22","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:06:44.564Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53275","url":"https://www.cve.org/CVERecord?id=CVE-2023-53275","licence":"CVE Terms of Use","modified":"2026-05-23T15:28:25.281Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53275","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53275","licence":"Public domain","modified":"2026-06-17T06:44:42.780Z"}],"updatedAt":"2026-11-25T22:58:34.808Z","epss":{"score":0.00166,"percentile":0.06164,"date":"2026-12-01T12:00:22.000Z"}}