{"id":"CVE-2023-53275","published":"2025-09-16T08:11:10Z","modified":"2026-05-23T15:28:25Z","title":"ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()","vendor":"Linux","product":"Linux","tier":"tail","description":{"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 ]","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00229,"percentile":0.0819,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/109f0aaa0b8838a88af9125b79579023539300a7","tags":[]},{"url":"https://git.kernel.org/stable/c/9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb","tags":[]},{"url":"https://git.kernel.org/stable/c/8703b26387e1fa4f8749db98d24c67617b873acb","tags":[]},{"url":"https://git.kernel.org/stable/c/cdd412b528dee6e0851c4735d6676ec138da13a4","tags":[]},{"url":"https://git.kernel.org/stable/c/b32e40379e5b2814de0c4bc199edc2d82317dc07","tags":[]},{"url":"https://git.kernel.org/stable/c/1f4a08fed450db87fbb5ff5105354158bdbe1a22","tags":[]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.64},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 69d5dc286d05441ca2f854ae8df11201f6f9b706, < 109f0aaa0b8838a88af9125b79579023539300a7",">= 1a462be52f4505a2719631fb5aa7bfdbd37bfd8d, < 9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb",">= 1a462be52f4505a2719631fb5aa7bfdbd37bfd8d, < 8703b26387e1fa4f8749db98d24c67617b873acb",">= 1a462be52f4505a2719631fb5aa7bfdbd37bfd8d, < cdd412b528dee6e0851c4735d6676ec138da13a4",">= 1a462be52f4505a2719631fb5aa7bfdbd37bfd8d, < b32e40379e5b2814de0c4bc199edc2d82317dc07",">= 1a462be52f4505a2719631fb5aa7bfdbd37bfd8d, < 1f4a08fed450db87fbb5ff5105354158bdbe1a22",">= 5.4.43, < 5.4.255"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-01-14T18:06:44.564757Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-59914","exploited":false,"provenance":"source"}}