CVE-2023-53275

ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync()

MEDIUM
5.5
CVSS Score
Published: September 16, 2025 at 08:11 AM UTC
Updated: June 17, 2026 at 06:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() The variable codec->regmap is often protected by the lock codec->regmap_lock when is accessed. However, it is accessed without holding the lock when is accessed in snd_hdac_regmap_sync(): if (codec->regmap) In my opinion, this may be a harmful race, because if codec->regmap is set to NULL right after the condition is checked, a null-pointer dereference can occur in the called function regcache_sync(): map->lock(map->lock_arg); --> Line 360 in drivers/base/regmap/regcache.c To fix this possible null-pointer dereference caused by data race, the mutex_lock coverage is extended to protect the if statement as well as the function call to regcache_sync(). [ Note: the lack of the regmap_lock itself is harmless for the current codec driver implementations, as snd_hdac_regmap_sync() is only for PM runtime resume that is prohibited during the codec probe. But the change makes the whole code more consistent, so it's merged as is -- tiwai ]

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.4.2555.11 ≤ v < 5.15.1285.16 ≤ v < 6.1.475.4.43 ≤ v < 5.4.2555.5 ≤ v < 5.10.1925.6 ≤ v < 5.10.1925.6 ≤ v < 5.15.1285.6 ≤ v < 6.1.475.6 ≤ v < 6.4.125.6 ≤ v < 6.56.2 ≤ v < 6.4.121a462be52f4505a2719631fb5aa7bfdbd37bfd8d5.4.435.669d5dc286d05441ca2f854ae8df11201f6f9b706
Vendor states this is fixed in 109f0aaa0b8838a88af9125b79579023539300a7 (fixed)
Vendor states this is fixed in 1f4a08fed450db87fbb5ff5105354158bdbe1a22 (fixed)
Vendor states this is fixed in 8703b26387e1fa4f8749db98d24c67617b873acb (fixed)
Vendor states this is fixed in 9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb (fixed)
Vendor states this is fixed in b32e40379e5b2814de0c4bc199edc2d82317dc07 (fixed)
Vendor states this is fixed in cdd412b528dee6e0851c4735d6676ec138da13a4 (fixed)
Vendor states this is fixed in 5.10.192 (unaffected)
Vendor states this is fixed in 5.15.128 (unaffected)
Vendor states this is fixed in 5.4.255 (unaffected)
Vendor states this is fixed in 5.6 (unaffected)
Vendor states this is fixed in 6.1.47 (unaffected)
Vendor states this is fixed in 6.4.12 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/109f0aaa0b8838a88af9125b79579023539300a7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1f4a08fed450db87fbb5ff5105354158bdbe1a22
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8703b26387e1fa4f8749db98d24c67617b873acb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9f9eed451176ffcac6b5ba0f6dae1a6b4a1cb0eb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b32e40379e5b2814de0c4bc199edc2d82317dc07
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cdd412b528dee6e0851c4735d6676ec138da13a4

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card